public final class Name10Checker extends NameChecker
Modifier and Type | Field | Description |
---|---|---|
static Name10Checker |
theInstance |
Constructor | Description |
---|---|
Name10Checker() |
Modifier and Type | Method | Description |
---|---|---|
static Name10Checker |
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
|
static void |
main(java.lang.String[] args) |
checkQNameParts, getPrefix, getQNameParts, isQName, isValidNCName, isValidNmtoken
public static final Name10Checker theInstance
public static Name10Checker 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
public static void main(java.lang.String[] args)