public class GraphMl extends Object
Java class for graphml element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="graphml">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key" type="{http://graphml.graphdrawing.org/xmlns}KeyType" maxOccurs="unbounded" minOccurs="0"/>
<element name="graph" type="{http://graphml.graphdrawing.org/xmlns}GraphType"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
graph |
protected List<Key> |
key |
| Constructor and Description |
|---|
GraphMl() |
| Modifier and Type | Method and Description |
|---|---|
Graph |
getGraph()
Gets the value of the graph property.
|
List<Key> |
getKey()
Gets the value of the key property.
|
void |
setGraph(Graph value)
Sets the value of the graph property.
|
public List<Key> getKey()
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 key property.
For example, to add a new item, do as follows:
getKey().add(newItem);
Objects of the following type(s) are allowed in the list
Key
public Graph getGraph()
GraphCopyright © 2007–2019 Andreas W. Bartels. All rights reserved.