|
|||||||
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.Name10Checker
public final class Name10Checker
The class checks names and characters against the rules of the XML 1.0 and XML Namespaces 1.0 specification
Field Summary | |
---|---|
static Name10Checker |
theInstance
|
Constructor Summary | |
---|---|
Name10Checker()
|
Method Summary | |
---|---|
static Name10Checker |
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, getPrefix, getQNameParts, isQName, isValidNCName, isValidNmtoken |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Name10Checker theInstance
Constructor Detail |
---|
public Name10Checker()
Method Detail |
---|
public static Name10Checker 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 |