|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.util.namespace.AbstractNamespaceContext
public abstract class AbstractNamespaceContext
Partial NamespaceContext implementation that takes care of the
implicit namespace bindings (for the xml and xmlns
prefixes) defined in the NamespaceContext Javadoc.
| Constructor Summary | |
|---|---|
AbstractNamespaceContext()
|
|
| Method Summary | |
|---|---|
protected abstract String |
doGetNamespaceURI(String prefix)
Get namespace URI bound to a prefix in the current scope. |
protected abstract String |
doGetPrefix(String namespaceURI)
Get prefix bound to namespace URI in the current scope. |
protected abstract Iterator |
doGetPrefixes(String namespaceURI)
Get all prefixes bound to a namespace URI in the current scope. |
String |
getNamespaceURI(String prefix)
|
String |
getPrefix(String namespaceURI)
|
Iterator |
getPrefixes(String namespaceURI)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractNamespaceContext()
| Method Detail |
|---|
public final String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextprotected abstract String doGetNamespaceURI(String prefix)
NamespaceContext.getNamespaceURI(String), except that the
implementation is not required to handle the implicit namespace bindings.
prefix - prefix to look up
public final String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextprotected abstract String doGetPrefix(String namespaceURI)
NamespaceContext.getPrefix(String),
except that the implementation is not required to handle the implicit
namespace bindings.
namespaceURI - URI of namespace to lookup
public final Iterator getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextprotected abstract Iterator doGetPrefixes(String namespaceURI)
NamespaceContext.getPrefixes(String), except that the
implementation is not required to handle the implicit namespace bindings.
namespaceURI - URI of namespace to lookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||