ist.palcom.communication.ast
Class ControlInfo

java.lang.Object
  extended by ist.palcom.communication.ast.ASTNode
      extended by ist.palcom.communication.ast.AbstractXMLRepresentable
          extended by ist.palcom.communication.ast.Info
              extended by ist.palcom.communication.ast.ControlInfo
All Implemented Interfaces:
XMLRepresentable, Cloneable
Direct Known Subclasses:
CommandInfo, GroupInfo, ParamInfo

public abstract class ControlInfo
extends Info
implements Cloneable


Field Summary
 
Fields inherited from class ist.palcom.communication.ast.ASTNode
CHANGE, children, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, LAST_CYCLE, numChildren, parent
 
Constructor Summary
ControlInfo()
           
ControlInfo(String p0, String p1)
           
 
Method Summary
 Object clone()
           
abstract  ControlItem createInstance()
           
 boolean equals(Object o)
           
 void flushCache()
           
 String getHelp()
           
 String getID()
           
 int hashCode()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
protected  int numChildren()
           
 void setHelp(String value)
           
 void setID(String value)
           
protected  void writeStartTagAndAttributes(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.communication.ast.Info
getDeviceURN, getInfoThatEquals, getInfoThatIsAboutTheSameEntityAs, getName, getURN, isAboutTheSameEntityAs, safeEqual
 
Methods inherited from class ist.palcom.communication.ast.AbstractXMLRepresentable
addChildFromXMLElement, getXMLData, getXMLData, toString
 
Methods inherited from class ist.palcom.communication.ast.ASTNode
addChild, copy, fullCopy, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent
 
Methods inherited from class java.lang.Object
getClass, println
 
Methods inherited from interface ist.palcom.xml.XMLRepresentable
getTagName, writeXMLElement
 

Constructor Detail

ControlInfo

public ControlInfo()

ControlInfo

public ControlInfo(String p0,
                   String p1)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Info
Throws:
CloneNotSupportedException

flushCache

public void flushCache()
Overrides:
flushCache in class Info

numChildren

protected int numChildren()
Overrides:
numChildren in class Info

setID

public void setID(String value)

getID

public String getID()

setHelp

public void setHelp(String value)

getHelp

public String getHelp()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

createInstance

public abstract ControlItem createInstance()

writeStartTagAndAttributes

protected void writeStartTagAndAttributes(KXmlSerializer serializer)
                                   throws IOException
Throws:
IOException

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