ist.palcom.communication.ast
Class ParamInfo
java.lang.Object
ist.palcom.communication.ast.ASTNode
ist.palcom.communication.ast.AbstractXMLRepresentable
ist.palcom.communication.ast.Info
ist.palcom.communication.ast.ControlInfo
ist.palcom.communication.ast.ParamInfo
- All Implemented Interfaces:
- XMLRepresentable, Cloneable
public class ParamInfo
- extends ControlInfo
- implements Cloneable
| Methods inherited from class ist.palcom.communication.ast.ASTNode |
addChild, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent |
ParamInfo
public ParamInfo()
ParamInfo
public ParamInfo(String p0,
String p1,
String p2,
int p3)
ParamInfo
public ParamInfo(String id,
String type)
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
setType
public void setType(String value)
getType
public String getType()
setDataRef
public void setDataRef(int value)
getDataRef
public int getDataRef()
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
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- Overrides:
initializeFromElement in class ControlInfo