public final class Name11Checker extends NameChecker
Modifier and Type | Field and Description |
---|---|
static Name11Checker |
theInstance |
Constructor and Description |
---|
Name11Checker() |
Modifier and Type | Method and Description |
---|---|
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
|
checkQNameParts, firstInvalidChar, getPrefix, getQNameParts, isQName, isValidNCName, isValidNmtoken
public static final Name11Checker theInstance
public static Name11Checker 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 String getXMLVersion()
getXMLVersion
in class NameChecker
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.