org.ipdr.xml
Class CompositeXMLElement

java.lang.Object
  extended by org.ipdr.xml.XMLElement
      extended by org.ipdr.xml.CompositeXMLElement

public class CompositeXMLElement
extends XMLElement

The CompositeXMLElement is a structure to hold a Composite XML Element. It contains a list of XML Elements, the child elements of the Composite Element.


Field Summary
protected  java.util.ArrayList listXMLElements_
          To store List of XML Elements.
 
Fields inherited from class org.ipdr.xml.XMLElement
attributes_, name_, rawName_, value_
 
Constructor Summary
CompositeXMLElement()
           
 
Method Summary
 boolean addXMLElement(XMLElement element)
          Method to add a XML Element into the list.
 java.util.ArrayList getListXMLElements()
          Method to add get all XML Elements from the list.
 
Methods inherited from class org.ipdr.xml.XMLElement
getAttributes, getName, getRawName, getValue, setAttributes, setName, setRawName, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listXMLElements_

protected java.util.ArrayList listXMLElements_
To store List of XML Elements.

Constructor Detail

CompositeXMLElement

public CompositeXMLElement()
Method Detail

addXMLElement

public boolean addXMLElement(XMLElement element)
Method to add a XML Element into the list.

Parameters:
element - XML Element to add

getListXMLElements

public java.util.ArrayList getListXMLElements()
Method to add get all XML Elements from the list.

Returns:
List of XML Elements