|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.xml.NamespaceContext
public class NamespaceContext
Implementation of Jaxen's (http://jaxen.codehaus.org) NamespaceContext interface.
NOTE: This should be used everywhere inside deegree, don't use org.jaxen.SimpleNamespaceContext -- this
prevents unnecessary binding to Jaxen.
| Constructor Summary | |
|---|---|
NamespaceContext()
Creates a new instance of NamespaceContext with only the prefix 'xmlns:' being bound. |
|
NamespaceContext(NamespaceContext nsContext)
Creates a new instance of NamespaceContext that contains all the bindings from the argument
NamespaceContext. |
|
NamespaceContext(javax.xml.namespace.NamespaceContext nsContext)
Creates a new instance of NamespaceContext that contains all the bindings from the argument
NamespaceContext. |
|
| Method Summary | |
|---|---|
NamespaceContext |
addNamespace(java.lang.String prefix,
java.lang.String namespace)
registers a new prefix with an assigned namespace URI |
java.lang.String |
getURI(java.lang.String prefix)
|
java.lang.String |
toString()
|
java.lang.String |
translateNamespacePrefixToUri(java.lang.String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceContext()
NamespaceContext with only the prefix 'xmlns:' being bound.
public NamespaceContext(NamespaceContext nsContext)
NamespaceContext that contains all the bindings from the argument
NamespaceContext.
nsContext - bindings to copypublic NamespaceContext(javax.xml.namespace.NamespaceContext nsContext)
NamespaceContext that contains all the bindings from the argument
NamespaceContext.
nsContext - bindings to copy| Method Detail |
|---|
public NamespaceContext addNamespace(java.lang.String prefix,
java.lang.String namespace)
prefix - namespace -
public java.lang.String translateNamespacePrefixToUri(java.lang.String prefix)
translateNamespacePrefixToUri in interface org.jaxen.NamespaceContextpublic java.lang.String getURI(java.lang.String prefix)
prefix -
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||