ist.palcom.resource.descriptor
Class ControlInfo

java.lang.Object
  extended by ist.palcom.resource.descriptor.ASTNode
      extended by ist.palcom.resource.descriptor.AbstractXMLRepresentable
          extended by ist.palcom.resource.descriptor.PRDData
              extended by ist.palcom.resource.descriptor.ControlInfo
All Implemented Interfaces:
IHgraphNode, XMLRepresentable, java.lang.Cloneable
Direct Known Subclasses:
CommandInfo, GroupInfo, ParamInfo, StreamInfo

public abstract class ControlInfo
extends PRDData
implements java.lang.Cloneable


Field Summary
protected  boolean encloseInBraces_visited
           
protected  java.util.Set lookupCommand_String_visited
           
 
Fields inherited from class ist.palcom.resource.descriptor.PRDData
_node, FULLY_OPERATIONAL, NOT_OPERATIONAL, PARTIALLY_OPERATIONAL
 
Fields inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
getBrowserLabel_visited
 
Fields inherited from class ist.palcom.resource.descriptor.ASTNode
CHANGE, children, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getAssemblyLabel_visited, getErrorList_visited, getIndent_visited, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, prettyPrintChildren_visited, RESET_CYCLE
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
ControlInfo()
           
ControlInfo(java.lang.String p0, java.lang.String p1)
           
 
Method Summary
 java.lang.Object clone()
           
abstract  ControlItem createInstance()
           
 boolean encloseInBraces()
           
 boolean equals(java.lang.Object o)
           
 void flushCache()
           
 java.lang.String getHelp()
           
 java.lang.String getID()
           
 int hashCode()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
 ControlInfo lookupCommand(java.lang.String id)
           
protected  int numChildren()
           
 void setHelp(java.lang.String value)
           
 void setID(java.lang.String value)
           
protected  void writeStartTagAndAttributes(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.resource.descriptor.PRDData
addNodeChild, getChildIterator, getFuncFunc, getLocalSID, getName, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getValueFunc, hasChildNamed, isAboutTheSameEntityAs, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
addChildFromXMLElement, addToAssembly, getBrowserLabel, getTagName, getXMLData, getXMLData, removeFromAssembly, toString
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, copy, Define_AbstractResourceAddress_custServiceAddress, Define_AbstractResourceAddress_provServiceAddress, Define_CommandInfo_ci, Define_Device_parentDevice, Define_Identifier_getLocalName, Define_NetworkNode_lookup, Define_PRDAssemblyVer_av, Define_Service_inhCust, Define_Service_inhProv, Define_Service_parentService, Define_String_expectedType, Define_Universe_universe, fullCopy, getAssemblyLabel, getChild, getChildArray, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setParent, updateIDfromEditor
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ist.palcom.xml.XMLRepresentable
writeXMLElement
 

Field Detail

lookupCommand_String_visited

protected java.util.Set lookupCommand_String_visited

encloseInBraces_visited

protected boolean encloseInBraces_visited
Constructor Detail

ControlInfo

public ControlInfo()

ControlInfo

public ControlInfo(java.lang.String p0,
                   java.lang.String p1)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class PRDData

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class PRDData
Throws:
java.lang.CloneNotSupportedException

createInstance

public abstract ControlItem createInstance()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractXMLRepresentable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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

writeStartTagAndAttributes

protected void writeStartTagAndAttributes(KXmlSerializer serializer)
                                   throws java.io.IOException
Throws:
java.io.IOException

numChildren

protected int numChildren()
Overrides:
numChildren in class PRDData

setID

public void setID(java.lang.String value)

getID

public java.lang.String getID()

setHelp

public void setHelp(java.lang.String value)

getHelp

public java.lang.String getHelp()

lookupCommand

public ControlInfo lookupCommand(java.lang.String id)

encloseInBraces

public boolean encloseInBraces()
Overrides:
encloseInBraces in class ASTNode