org.codehaus.stax2.ri.evt
Class MergedNsContext
java.lang.Object
org.codehaus.stax2.ri.evt.MergedNsContext
- All Implemented Interfaces:
- NamespaceContext
public class MergedNsContext
- extends Object
- implements NamespaceContext
Helper class used to combine an enclosing namespace context with
a list of namespace declarations contained, to result in a single
namespace context object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergedNsContext
protected MergedNsContext(NamespaceContext parentCtxt,
List localNs)
construct
public static MergedNsContext construct(NamespaceContext parentCtxt,
List localNs)
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI
in interface NamespaceContext
getPrefix
public String getPrefix(String nsURI)
- Specified by:
getPrefix
in interface NamespaceContext
getPrefixes
public Iterator getPrefixes(String nsURI)
- Specified by:
getPrefixes
in interface NamespaceContext
addToList
protected ArrayList addToList(ArrayList l,
String value)