|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.XMLToken
public final class XMLToken
This class provides convenience operations for XML-specific character operations.
Method Summary | |
---|---|
static boolean |
isChar(int ch)
Checks if the specified character is an XML letter. |
static boolean |
isName(byte[] v)
Checks if the specified token is a valid name. |
static boolean |
isNCChar(int ch)
Checks if the specified character is an XML letter. |
static boolean |
isNCName(byte[] v)
Checks if the specified token is a valid NCName. |
static boolean |
isNCStartChar(int ch)
Checks if the specified character is a name start character, as required e.g. |
static boolean |
isNMToken(byte[] v)
Checks if the specified token is a valid NMToken. |
static boolean |
isQName(byte[] val)
Checks if the specified token is a valid QName. |
static boolean |
isStartChar(int ch)
Checks if the specified character is an XML first-letter. |
static boolean |
valid(int ch)
Checks if the specified character is a valid XML 1.0 character. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean valid(int ch)
ch
- the letter to be checked
public static boolean isNCStartChar(int ch)
ch
- character
public static boolean isNCChar(int ch)
ch
- character
public static boolean isStartChar(int ch)
ch
- the letter to be checked
public static boolean isChar(int ch)
ch
- the letter to be checked
public static boolean isNCName(byte[] v)
v
- value to be checked
public static boolean isName(byte[] v)
v
- value to be checked
public static boolean isNMToken(byte[] v)
v
- value to be checked
public static boolean isQName(byte[] val)
val
- value to be checked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |