ist.palcom.resource.descriptor
Class DeviceID

java.lang.Object
  extended by ist.palcom.resource.descriptor.ASTNode
      extended by ist.palcom.resource.descriptor.AbstractXMLRepresentable
          extended by ist.palcom.resource.descriptor.DeviceID
All Implemented Interfaces:
XMLRepresentable, java.lang.Cloneable

public class DeviceID
extends AbstractXMLRepresentable
implements java.lang.Cloneable


Field Summary
static java.lang.String DID_PREFIX
          Prefix for PalCom DeviceIDs.
 
Fields inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
getBrowserLabel_visited
 
Fields inherited from class ist.palcom.resource.descriptor.ASTNode
CHANGE, children, encloseInBraces_visited, 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
 
Constructor Summary
DeviceID()
           
DeviceID(java.lang.String p0)
           
 
Method Summary
 void addChildFromXMLElement(XMLRepresentable child)
          The implementation up here is empty.
 java.lang.Object clone()
           
 ASTNode copy()
           
 boolean equals(java.lang.Object o)
           
 void flushCache()
           
 ASTNode fullCopy()
           
 java.lang.String getString()
           
 java.lang.String getTagName()
           
 int hashCode()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
protected  int numChildren()
           
 void setString(java.lang.String value)
           
 java.lang.String toString()
           
 void writeXMLElement(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
addToAssembly, getBrowserLabel, getXMLData, getXMLData, removeFromAssembly
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, 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, encloseInBraces, getAssemblyLabel, getChild, getChildArray, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setChild, setParent, updateIDfromEditor
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DID_PREFIX

public static final java.lang.String DID_PREFIX
Prefix for PalCom DeviceIDs.

See Also:
Constant Field Values
Constructor Detail

DeviceID

public DeviceID()

DeviceID

public DeviceID(java.lang.String p0)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class AbstractXMLRepresentable

clone

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

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

toString

public java.lang.String toString()
Overrides:
toString in class AbstractXMLRepresentable

equals

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

hashCode

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

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface XMLRepresentable
Specified by:
getTagName in class AbstractXMLRepresentable

writeXMLElement

public void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Specified by:
writeXMLElement in interface XMLRepresentable
Throws:
java.io.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

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

numChildren

protected int numChildren()
Overrides:
numChildren in class AbstractXMLRepresentable

setString

public void setString(java.lang.String value)

getString

public java.lang.String getString()