public class XMLHelper extends java.lang.Object
Constructor and Description |
---|
XMLHelper(AtomicActor actor)
Initialize helper classes.
|
Modifier and Type | Method and Description |
---|---|
void |
setArraysWrapped(boolean val)
Set the value of _arraysWrappedVal.
|
void |
setOutputNil(boolean val)
Set the value of _outputNilVal.
|
void |
splitOutXML(java.lang.String name,
org.w3c.dom.Document doc,
java.util.List outputPorts,
java.lang.String portPrepend)
Peel off the root element from an XML document, and output the content in
each child element to the output port with same name.
|
public XMLHelper(AtomicActor actor)
actor
- the using this classpublic void setOutputNil(boolean val)
public void setArraysWrapped(boolean val)
public void splitOutXML(java.lang.String name, org.w3c.dom.Document doc, java.util.List outputPorts, java.lang.String portPrepend) throws IllegalActionException
name
- the root element name in the XML document to peel offdoc
- the XML documentoutputPorts
- the output portsportPrepend
- optional string to remove from beginning of port nameIllegalActionException