EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.platform.xml.jaxp
Class JAXPNamespaceContext

java.lang.Object
  extended by 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
JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver)
           
 
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
 

Constructor Detail

JAXPNamespaceContext

public JAXPNamespaceContext(XMLNamespaceResolver xmlNamespaceResolver)
Method Detail

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

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference