org.dlese.dpc.ndr.dcsapi
Class DataStreamWrapper
java.lang.Object
org.dlese.dpc.ndr.dcsapi.DataStreamWrapper
public class DataStreamWrapper
- extends Object
- Author:
- Jonathan Ostwald
Constructor Summary |
DataStreamWrapper()
TODO - make the internal representation nodes, not Strings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataStreamWrapper
public DataStreamWrapper()
- TODO - make the internal representation nodes, not Strings
- Parameters:
_xml
-
getDataStreams
public Set getDataStreams()
getFormats
public Iterator getFormats()
getMeta
public String getMeta(String _format)
setDataStream
public void setDataStream(String _format,
Element _metadataDocument)
throws Exception
- Parameters:
_metadataDocument
-
- Throws:
Exception
setDataStream
public void setDataStream(String _format,
String _metadataXML)
throws Exception
- Throws:
Exception
getDataStream
public Element getDataStream(String _format)
- Get the metadata for this wrapper object.
- Returns:
- - the Metadata element for this wrapper