DLESE Tools
v1.6.0

org.dlese.dpc.ndr.dcsapi
Class DataStreamWrapper

java.lang.Object
  extended by 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
 
Method Summary
 Element getDataStream(String _format)
          Get the metadata for this wrapper object.
 Set getDataStreams()
           
 Iterator getFormats()
           
 String getMeta(String _format)
           
 void setDataStream(String _format, Element _metadataDocument)
           
 void setDataStream(String _format, String _metadataXML)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataStreamWrapper

public DataStreamWrapper()
TODO - make the internal representation nodes, not Strings

Parameters:
_xml -
Method Detail

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

DLESE Tools
v1.6.0