Class DefaultNamespaceContext
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.DefaultNamespaceContext
-
- All Implemented Interfaces:
NamespaceContext
public final class DefaultNamespaceContext extends Object implements NamespaceContext
A
NamespaceContext
which only contains bindings for the xml and xmlns prefixes.- Version:
- $Id$
- Author:
- Michael Glavassevich, IBM
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultNamespaceContext
getInstance()
Returns the one and only instance of this class.String
getNamespaceURI(String prefix)
String
getPrefix(String namespaceURI)
Iterator
getPrefixes(String namespaceURI)
-
-
-
Method Detail
-
getInstance
public static DefaultNamespaceContext getInstance()
Returns the one and only instance of this class.
-
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI
in interfaceNamespaceContext
-
getPrefix
public String getPrefix(String namespaceURI)
- Specified by:
getPrefix
in interfaceNamespaceContext
-
getPrefixes
public Iterator getPrefixes(String namespaceURI)
- Specified by:
getPrefixes
in interfaceNamespaceContext
-
-