javax.xml.namespace
2 classes of the module java.xml.
Load them with:
using {
"javax.xml.namespace"
}
NamespaceContext#
interface · javax.xml.namespace.NamespaceContext
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getNamespaceURI | getNamespaceURI(prefix) | String getNamespaceURI(String prefix) |
getPrefix | getPrefix(namespaceURI) | String getPrefix(String namespaceURI) |
getPrefixes | getPrefixes(namespaceURI) | Iterator getPrefixes(String namespaceURI) |
QName#
class · extends Object · javax.xml.namespace.QName
Implements: Serializable
Constructors
new QName(String localPart) |
new QName(String namespaceURI, String localPart) |
new QName(String namespaceURI, String localPart, String prefix) |
Ring: new QName(args) uses the constructor with the fewest parameters (at least one); new QName makes the object with the constructor without parameters; the others: (new QName).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLocalPart | getLocalPart() | String getLocalPart() |
getNamespaceURI | getNamespaceURI() | String getNamespaceURI() |
getPrefix | getPrefix() | String getPrefix() |
valueOf | valueOf(qNameAsString) | static QName valueOf(String qNameAsString) |
The methods and fields of Object are inherited.