Package com.icl.saxon.om
Class Name
- java.lang.Object
-
- com.icl.saxon.om.Name
-
public abstract class Name extends Object
This class, a remnant of its former self, exists to contain some static methods for validating the syntax of names.
-
-
Constructor Summary
Constructors Constructor Description Name()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetLocalName(String qname)Extract the local name from a QName.static StringgetPrefix(String qname)Extract the prefix from a QName.static booleanisNCName(String name)Validate whether a given string constitutes a valid NCName, as defined in XML Namespacesstatic booleanisQName(String name)Validate whether a given string constitutes a valid QName, as defined in XML Namespaces
-
-
-
Method Detail
-
isNCName
public static boolean isNCName(String name)
Validate whether a given string constitutes a valid NCName, as defined in XML Namespaces
-
isQName
public static boolean isQName(String name)
Validate whether a given string constitutes a valid QName, as defined in XML Namespaces
-
getPrefix
public static final String getPrefix(String qname)
Extract the prefix from a QName. Note, the QName is assumed to be valid.
-
-