Package org.jdom2.util
Class JDOMNamespaceContext
java.lang.Object
org.jdom2.util.JDOMNamespaceContext
- All Implemented Interfaces:
NamespaceContext
A Read-Only
NamespaceContext
that describes namespaces found
in a JDOM node.- Author:
- gordon burgett https://github.com/gburgett
-
Constructor Summary
ConstructorsConstructorDescriptionJDOMNamespaceContext
(Namespace[] namespaces) Create a read-only representation of the input namespace list. -
Method Summary
Modifier and TypeMethodDescriptiongetNamespaceURI
(String prefix) getPrefixes
(String namespaceURI)
-
Constructor Details
-
JDOMNamespaceContext
Create a read-only representation of the input namespace list.- Parameters:
namespaces
- the Namespace instances to represent.
-
-
Method Details
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceNamespaceContext
-
getPrefix
- Specified by:
getPrefix
in interfaceNamespaceContext
-
getPrefixes
- Specified by:
getPrefixes
in interfaceNamespaceContext
-