|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.validators.ValidationUtils
public final class ValidationUtils
A static class for performing simple validation.
| Method Summary | |
|---|---|
static boolean |
isCDATA(String str)
Checks all characters of the given String to determine if they syntactically match the production of a CDATA. |
static boolean |
isCombiningChar(char ch)
Checks the given character to determine if it is a valid CombiningChar as defined by the W3C XML 1.0 Recommendation. |
static boolean |
isDigit(char ch)
Checks a character to see if it is a digit or not. |
static boolean |
isExtender(char ch)
Returns true if the given character is a valid XML Extender character, according to the XML 1.0 specification. |
static boolean |
isLetter(char ch)
Checks a character to see if it is a letter or not. |
static boolean |
isNCName(String str)
Checks all characters of the given String to determine if they syntactically match the production of an NCName as defined by the W3C XML Namespaces recommendation. |
static boolean |
isNCNameChar(char ch)
Checks the the given character to determine if it is a valid NCNameChar as defined by the W3C XML Namespaces recommendation. |
static boolean |
isNMToken(String str)
Checks all characters of the given String to determine if they syntactically match the production of an NMToken. |
static boolean |
isQName(String str)
Checks all characters of the given String to determine if they syntactically match the production of an QName as defined by the W3C XML Namespaces recommendation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isCombiningChar(char ch)
FIXME: This method needs to be properly implemented.
ch - THe character to check.
public static boolean isDigit(char ch)
ch - the character to check
public static boolean isLetter(char ch)
ch - the character to check
public static boolean isNCName(String str)
str - the String to check
public static boolean isNCNameChar(char ch)
ch - the char to check
public static boolean isNMToken(String str)
str - the String to check
public static boolean isCDATA(String str)
str - the String to check
public static boolean isExtender(char ch)
ch - the character to check
public static boolean isQName(String str)
str - the String to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||