public class DataComponent extends InputXMLComponent
$Id $
component, name
Constructor and Description |
---|
DataComponent()
Constructor for the DataComponent object
|
Modifier and Type | Method and Description |
---|---|
void |
addDataStreamCmd(java.lang.String format,
org.dom4j.Element content)
Adds a DataStream command to the DataComponent with default action.
|
void |
addDataStreamCmd(java.lang.String format,
org.dom4j.Element content,
java.lang.String action)
Adds a DataStream command to the DataComponent with specified action.
|
void |
setInfoStream(java.lang.String format,
org.dom4j.Element info)
Inserts the provided info stream element into the datastream designated by "format".
|
addCommand, addCommand, addCommand, asElement, getCommandParent, pp, prtln
public void addDataStreamCmd(java.lang.String format, org.dom4j.Element content) throws java.lang.Exception
format
- The feature to be added to the DataStreamCmd
attributecontent
- The feature to be added to the DataStreamCmd
attributejava.lang.Exception
- NOT YET DOCUMENTEDpublic void setInfoStream(java.lang.String format, org.dom4j.Element info) throws java.lang.Exception
format
- data stream in which to insert infoinfo
- the info stream Elementjava.lang.Exception
- if datastream does not exist for "format"public void addDataStreamCmd(java.lang.String format, org.dom4j.Element content, java.lang.String action) throws java.lang.Exception
format
- datastream format (e.g., "nsdl_dc")content
- the datastream contentaction
- the command action (e.g., "add", "delete") or null
(the default).java.lang.Exception
- If datastream element is null.