|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.om.Name
public abstract class Name
This class exists to contain some static methods for validating the syntax of names.
Constructor Summary | |
---|---|
Name()
|
Method Summary | |
---|---|
static String |
getPrefix(String qname)
Extract the prefix from a QName. |
static String[] |
getQNameParts(String qname)
Validate a QName, and return the prefix and local name. |
static boolean |
isQName(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(String name)
name
- the name to be tested
public static final String getPrefix(String qname)
qname
- The lexical QName whose prefix is required
public static final String[] getQNameParts(String 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 |