com.atlassian.crowd.util.xml
Class XmlValidator

java.lang.Object
  extended by com.atlassian.crowd.util.xml.XmlValidator

public class XmlValidator
extends java.lang.Object

Created by IntelliJ IDEA. User: S. Hamid Date: Feb 19, 2007 Time: 4:46:04 PM To change this template use File | Settings | File Templates.


Constructor Summary
XmlValidator()
           
 
Method Summary
static boolean isSafe(java.lang.String s)
          Verifies whether a string consists solely of valid XML characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlValidator

public XmlValidator()
Method Detail

isSafe

public static boolean isSafe(java.lang.String s)
Verifies whether a string consists solely of valid XML characters.

Returns:
false if there are any invalid XML characters in the string.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.