|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.framework.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. |
|
| Method Summary | |
|---|---|
void |
addAll(NamespaceContext nsc)
registeres all prexifes and assigned namespaces from another NamespaceContext. |
void |
addNamespace(String prefix,
URI namespace)
registers a new prefix with an assigned namespace URI |
Map<String,URI> |
getNamespaceMap()
|
URI |
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 copy| Method Detail |
|---|
public Map<String,URI> getNamespaceMap()
public void addNamespace(String prefix,
URI namespace)
prefix - namespace - public void addAll(NamespaceContext nsc)
nsc - public String translateNamespacePrefixToUri(String prefix)
translateNamespacePrefixToUri in interface org.jaxen.NamespaceContextpublic URI getURI(String prefix)
prefix - to get the namespace for
null if it was not found.public String toString()
toString in class Object
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org