org.eclipse.persistence.platform.xml.jaxp
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.
Method Summary |
java.lang.String |
getNamespaceURI(java.lang.String prefix)
|
java.lang.String |
getPrefix(java.lang.String namespaceURI)
|
java.util.Iterator |
getPrefixes(java.lang.String namespaceURI)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXPNamespaceContext
public JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver)
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
- Specified by:
getNamespaceURI
in interface javax.xml.namespace.NamespaceContext
getPrefix
public java.lang.String getPrefix(java.lang.String namespaceURI)
- Specified by:
getPrefix
in interface javax.xml.namespace.NamespaceContext
getPrefixes
public java.util.Iterator getPrefixes(java.lang.String namespaceURI)
- Specified by:
getPrefixes
in interface javax.xml.namespace.NamespaceContext