| |
|
| java.lang.Object net.sf.saxon.om.NameChecker net.sf.saxon.om.Name10Checker
Name10Checker | final public class Name10Checker extends NameChecker (Code) | | The class checks names and characters
against the rules of the XML 1.0 and XML Namespaces 1.0 specification
|
getXMLVersion | public String getXMLVersion()(Code) | | Return the XML version supported by this NameChecker
"1.0" as a string |
isValidChar | public boolean isValidChar(int ch)(Code) | | Test whether a character is a valid XML character
Parameters: ch - the character to be tested true if this is a valid character in the selected version of XML |
isValidNCName | public boolean isValidNCName(String name)(Code) | | Validate whether a given string constitutes a valid NCName, as defined in XML Namespaces.
Parameters: name - the name to be tested true if the name is a lexically-valid NCName |
|
|
|