| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: String reason name is illegal, or
null if name is OK.String name to check.This will check the supplied name to see if it is legal for use as
a JDOM |
| public static String | Returns: String reason data is illegal, or
null is name is OK.String data to check.This will check the supplied data to see if it is legal for use as
JDOM |
| public static String | Returns: String reason name is illegal, or
null if name is OK.String value to check.This will check the supplied string to see if it only contains characters allowed by the XML 1.0 specification. |
| public static String | Returns: String reason data is illegal, or
null if data is OK.String data to check.This will check the supplied data to see if it is legal for use as
JDOM |
| public static String | Returns: String reason name is illegal, or
null if name is OK.String name to check.This will check the supplied name to see if it is legal for use as
a JDOM |
| public static String | Returns: String reason for collision, or
null if no collision.Namespace to check.Namespace to check against.Check if two namespaces collide. |
| public static String | Returns: String reason for collision, or
null if no collision.Attribute to check.Element to check against.Check if |
| public static String | Returns: String reason for collision, or
null if no collision.Namespace to check.Element to check against. |
| public static String | Returns: String reason for collision, or
null if no collision.Namespace to check.Attribute to check against. |
| public static String | Returns: String reason for collision, or
null if no collision.Namespace to check.List to check against.Check if a |
| public static String | Returns: String reason name is illegal, or
null if name is OK.String prefix to check.This will check the supplied name to see if it is legal for use as
a JDOM |
| public static String | Returns: String reason name is illegal, or
null if name is OK.String URI to check.This will check the supplied name to see if it is legal for use as
a JDOM |
| public static String | Returns: String reason data is illegal, or
null if data is OK.String data to check.This will check the supplied data to see if it is legal for use as
|
| public static String | Returns: String reason target is illegal, or
null if target is OK.String target to check.This will check the supplied data to see if it is legal for use as
a JDOM |
| public static String | Returns: String reason public ID is illegal, or
null if public ID is OK.String public ID to check.This will ensure that the data for a public identifier is legal. |
| public static String | Returns: String reason system literal is illegal, or
null if system literal is OK.String system literal to check.This will ensure that the data for a system literal is legal. |
| public static String | |
| public static String | Returns: String reason the name is illegal, or
null if OK.String to check for XML name compliance.This is a utility function for sharing the base process of checking any XML name. |
| public static int | Returns: decoded characterhigh 16 bits high, char low 16 bits low)This is a utility function to decode a non-BMP UTF-16 surrogate pair. |
| public static boolean | Returns: true if it's allowed, false otherwise.to check for hex digit. c)This is a utility function for determining whether a specified Unicode character is a hexadecimal digit as defined in RFC 2396; that is, one of the ASCII characters 0-9, a-f, or A-F. |
| public static boolean | Returns: true if the character is a high surrogate, false otherwisecharacter to check ch)This is a function for determining whether the specified character is the high 16 bits in a UTF-16 surrogate pair. |
| public static boolean | Returns: true if the character is a low surrogate, false otherwise.character to check ch)This is a function for determining whether the specified character is the low 16 bits in a UTF-16 surrogate pair. |
| public static boolean | Returns: true if it's allowed, false otherwise.char to check for URI reference compliance.This is a utility function for determining whether a specified Unicode character is legal in URI references as determined by RFC 2396. |
| public static boolean | Returns: boolean true if it's a character,
false otherwisechar to check for XML complianceThis is a utility function for determining whether a specified character is a character according to production 2 of the XML 1.0 specification. |
| public static boolean | Returns: boolean true if it's a combining character,
false otherwise.char to check.This is a utility function for determining whether a specified character is a combining character according to production 87 of the XML 1.0 specification. |
| public static boolean | Returns: boolean true if it's a digit, false otherwisechar to check for XML digit complianceThis is a utility function for determining whether a specified Unicode character is a digit according to production 88 of the XML 1.0 specification. |
| public static boolean | Returns: String true if it's an extender, false otherwise.char to check.This is a utility function for determining whether a specified character is an extender according to production 88 of the XML 1.0 specification. |
| public static boolean | Returns: String true if it's a letter, false otherwise.char to check for XML name compliance.This is a utility function for determining whether a specified character is a letter according to production 84 of the XML 1.0 specification. |
| public static boolean | Returns: boolean true if it's letter or digit,
false otherwise.char to check.This is a utility function for determining whether a specified character is a letter or digit according to productions 84 and 88 of the XML 1.0 specification. |
| public static boolean | Returns: boolean true if it's a name character,
false otherwise.char to check for XML name compliance.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. |
| public static boolean | Returns: boolean true if it's a name start character,
false otherwise.char to check for XML name start compliance.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. |
| public static boolean | |
| public static boolean | Returns: boolean true if it's a whitespace, false otherwisechar to check for XML whitespace complianceThis is a utility function for determining whether a specified Unicode character is a whitespace character according to production 3 of the XML 1.0 specification. |
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| Verifier | back to summary |
|---|---|
| private Verifier() Ensure instantation cannot occur. | |
| checkAttributeName | back to summary |
|---|---|
| public static String checkAttributeName(String name) This will check the supplied name to see if it is legal for use as
a JDOM | |
| checkCDATASection | back to summary |
|---|---|
| public static String checkCDATASection(String data) This will check the supplied data to see if it is legal for use as
JDOM | |
| checkCharacterData | back to summary |
|---|---|
| public static String checkCharacterData(String text) This will check the supplied string to see if it only contains characters allowed by the XML 1.0 specification. The C0 controls (e.g. null, vertical tab, formfeed, etc.) are specifically excluded except for carriage return, linefeed, and the horizontal tab. Surrogates are also excluded. This method is useful for checking element content and attribute values. Note that characters like " and < are allowed in attribute values and element content. They will simply be escaped as " or < when the value is serialized. | |
| checkCommentData | back to summary |
|---|---|
| public static String checkCommentData(String data) This will check the supplied data to see if it is legal for use as
JDOM | |
| checkElementName | back to summary |
|---|---|
| public static String checkElementName(String name) This will check the supplied name to see if it is legal for use as
a JDOM | |
| checkNamespaceCollision | back to summary |
|---|---|
| public static String checkNamespaceCollision(Namespace namespace, Namespace other) Check if two namespaces collide. | |
| checkNamespaceCollision | back to summary |
|---|---|
| public static String checkNamespaceCollision(Attribute attribute, Element element) Check if | |
| checkNamespaceCollision | back to summary |
|---|---|
| public static String checkNamespaceCollision(Namespace namespace, Element element) | |
| checkNamespaceCollision | back to summary |
|---|---|
| public static String checkNamespaceCollision(Namespace namespace, Attribute attribute) | |
| checkNamespaceCollision | back to summary |
|---|---|
| public static String checkNamespaceCollision(Namespace namespace, List<E> list) Check if a | |
| checkNamespacePrefix | back to summary |
|---|---|
| public static String checkNamespacePrefix(String prefix) This will check the supplied name to see if it is legal for use as
a JDOM | |
| checkNamespaceURI | back to summary |
|---|---|
| public static String checkNamespaceURI(String uri) This will check the supplied name to see if it is legal for use as
a JDOM | |
| checkProcessingInstructionData | back to summary |
|---|---|
| public static String checkProcessingInstructionData(String data) This will check the supplied data to see if it is legal for use as
| |
| checkProcessingInstructionTarget | back to summary |
|---|---|
| public static String checkProcessingInstructionTarget(String target) This will check the supplied data to see if it is legal for use as
a JDOM | |
| checkPublicID | back to summary |
|---|---|
| public static String checkPublicID(String publicID) This will ensure that the data for a public identifier is legal. | |
| checkSystemLiteral | back to summary |
|---|---|
| public static String checkSystemLiteral(String systemLiteral) This will ensure that the data for a system literal is legal. | |
| checkURI | back to summary |
|---|---|
| public static String checkURI(String uri) Checks a string to see if it is a legal RFC 2396 URI. Both absolute and relative URIs are supported. | |
| checkXMLName | back to summary |
|---|---|
| public static String checkXMLName(String name) This is a utility function for sharing the base process of checking any XML name. | |
| decodeSurrogatePair | back to summary |
|---|---|
| public static int decodeSurrogatePair(char high, char low) This is a utility function to decode a non-BMP UTF-16 surrogate pair.
| |
| isHexDigit | back to summary |
|---|---|
| public static boolean isHexDigit(char c) This is a utility function for determining whether a specified Unicode character is a hexadecimal digit as defined in RFC 2396; that is, one of the ASCII characters 0-9, a-f, or A-F.
| |
| isHighSurrogate | back to summary |
|---|---|
| public static boolean isHighSurrogate(char ch) This is a function for determining whether the specified character is the high 16 bits in a UTF-16 surrogate pair.
| |
| isLowSurrogate | back to summary |
|---|---|
| public static boolean isLowSurrogate(char ch) This is a function for determining whether the specified character is the low 16 bits in a UTF-16 surrogate pair.
| |
| isURICharacter | back to summary |
|---|---|
| public static boolean isURICharacter(char c) This is a utility function for determining whether a specified Unicode character is legal in URI references as determined by RFC 2396.
| |
| isXMLCharacter | back to summary |
|---|---|
| public static boolean isXMLCharacter(int c) This is a utility function for determining whether a specified character is a character according to production 2 of the XML 1.0 specification.
| |
| isXMLCombiningChar | back to summary |
|---|---|
| public static boolean isXMLCombiningChar(char c) This is a utility function for determining whether a specified character is a combining character according to production 87 of the XML 1.0 specification.
| |
| isXMLDigit | back to summary |
|---|---|
| public static boolean isXMLDigit(char c) This is a utility function for determining whether a specified Unicode character is a digit according to production 88 of the XML 1.0 specification.
| |
| isXMLExtender | back to summary |
|---|---|
| public static boolean isXMLExtender(char c) This is a utility function for determining whether a specified character is an extender according to production 88 of the XML 1.0 specification.
| |
| isXMLLetter | back to summary |
|---|---|
| public static boolean isXMLLetter(char c) This is a utility function for determining whether a specified character is a letter according to production 84 of the XML 1.0 specification.
| |
| isXMLLetterOrDigit | back to summary |
|---|---|
| public static boolean isXMLLetterOrDigit(char c) This is a utility function for determining whether a specified character is a letter or digit according to productions 84 and 88 of the XML 1.0 specification.
| |
| isXMLNameCharacter | back to summary |
|---|---|
| public static boolean isXMLNameCharacter(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.
| |
| isXMLNameStartCharacter | back to summary |
|---|---|
| public static boolean isXMLNameStartCharacter(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.
| |
| isXMLPublicIDCharacter | back to summary |
|---|---|
| public static boolean isXMLPublicIDCharacter(char c) | |
| isXMLWhitespace | back to summary |
|---|---|
| public static boolean isXMLWhitespace(char c) This is a utility function for determining whether a specified Unicode character is a whitespace character according to production 3 of the XML 1.0 specification.
| |