java.io.Serializable
public final class Name11Checker extends NameChecker
Modifier and Type | Field | Description |
---|---|---|
static Name11Checker |
theInstance |
Constructor | Description |
---|---|
Name11Checker() |
Modifier and Type | Method | 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, isValidNmtoken
public static final Name11Checker theInstance
public static Name11Checker getInstance()
public boolean isValidChar(int ch)
isValidChar
in class NameChecker
ch
- the character to be testedpublic boolean isNCNameChar(int ch)
isNCNameChar
in class NameChecker
ch
- the character to be testedpublic boolean isNCNameStartChar(int ch)
isNCNameStartChar
in class NameChecker
ch
- the character to be testedpublic java.lang.String getXMLVersion()
getXMLVersion
in class NameChecker