ist.palcom.communication.ast
Class URN

java.lang.Object
  extended by ist.palcom.communication.ast.ASTNode
      extended by ist.palcom.communication.ast.URN
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ThisProviderURN, ThisURN

public class URN
extends ASTNode
implements Cloneable


Field Summary
static String URN_PREFIX
          Perfix for PalCom URNs.
 
Fields inherited from class ist.palcom.communication.ast.ASTNode
CHANGE, children, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, LAST_CYCLE, numChildren, parent
 
Constructor Summary
URN()
           
URN(String urnString)
           
URN(String p0, String p1, URNLeaf p2)
           
 
Method Summary
 Object clone()
           
 ASTNode copy()
           
 URN createSubUrn(URNLeaf leaf)
           
 boolean equals(Object o)
           
 void flushCache()
           
 ASTNode fullCopy()
           
 String getDevicePart()
           
 URN getDeviceURN()
           
 URNLeaf getLeaf()
           
 URNLeaf getLeafNoTransform()
           
 String getParentPath()
           
 String getString()
           
 int hashCode()
           
protected  int numChildren()
           
 void setDevicePart(String value)
           
 void setLeaf(URNLeaf node)
           
 void setParentPath(String value)
           
 String 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
 

Field Detail

URN_PREFIX

public static final String URN_PREFIX
Perfix for PalCom URNs.

See Also:
Constant Field Values
Constructor Detail

URN

public URN()

URN

public URN(String p0,
           String p1,
           URNLeaf p2)

URN

public URN(String urnString)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class ASTNode
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 ASTNode

numChildren

protected int numChildren()
Overrides:
numChildren in class ASTNode

setDevicePart

public void setDevicePart(String value)

getDevicePart

public String getDevicePart()

setParentPath

public void setParentPath(String value)

getParentPath

public String getParentPath()

setLeaf

public void setLeaf(URNLeaf node)

getLeaf

public URNLeaf getLeaf()

getLeafNoTransform

public URNLeaf getLeafNoTransform()

toString

public String toString()
Overrides:
toString in class Object

getString

public String getString()

getDeviceURN

public URN getDeviceURN()
Returns:
The device URN part of this URN, as a new URN, or null if not defined.

createSubUrn

public URN createSubUrn(URNLeaf leaf)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object