Class JAXPNamespaceContext
- java.lang.Object
-
- org.eclipse.persistence.platform.xml.jaxp.JAXPNamespaceContext
-
- All Implemented Interfaces:
javax.xml.namespace.NamespaceContext
public class JAXPNamespaceContext extends java.lang.Object implements javax.xml.namespace.NamespaceContext
Purpose: Wrap a org.eclipse.persistence.platform.xml.XMLNamespaceResolver and expose it as a javax.xml.namespace.NamespaceContext.
-
-
Constructor Summary
Constructors Constructor Description JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
JAXPNamespaceContext
public JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver)
-
-
Method Detail
-
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
- Specified by:
getNamespaceURI
in interfacejavax.xml.namespace.NamespaceContext
-
getPrefix
public java.lang.String getPrefix(java.lang.String namespaceURI)
- Specified by:
getPrefix
in interfacejavax.xml.namespace.NamespaceContext
-
getPrefixes
public java.util.Iterator getPrefixes(java.lang.String namespaceURI)
- Specified by:
getPrefixes
in interfacejavax.xml.namespace.NamespaceContext
-
-