public class Edge extends Object
Modifier and Type | Field and Description |
---|---|
private String |
mChild
The parent of the child
|
private String |
mLabel
The edge label for the parent child relationship.
|
private String |
mParent
The parent of the parent
|
Constructor and Description |
---|
Edge(Edge e) |
Edge(String parent,
String child) |
Edge(String parent,
String child,
String label) |
Modifier and Type | Method and Description |
---|---|
Edge |
clone() |
boolean |
equals(Object o) |
String |
getChild() |
String |
getLabel() |
String |
getParent() |
int |
hashCode() |
void |
setChild(String child) |
void |
setLabel(String label) |
void |
setParent(String parent) |
String |
toString() |
void |
toXML(XMLWriter writer) |
void |
toXML(XMLWriter writer,
int indent) |
void |
toXMLParent(XMLWriter writer) |
void |
toXMLParent(XMLWriter writer,
int indent) |
private String mChild
private String mParent
private String mLabel
public Edge(Edge e)
public String getParent()
public void setParent(String parent)
parent
- the parent of the edge to setpublic String getChild()
public void setChild(String child)
parent
- the child of the edge to setpublic String getLabel()
public void setLabel(String label)
label
- the label to setpublic void toXML(XMLWriter writer)
public void toXMLParent(XMLWriter writer)
public void toXML(XMLWriter writer, int indent)
public void toXMLParent(XMLWriter writer, int indent)