public class CharValidator extends 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
|
String |
isValid(int codePoint)
Is this a valid unicode character as defined by the W3C?
|
String |
isValid(XMLSource source,
int offset)
Verify the character at
|
boolean |
isWhitespace(char c)
Is the character whitespace as defined by the W3C?
|
public String isValid(XMLSource source, int offset)
source
- offset
- public boolean isWhitespace(char c)
public 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)
Copyright © 2008–2014. All rights reserved.