org.apache.ws.commons.schema.utils
Class NodeNamespaceContext
java.lang.Object
org.apache.ws.commons.schema.utils.NodeNamespaceContext
- All Implemented Interfaces:
- javax.xml.namespace.NamespaceContext, NamespacePrefixList
public class NodeNamespaceContext
- extends java.lang.Object
- implements NamespacePrefixList
Implementation of NamespaceContext, which is based on a DOM node.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNamespaceContext
public static NodeNamespaceContext getNamespaceContext(org.w3c.dom.Node pNode)
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String pPrefix)
- Specified by:
getNamespaceURI in interface javax.xml.namespace.NamespaceContext
getPrefix
public java.lang.String getPrefix(java.lang.String pNamespaceURI)
- Specified by:
getPrefix in interface javax.xml.namespace.NamespaceContext
getPrefixes
public java.util.Iterator getPrefixes(java.lang.String pNamespaceURI)
- Specified by:
getPrefixes in interface javax.xml.namespace.NamespaceContext
getDeclaredPrefixes
public java.lang.String[] getDeclaredPrefixes()
- Description copied from interface:
NamespacePrefixList
- Returns the list of currently defined namespace prefixes.
- Specified by:
getDeclaredPrefixes in interface NamespacePrefixList
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.