Static Public Member Functions

org.exolab.castor.xml.validators.ValidationUtils Class Reference

List of all members.

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)

Detailed Description

A class for performing simple validation

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:52

Member Function Documentation

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

Parameters:
str the String to check
Returns:
true if the given String follows the Syntax of an NMToken
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

Returns:
true if the given character is a CombiningChar

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]
Parameters:
ch the character to check
Returns:
true if the given character is a digit

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

Parameters:
ch the character to check
Returns:
true if the character is a valid XML Extender character

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]
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

Parameters:
str the String to check
Returns:
true if the given String follows the Syntax of an NCName

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]
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

Parameters:
str the String to check
Returns:
true if the given String follows the Syntax of an NMToken

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

Parameters:
str the String to check
Returns:
true if the given String follows the Syntax of an QName

References org.exolab.castor.xml.validators.ValidationUtils.isLetter(), and org.exolab.castor.xml.validators.ValidationUtils.isNCNameChar().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties