Package com.icl.saxon.om
Class Name
java.lang.Object
com.icl.saxon.om.Name
This class, a remnant of its former self, exists to contain some static methods
for validating the syntax of names.
- Author:
- Michael H. Kay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final String
getLocalName
(String qname) Extract the local name from a QName.static final String
Extract the prefix from a QName.static boolean
Validate whether a given string constitutes a valid NCName, as defined in XML Namespacesstatic boolean
Validate whether a given string constitutes a valid QName, as defined in XML Namespaces
-
Constructor Details
-
Name
public Name()
-
-
Method Details
-
isNCName
Validate whether a given string constitutes a valid NCName, as defined in XML Namespaces -
isQName
Validate whether a given string constitutes a valid QName, as defined in XML Namespaces -
getPrefix
Extract the prefix from a QName. Note, the QName is assumed to be valid. -
getLocalName
Extract the local name from a QName. The QName is assumed to be valid.
-