public final class XMLChar extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNameChar(char c)
Determine if the given character matches the
NameChar
production in the XML specification. |
static boolean |
isNameStartChar(char c)
Determine if the given character matches the
NameStartChar
production in the XML specification. |
static boolean |
isWhitespace(char c)
Determine if the given character is whitespace according to the XML specification.
|
public static boolean isWhitespace(char c)
c - the character to examinetrue if the character is whitespace, false otherwisepublic static boolean isNameStartChar(char c)
NameStartChar
production in the XML specification.c - the character to examinetrue if the character is name start char, false otherwisepublic static boolean isNameChar(char c)
NameChar
production in the XML specification.c - the character to examinetrue if the character is name char, false otherwiseCopyright © The Apache Software Foundation. All Rights Reserved.