public class Graph extends Object
Java class for GraphType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GraphType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="node" type="{http://graphml.graphdrawing.org/xmlns}NodeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="edge" type="{http://graphml.graphdrawing.org/xmlns}EdgeType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="edgedefault" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Edge> |
edge |
protected String |
edgedefault |
protected String |
id |
protected List<Node> |
node |
| Constructor and Description |
|---|
Graph() |
| Modifier and Type | Method and Description |
|---|---|
List<Edge> |
getEdge()
Gets the value of the edge property.
|
String |
getEdgedefault()
Gets the value of the edgedefault property.
|
String |
getId()
Gets the value of the id property.
|
List<Node> |
getNode()
Gets the value of the node property.
|
void |
setEdgedefault(String value)
Sets the value of the edgedefault property.
|
void |
setId(String value)
Sets the value of the id property.
|
public List<Node> getNode()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the node property.
For example, to add a new item, do as follows:
getNode().add(newItem);
Objects of the following type(s) are allowed in the list
Node
public List<Edge> getEdge()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the edge property.
For example, to add a new item, do as follows:
getEdge().add(newItem);
Objects of the following type(s) are allowed in the list
Edge
public void setId(String value)
value - allowed object is
Stringpublic String getEdgedefault()
StringCopyright © 2007–2017 Andreas W. Bartels. All rights reserved.