|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.om.NameChecker net.sf.saxon.om.Name11Checker
public final class Name11Checker
The class checks names against the rules of the XML 1.1 and XML Namespaces 1.1 specification
Field Summary | |
---|---|
static Name11Checker |
theInstance
|
Constructor Summary | |
---|---|
Name11Checker()
|
Method Summary | |
---|---|
static Name11Checker |
getInstance()
Get the singular instance of this class |
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 |
Methods inherited from class net.sf.saxon.om.NameChecker |
---|
checkQNameParts, firstInvalidChar, getPrefix, getQNameParts, isQName, isValidNCName, isValidNmtoken |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Name11Checker theInstance
Constructor Detail |
---|
public Name11Checker()
Method Detail |
---|
public static Name11Checker getInstance()
public boolean isValidChar(int ch)
isValidChar
in class NameChecker
ch
- the character to be tested
public boolean isNCNameChar(int ch)
isNCNameChar
in class NameChecker
ch
- the character to be tested
public boolean isNCNameStartChar(int ch)
isNCNameStartChar
in class NameChecker
ch
- the character to be tested
public String getXMLVersion()
getXMLVersion
in class NameChecker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |