|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.harvest.util.PDSNamespaceContext
public class PDSNamespaceContext
Class that provides support for handling namespaces in PDS4 data products.
Constructor Summary | |
---|---|
PDSNamespaceContext()
Constructor. |
|
PDSNamespaceContext(List<Namespace> namespaces)
Constructor. |
Method Summary | |
---|---|
void |
addNamespace(Namespace namespace)
Adds a namespace. |
String |
getNamespaceURI(String prefix)
Gets the namespace URI. |
String |
getPrefix(String arg0)
Method not needed |
Iterator |
getPrefixes(String arg0)
Method not needed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDSNamespaceContext()
public PDSNamespaceContext(List<Namespace> namespaces)
namespaces
- A list of namespaces to support.Method Detail |
---|
public void addNamespace(Namespace namespace)
namespace
- A namespace to support.public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext
prefix
- The prefix
public String getPrefix(String arg0)
getPrefix
in interface NamespaceContext
public Iterator getPrefixes(String arg0)
getPrefixes
in interface NamespaceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |