ist.palcom.communication.ast
Class ControlInfo
java.lang.Object
ist.palcom.communication.ast.ASTNode
ist.palcom.communication.ast.AbstractXMLRepresentable
ist.palcom.communication.ast.Info
ist.palcom.communication.ast.ControlInfo
- All Implemented Interfaces:
- XMLRepresentable, Cloneable
- Direct Known Subclasses:
- CommandInfo, GroupInfo, ParamInfo
public abstract class ControlInfo
- extends Info
- implements Cloneable
| Methods inherited from class ist.palcom.communication.ast.ASTNode |
addChild, copy, fullCopy, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent |
ControlInfo
public ControlInfo()
ControlInfo
public ControlInfo(String p0,
String p1)
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