ist.palcom.communication.ast
Class GroupInfo

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
                  extended by ist.palcom.communication.ast.GroupInfo
All Implemented Interfaces:
XMLRepresentable, Cloneable
Direct Known Subclasses:
ServiceDescription

public class GroupInfo
extends ControlInfo
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
GroupInfo()
           
GroupInfo(String id)
           
GroupInfo(String p0, String p1, List p2)
           
 
Method Summary
 void addChildFromXMLElement(XMLRepresentable child)
          The implementation up here is empty.
 void addControlInfo(ControlInfo node)
           
 Object clone()
           
 ASTNode copy()
           
 ControlItem createInstance()
           
 boolean equals(Object o)
           
 void flushCache()
           
 ASTNode fullCopy()
           
 ControlInfo getControlInfo(int i)
           
 List getControlInfoList()
           
 List getControlInfoListNoTransform()
           
 String getHelp()
           
 String getID()
           
 int getNumControlInfo()
           
 String getTagName()
           
 boolean isAboutTheSameEntityAs(Info info)
           
protected  int numChildren()
           
 void setControlInfo(ControlInfo node, int i)
           
 void setControlInfoList(List list)
           
 void setHelp(String value)
           
 void setID(String value)
           
 void writeXMLElement(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.communication.ast.ControlInfo
hashCode, initializeFromElement, writeStartTagAndAttributes
 
Methods inherited from class ist.palcom.communication.ast.Info
getDeviceURN, getInfoThatEquals, getInfoThatIsAboutTheSameEntityAs, getName, getURN, safeEqual
 
Methods inherited from class ist.palcom.communication.ast.AbstractXMLRepresentable
getXMLData, getXMLData, toString
 
Methods inherited from class ist.palcom.communication.ast.ASTNode
addChild, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent
 
Methods inherited from class java.lang.Object
getClass, println
 

Constructor Detail

GroupInfo

public GroupInfo()

GroupInfo

public GroupInfo(String p0,
                 String p1,
                 List p2)

GroupInfo

public GroupInfo(String id)
Method Detail

clone

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

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

flushCache

public void flushCache()
Overrides:
flushCache in class ControlInfo

numChildren

protected int numChildren()
Overrides:
numChildren in class ControlInfo

setID

public void setID(String value)
Overrides:
setID in class ControlInfo

getID

public String getID()
Overrides:
getID in class ControlInfo

setHelp

public void setHelp(String value)
Overrides:
setHelp in class ControlInfo

getHelp

public String getHelp()
Overrides:
getHelp in class ControlInfo

setControlInfoList

public void setControlInfoList(List list)

getNumControlInfo

public int getNumControlInfo()

getControlInfo

public ControlInfo getControlInfo(int i)

addControlInfo

public void addControlInfo(ControlInfo node)

setControlInfo

public void setControlInfo(ControlInfo node,
                           int i)

getControlInfoList

public List getControlInfoList()

getControlInfoListNoTransform

public List getControlInfoListNoTransform()

isAboutTheSameEntityAs

public boolean isAboutTheSameEntityAs(Info info)
Specified by:
isAboutTheSameEntityAs in class Info
Returns:
True if info and this info are for the same entity. This can be true even if they are not completely identical, looking at their whole trees. The equals method for Infos, on the other hand, is implemented to check for that.

equals

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

createInstance

public ControlItem createInstance()
Specified by:
createInstance in class ControlInfo

getTagName

public String getTagName()
Specified by:
getTagName in interface XMLRepresentable

writeXMLElement

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

addChildFromXMLElement

public void addChildFromXMLElement(XMLRepresentable child)
Description copied from class: AbstractXMLRepresentable
The implementation up here is empty.

Specified by:
addChildFromXMLElement in interface XMLRepresentable
Overrides:
addChildFromXMLElement in class AbstractXMLRepresentable