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

java.lang.Object
  extended by com.buildforge.services.common.api.xml.Element
      extended by com.buildforge.services.common.api.xml.PacketElement

public class PacketElement
extends Element


Field Summary
 
Fields inherited from class com.buildforge.services.common.api.xml.Element
parent
 
Constructor Summary
PacketElement()
           
 
Method Summary
 void addChild(Element child)
          Adds a child element to this element.
 ElementType getElementType()
          Returns the type of element that this is.
 APIRequest getRequest()
           
 
Methods inherited from class com.buildforge.services.common.api.xml.Element
corrupted
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketElement

public PacketElement()
Method Detail

getElementType

public ElementType getElementType()
Description copied from class: Element
Returns the type of element that this is.

Specified by:
getElementType in class Element

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

getRequest

public APIRequest getRequest()
                      throws ProtocolException
Throws:
ProtocolException