|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.sf.saxon.om.Name
This class exists to contain some static methods for validating the syntax of names.
| Constructor Summary | |
Name()
|
|
| Method Summary | |
static java.lang.String |
getPrefix(java.lang.String qname)
Extract the prefix from a QName. |
static java.lang.String[] |
getQNameParts(java.lang.CharSequence qname)
Validate a QName, and return the prefix and local name. |
static boolean |
isQName(java.lang.String name)
Validate whether a given string constitutes a valid QName, as defined in XML Namespaces. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Name()
| Method Detail |
public static final boolean isQName(java.lang.String name)
name - the name to be tested
public static final java.lang.String getPrefix(java.lang.String qname)
qname - The lexical QName whose prefix is required
public static final java.lang.String[] getQNameParts(java.lang.CharSequence qname)
throws QNameException
qname - the lexical QName whose parts are required
QNameException - if not a valid QName.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||