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()
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
|
static void |
main(String[] args) |
checkQNameParts, firstInvalidChar, getPrefix, getQNameParts, isQName, isValidNCName, isValidNmtokenpublic static final Name10Checker theInstance
public static Name10Checker getInstance()
public boolean isValidChar(int ch)
isValidChar in class NameCheckerch - the character to be testedpublic boolean isNCNameChar(int ch)
isNCNameChar in class NameCheckerch - the character to be testedpublic boolean isNCNameStartChar(int ch)
isNCNameStartChar in class NameCheckerch - the character to be testedpublic String getXMLVersion()
getXMLVersion in class NameCheckerpublic static void main(String[] args)
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.