|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.util.namespace.AbstractNamespaceContext
org.apache.axiom.util.namespace.MapBasedNamespaceContext
public class MapBasedNamespaceContext
Namespace context implementation that stores namespace bindings in a Map
.
Constructor Summary | |
---|---|
MapBasedNamespaceContext(Map map)
Constructor. |
Method Summary | |
---|---|
protected String |
doGetNamespaceURI(String prefix)
Get namespace URI bound to a prefix in the current scope. |
protected String |
doGetPrefix(String nsURI)
Get prefix bound to namespace URI in the current scope. |
protected Iterator |
doGetPrefixes(String nsURI)
Get all prefixes bound to a namespace URI in the current scope. |
Methods inherited from class org.apache.axiom.util.namespace.AbstractNamespaceContext |
---|
getNamespaceURI, getPrefix, getPrefixes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapBasedNamespaceContext(Map map)
map
- a map containing the (prefix, namespace URI) entriesMethod Detail |
---|
protected String doGetNamespaceURI(String prefix)
AbstractNamespaceContext
NamespaceContext.getNamespaceURI(String)
, except that the
implementation is not required to handle the implicit namespace bindings.
doGetNamespaceURI
in class AbstractNamespaceContext
prefix
- prefix to look up
protected String doGetPrefix(String nsURI)
AbstractNamespaceContext
NamespaceContext.getPrefix(String)
,
except that the implementation is not required to handle the implicit
namespace bindings.
doGetPrefix
in class AbstractNamespaceContext
nsURI
- URI of namespace to lookup
protected Iterator doGetPrefixes(String nsURI)
AbstractNamespaceContext
NamespaceContext.getPrefixes(String)
, except that the
implementation is not required to handle the implicit namespace bindings.
doGetPrefixes
in class AbstractNamespaceContext
nsURI
- URI of namespace to lookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |