org.apache.ws.util.xml.impl
Class XmlBeansNamespaceContext

java.lang.Object
  extended byorg.apache.ws.util.xml.impl.XmlBeansNamespaceContext
All Implemented Interfaces:
NamespaceContext

public class XmlBeansNamespaceContext
extends java.lang.Object
implements NamespaceContext

A namespace context based on an XMLBeans XmlObject.


Constructor Summary
XmlBeansNamespaceContext(org.apache.xmlbeans.XmlObject context)
           
 
Method Summary
 org.apache.xmlbeans.XmlObject getContextXmlObject()
           
 java.lang.String getNamespaceURI(java.lang.String prefix)
          Get Namespace URI bound to a prefix in the current scope.
 java.lang.String getPrefix(java.lang.String namespaceURI)
          Get prefix bound to Namespace URI in the current scope.
 java.util.Iterator getPrefixes(java.lang.String namespaceURI)
          Get all prefixes bound to a Namespace URI in the current scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBeansNamespaceContext

public XmlBeansNamespaceContext(org.apache.xmlbeans.XmlObject context)
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI(java.lang.String prefix)
Description copied from interface: NamespaceContext
Get Namespace URI bound to a prefix in the current scope.

Specified by:
getNamespaceURI in interface NamespaceContext
Parameters:
prefix - the prefix to resolve
Returns:

getPrefix

public java.lang.String getPrefix(java.lang.String namespaceURI)
Description copied from interface: NamespaceContext
Get prefix bound to Namespace URI in the current scope.

Specified by:
getPrefix in interface NamespaceContext
Parameters:
namespaceURI -
Returns:

getPrefixes

public java.util.Iterator getPrefixes(java.lang.String namespaceURI)
Description copied from interface: NamespaceContext
Get all prefixes bound to a Namespace URI in the current scope.

Specified by:
getPrefixes in interface NamespaceContext
Parameters:
namespaceURI -
Returns:

getContextXmlObject

public org.apache.xmlbeans.XmlObject getContextXmlObject()


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.