|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xolite.impl.MapPrefixResolver
public class MapPrefixResolver
Default (Map based) implementation of the NamespaceContext interface.
Constructor Summary | |
---|---|
MapPrefixResolver()
|
Method Summary | |
---|---|
void |
addAll(MapPrefixResolver other)
|
void |
addPrefixMapping(String prefix,
String namespaceURI)
|
void |
clear()
|
String |
getNamespaceURI(String prefix)
Get namespace URI corresponding to the given prefix. |
String |
getPrefix(String namespaceURI)
Get the first prefix mapped to the given namespace. |
Iterator<String> |
getPrefixes(String namespaceURI)
Get all the prefixes mapped to the given namespace. |
void |
removePrefixMapping(String prefix,
String namespaceURI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapPrefixResolver()
Method Detail |
---|
public void addAll(MapPrefixResolver other)
public void addPrefixMapping(String prefix, String namespaceURI)
public void removePrefixMapping(String prefix, String namespaceURI)
public void clear()
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext
NamespaceContext.getNamespaceURI(java.lang.String)
public String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
NamespaceContext.getPrefix(java.lang.String)
public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
NamespaceContext.getPrefixes(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |