public class XMLNameValidator
extends java.lang.Object
| Constructor and Description |
|---|
XMLNameValidator() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidGanymedeName(java.lang.String text)
Returns true if text can be used as a Ganymede object type or
field name.
|
static boolean |
isValidNameChar(int codePoint)
Returns true if codePoint is a valid character for a character
after the first in a name (element name or attribute name) in XML
1.1 or XML 1.0 (revision 5).
|
static boolean |
isValidNameStartChar(int codePoint)
Returns true if codePoint is a valid character to start a name
(element name or attribute name) in XML 1.1 or XML 1.0 (revision
5).
|
static boolean |
isValidXMLName(java.lang.String text)
Returns true if text is a valid name for element name or
attribute name in XML 1.1 or XML 1.0 (revision 5)
|
public static boolean isValidNameStartChar(int codePoint)
public static boolean isValidNameChar(int codePoint)
public static boolean isValidXMLName(java.lang.String text)
public static boolean isValidGanymedeName(java.lang.String text)