org.apache.axis2.databinding.utils.reader
Class ADBNamespaceContext

java.lang.Object
  extended by org.apache.axis2.databinding.utils.reader.ADBNamespaceContext
All Implemented Interfaces:
javax.xml.namespace.NamespaceContext

public class ADBNamespaceContext
extends java.lang.Object
implements javax.xml.namespace.NamespaceContext


Constructor Summary
ADBNamespaceContext()
           
 
Method Summary
 java.lang.String getNamespaceURI(java.lang.String prefix)
           
 javax.xml.namespace.NamespaceContext getParentNsContext()
           
 java.lang.String getPrefix(java.lang.String uri)
           
 java.util.Iterator getPrefixes(java.lang.String uri)
           
 void popNamespace()
          Pop a namespace
 void pushNamespace(java.lang.String prefix, java.lang.String uri)
          Register a namespace in this context
 void setParentNsContext(javax.xml.namespace.NamespaceContext parentNsContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADBNamespaceContext

public ADBNamespaceContext()
Method Detail

getParentNsContext

public javax.xml.namespace.NamespaceContext getParentNsContext()

setParentNsContext

public void setParentNsContext(javax.xml.namespace.NamespaceContext parentNsContext)

pushNamespace

public void pushNamespace(java.lang.String prefix,
                          java.lang.String uri)
Register a namespace in this context

Parameters:
prefix -
uri -

popNamespace

public void popNamespace()
Pop a namespace


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 uri)
Specified by:
getPrefix in interface javax.xml.namespace.NamespaceContext

getPrefixes

public java.util.Iterator getPrefixes(java.lang.String uri)
Specified by:
getPrefixes in interface javax.xml.namespace.NamespaceContext


Copyright © 2007 Apache Web Services Project. All Rights Reserved.