org.jaxen.saxpath.base
Class Verifier
java.lang.Object
org.jaxen.saxpath.base.Verifier
(package private) final class Verifier
extends java.lang.Object
A utility class to handle well-formedness checks on names.
- Brett McLaughlin
- Elliotte Rusty Harold
- Jason Hunter
- Bradley S. Huffman
(package private) static boolean | isXMLCombiningChar(char c) - Determine whether a specified character
is a combining character according to production 87
of the XML 1.0 specification.
|
(package private) static boolean | isXMLDigit(char c) - Determine whether a specified Unicode character
is a digit according to production 88 of the XML 1.0 specification.
|
(package private) static boolean | isXMLExtender(char c) - Determine whether a specified
character is an extender according to production 88 of the XML 1.0
specification.
|
(package private) static boolean | isXMLLetter(char c) - Determine whether a specified character
is a letter according to production 84 of the XML 1.0 specification.
|
(package private) static boolean | isXMLNCNameCharacter(char c) - This is a utility function for determining whether a specified
character is a name character according to production 4 of the
XML 1.0 specification.
|
(package private) static boolean | isXMLNCNameStartCharacter(char c) - This is a utility function for determining whether a specified
character is a legal name start character according to production 5
of the XML 1.0 specification.
|
isXMLCombiningChar
(package private) static boolean isXMLCombiningChar(char c)
Determine whether a specified character
is a combining character according to production 87
of the XML 1.0 specification.
boolean
true if it's a combining character,
false otherwise
isXMLDigit
(package private) static boolean isXMLDigit(char c)
Determine whether a specified Unicode character
is a digit according to production 88 of the XML 1.0 specification.
c
- char
to check for XML digit compliance
boolean
true if it's a digit, false otherwise
isXMLExtender
(package private) static boolean isXMLExtender(char c)
Determine whether a specified
character is an extender according to production 88 of the XML 1.0
specification.
- true if it's an extender, false otherwise
isXMLLetter
(package private) static boolean isXMLLetter(char c)
Determine whether a specified character
is a letter according to production 84 of the XML 1.0 specification.
c
- char
to check for XML name compliance
String
true if it's a letter, false otherwise
isXMLNCNameCharacter
(package private) static boolean isXMLNCNameCharacter(char c)
This is a utility function for determining whether a specified
character is a name character according to production 4 of the
XML 1.0 specification.
c
- char
to check for XML name compliance.
boolean
true if it's a name character,
false otherwise
isXMLNCNameStartCharacter
(package private) static boolean isXMLNCNameStartCharacter(char c)
This is a utility function for determining whether a specified
character is a legal name start character according to production 5
of the XML 1.0 specification. This production does allow names
to begin with colons which the Namespaces in XML Recommendation
disallows.
c
- char
to check for XML name start compliance
- true if it's a name start character, false otherwise