public final class Name11Checker extends NameChecker
| Modifier and Type | Field and Description |
|---|---|
static Name11Checker |
theInstance |
| Constructor and Description |
|---|
Name11Checker() |
| Modifier and Type | Method and Description |
|---|---|
static Name11Checker |
getInstance()
Get the singular instance of this class
|
java.lang.String |
getXMLVersion()
Return the XML version supported by this NameChecker
|
boolean |
isNCNameChar(int ch)
Test whether a character can appear in an NCName
|
boolean |
isNCNameStartChar(int ch)
Test whether a character can appear at the start of an NCName
|
boolean |
isValidChar(int ch)
Test whether a character is a valid XML character
|
checkQNameParts, firstInvalidChar, getPrefix, getQNameParts, isQName, isValidNCName, isValidNmtokenpublic static final Name11Checker theInstance
public static Name11Checker getInstance()
public boolean isValidChar(int ch)
isValidChar in class NameCheckerch - the character to be testedpublic boolean isNCNameChar(int ch)
isNCNameChar in class NameCheckerch - the character to be testedpublic boolean isNCNameStartChar(int ch)
isNCNameStartChar in class NameCheckerch - the character to be testedpublic java.lang.String getXMLVersion()
getXMLVersion in class NameChecker