Static Public Member Functions | |
static boolean | isCombiningChar (char ch) |
static boolean | isDigit (char ch) |
static boolean | isLetter (char ch) |
static boolean | isNCName (String str) |
static boolean | isNCNameChar (char ch) |
static boolean | isNMToken (String str) |
static boolean | isCDATA (String str) |
static boolean | isExtender (char ch) |
static boolean | isQName (String str) |
A class for performing simple validation
static boolean org.exolab.castor.xml.validators.ValidationUtils.isCDATA | ( | String | str | ) | [static] |
Checks the characters of the given String to determine if they syntactically match the production of a CDATA
str | the String to check |
static boolean org.exolab.castor.xml.validators.ValidationUtils.isCombiningChar | ( | char | ch | ) | [static] |
Checks the given character to determine if it is a valid CombiningChar as defined by the W3C XML 1.0 Recommendation
Referenced by org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar(), and org.exolab.castor.xml.validators.ValidationUtils.isNMToken().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isDigit | ( | char | ch | ) | [static] |
ch | the character to check |
Referenced by org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar(), and org.exolab.castor.xml.validators.ValidationUtils.isNMToken().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isExtender | ( | char | ch | ) | [static] |
Returns true if the given character is a valid XML Extender character, according to the XML 1.0 specification
ch | the character to check |
Referenced by org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar(), and org.exolab.castor.xml.validators.ValidationUtils.isNMToken().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isLetter | ( | char | ch | ) | [static] |
ch | the character to check |
Referenced by org.exolab.castor.xml.validators.ValidationUtils.isNCName(), org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar(), org.exolab.castor.xml.validators.ValidationUtils.isNMToken(), and org.exolab.castor.xml.validators.ValidationUtils.isQName().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isNCName | ( | String | str | ) | [static] |
Checks the characters of the given String to determine if they syntactically match the production of an NCName as defined by the W3C XML Namespaces recommendation
str | the String to check |
References org.exolab.castor.xml.validators.ValidationUtils.isLetter(), and org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar | ( | char | ch | ) | [static] |
Checks the the given character to determine if it is a valid NCNameChar as defined by the W3C XML Namespaces recommendation
ch | the char to check |
References org.exolab.castor.xml.validators.ValidationUtils.isCombiningChar(), org.exolab.castor.xml.validators.ValidationUtils.isDigit(), org.exolab.castor.xml.validators.ValidationUtils.isExtender(), and org.exolab.castor.xml.validators.ValidationUtils.isLetter().
Referenced by org.exolab.castor.xml.validators.ValidationUtils.isNCName(), and org.exolab.castor.xml.validators.ValidationUtils.isQName().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isNMToken | ( | String | str | ) | [static] |
Checks the characters of the given String to determine if they syntactically match the production of an NMToken
str | the String to check |
References org.exolab.castor.xml.validators.ValidationUtils.isCombiningChar(), org.exolab.castor.xml.validators.ValidationUtils.isDigit(), org.exolab.castor.xml.validators.ValidationUtils.isExtender(), and org.exolab.castor.xml.validators.ValidationUtils.isLetter().
static boolean org.exolab.castor.xml.validators.ValidationUtils.isQName | ( | String | str | ) | [static] |
Checks the characters of the given String to determine if they syntactically match the production of an QName as defined by the W3C XML Namespaces recommendation
str | the String to check |
References org.exolab.castor.xml.validators.ValidationUtils.isLetter(), and org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar().