com.buildforge.services.common.api.xml
Class DataElement

java.lang.Object
  extended by com.buildforge.services.common.api.xml.Element
      extended by com.buildforge.services.common.api.xml.DataElement
Direct Known Subclasses:
ArrayElement, FalseElement, HashElement, IntegerElement, NullElement, NumberElement, StringElement, TrueElement

public abstract class DataElement
extends Element


Field Summary
 
Fields inherited from class com.buildforge.services.common.api.xml.Element
parent
 
Constructor Summary
DataElement(Element parent, java.lang.String key, java.lang.Object value)
           
 
Method Summary
 void addChild(Element child)
          Adds a child element to this element.
 java.lang.String getKey()
           
 java.lang.Object getValue()
           
 
Methods inherited from class com.buildforge.services.common.api.xml.Element
corrupted, getElementType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataElement

public DataElement(Element parent,
                   java.lang.String key,
                   java.lang.Object value)
Method Detail

getKey

public java.lang.String getKey()

getValue

public java.lang.Object getValue()

addChild

public void addChild(Element child)
              throws org.xml.sax.SAXException
Description copied from class: Element
Adds a child element to this element.

Specified by:
addChild in class Element
Throws:
org.xml.sax.SAXException