|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| 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(NamespaceContext nsContext)
Creates a new instance of NamespaceContext that contains all the bindings from the argument
NamespaceContext. |
|
| Method Summary | |
|---|---|
NamespaceContext |
addNamespace(String prefix,
String namespace)
registers a new prefix with an assigned namespace URI |
String |
getURI(String prefix)
|
String |
toString()
|
String |
translateNamespacePrefixToUri(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(NamespaceContext nsContext)
NamespaceContext that contains all the bindings from the argument
NamespaceContext.
nsContext - bindings to copy| Method Detail |
|---|
public NamespaceContext addNamespace(String prefix,
String namespace)
prefix - namespace -
public String translateNamespacePrefixToUri(String prefix)
translateNamespacePrefixToUri in interface org.jaxen.NamespaceContextpublic String getURI(String prefix)
prefix -
public String toString()
toString in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||