public final class Name10Checker extends NameChecker
Modifier and Type | Field and Description |
---|---|
static Name10Checker |
theInstance |
Constructor and Description |
---|
Name10Checker() |
Modifier and Type | Method and Description |
---|---|
static Name10Checker |
getInstance() |
java.lang.String |
getXMLVersion()
Return the XML version supported by this NameChecker
|
boolean |
isValidChar(int ch)
Test whether a character is a valid XML character
|
boolean |
isValidNCName(java.lang.String name)
Validate whether a given string constitutes a valid NCName, as defined in XML Namespaces.
|
getPrefix, getQNameParts, isQName
public static final Name10Checker theInstance
public static final Name10Checker getInstance()
public boolean isValidNCName(java.lang.String name)
isValidNCName
in class NameChecker
name
- the name to be testedpublic boolean isValidChar(int ch)
isValidChar
in class NameChecker
ch
- the character to be testedpublic java.lang.String getXMLVersion()
getXMLVersion
in class NameChecker