|
||||||||||
| 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 |
isFirstLetter(int ch)
Checks if the specified character is an XML first-letter. |
static boolean |
isLetterOrDigit(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 |
isNCName(byte[] v)
Checks if the specified token is a valid NCName. |
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 |
isXMLLetter(int ch)
Checks if the specified character is an XML letter. |
static boolean |
isXMLLetterOrDigit(int ch)
Checks if the specified character is an XML letter. |
static boolean |
valid(long ch)
Checks if the specified character is a valid XML character. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean valid(long ch)
ch - the letter to be checked
public static boolean isXMLLetter(int ch)
ch - character
public static boolean isXMLLetterOrDigit(int ch)
ch - character
public static boolean isFirstLetter(int ch)
ch - the letter to be checked
public static boolean isLetterOrDigit(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 | |||||||||