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() |
|
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 Name11Checker theInstance
public static final Name11Checker 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