public final class ValidationUtils
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isCDATA(java.lang.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(java.lang.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(java.lang.String str) |
Checks all characters of the given String to determine if they
syntactically match the production of an NMToken.
|
static boolean |
isQName(java.lang.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.
|
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 checkpublic static boolean isLetter(char ch)
ch
- the character to checkpublic static boolean isNCName(java.lang.String str)
str
- the String to checkpublic static boolean isNCNameChar(char ch)
ch
- the char to checkpublic static boolean isNMToken(java.lang.String str)
str
- the String to checkpublic static boolean isCDATA(java.lang.String str)
str
- the String to checkpublic static boolean isExtender(char ch)
ch
- the character to checkpublic static boolean isQName(java.lang.String str)
str
- the String to checkIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com