org.cesta.parsers.dot
Class DotTree.Node
java.lang.Object
org.cesta.parsers.dot.DotTree.Node
- Enclosing class:
- DotTree
public class DotTree.Node
- extends java.lang.Object
Model simple node with id and attributes.
Field Summary |
java.util.Map<java.lang.String,java.lang.String> |
attributes
|
java.lang.String |
id
|
Constructor Summary |
DotTree.Node(java.lang.String id)
|
DotTree.Node(java.lang.String id,
java.util.Map<java.lang.String,java.lang.String> attributes)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
id
public java.lang.String id
attributes
public java.util.Map<java.lang.String,java.lang.String> attributes
DotTree.Node
public DotTree.Node(java.lang.String id)
DotTree.Node
public DotTree.Node(java.lang.String id,
java.util.Map<java.lang.String,java.lang.String> attributes)
setId
public void setId(java.lang.String id)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object