Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Summary
`java.lang.String[]` | `getDeclaredPrefixes()` Returns the list of currently defined namespace prefixes.
`static NodeNamespaceContext` | `getNamespaceContext(org.w3c.dom.Node pNode)`
`java.lang.String` | `getNamespaceURI(java.lang.String pPrefix)`
`java.lang.String` | `getPrefix(java.lang.String pNamespaceURI)`
`java.util.Iterator` | `getPrefixes(java.lang.String pNamespaceURI)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.