public final class JDOMNamespaceContext
extends java.lang.Object
implements javax.xml.namespace.NamespaceContext
NamespaceContext
that describes namespaces found
in a JDOM node.Constructor and Description |
---|
JDOMNamespaceContext(Namespace[] namespaces)
Create a read-only representation of the input namespace list.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
java.lang.String |
getPrefix(java.lang.String namespaceURI) |
java.util.Iterator |
getPrefixes(java.lang.String namespaceURI) |
public JDOMNamespaceContext(Namespace[] namespaces)
namespaces
- the Namespace instances to represent.public java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI
in interface javax.xml.namespace.NamespaceContext
public java.lang.String getPrefix(java.lang.String namespaceURI)
getPrefix
in interface javax.xml.namespace.NamespaceContext
public java.util.Iterator getPrefixes(java.lang.String namespaceURI)
getPrefixes
in interface javax.xml.namespace.NamespaceContext
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.