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 and Description |
---|
JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver) |
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 JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver)
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