public class CharValidator
extends java.lang.Object
Constructor and Description |
---|
CharValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isBaseChar(char c) |
boolean |
isCombiningChar(char c) |
boolean |
isDigit(char c) |
boolean |
isExtender(char c) |
boolean |
isIdeographic(char c) |
boolean |
isLetter(char c) |
boolean |
isNameChar(char c)
Return true if the character is valid inside of an XML name
|
boolean |
isNameStartChar(char c)
Return true if the character is valid as the first one of an XML name
|
java.lang.String |
isValid(int codePoint)
Is this a valid unicode character as defined by the W3C?
|
java.lang.String |
isValid(XMLSource source,
int offset)
Verify the character at
|
boolean |
isWhitespace(char c)
Is the character whitespace as defined by the W3C?
|
public java.lang.String isValid(XMLSource source, int offset)
source
- offset
- public boolean isWhitespace(char c)
public java.lang.String isValid(int codePoint)
public boolean isNameStartChar(char c)
public boolean isNameChar(char c)
public boolean isLetter(char c)
public boolean isBaseChar(char c)
public boolean isIdeographic(char c)
public boolean isDigit(char c)
public boolean isCombiningChar(char c)
public boolean isExtender(char c)