ist.palcom.discovery
Class InfoEvent

java.lang.Object
  extended by ist.palcom.collections.Link
      extended by ist.palcom.palcomthreads.Event
          extended by ist.palcom.discovery.InfoEvent
All Implemented Interfaces:
XMLRepresentable

public class InfoEvent
extends Event
implements XMLRepresentable


Constructor Summary
InfoEvent()
           
InfoEvent(PRDData info, boolean keepInfo)
           
 
Method Summary
 void addChildFromXMLElement(XMLRepresentable child)
          Add child as a child of the element.
 PRDData getInfo()
           
 java.lang.String getTagName()
           
 byte[] getXMLData()
           
 boolean infoShouldBeKept()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
 java.lang.String toString()
           
 void writeXMLElement(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.collections.Link
getNext, getPrev
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InfoEvent

public InfoEvent()

InfoEvent

public InfoEvent(PRDData info,
                 boolean keepInfo)
Method Detail

initializeFromElement

public void initializeFromElement(XmlPullParser parser)
Description copied from interface: XMLRepresentable
Initialize the XMLRepresentable from the element where the parser is currently standing. When calling this method, the parser must be on the start tag of the element. After returning from the method, the parser will be at the end tag of the element.

Specified by:
initializeFromElement in interface XMLRepresentable

getInfo

public PRDData getInfo()

infoShouldBeKept

public boolean infoShouldBeKept()

getXMLData

public byte[] getXMLData()
Specified by:
getXMLData in interface XMLRepresentable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addChildFromXMLElement

public void addChildFromXMLElement(XMLRepresentable child)
Description copied from interface: XMLRepresentable
Add child as a child of the element. It has been created by an XMLFactory.

Specified by:
addChildFromXMLElement in interface XMLRepresentable

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface XMLRepresentable

writeXMLElement

public void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Specified by:
writeXMLElement in interface XMLRepresentable
Throws:
java.io.IOException