public class GraphMLDocument extends Object implements IKeyDataContainer
Java class for graphml.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="graphml.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://graphml.graphdrawing.org/xmlns}description" minOccurs="0"/>
<element ref="{http://graphml.graphdrawing.org/xmlns}keys" maxOccurs="unbounded" minOccurs="0"/>
<sequence>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://graphml.graphdrawing.org/xmlns}graph"/>
<element ref="{http://graphml.graphdrawing.org/xmlns}data"/>
</choice>
</sequence>
</sequence>
<attGroup ref="{http://graphml.graphdrawing.org/xmlns}graphml.extra.attrib"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected List<Graph> |
graphs |
protected List<KeyData> |
keyData |
protected List<Key> |
keys |
| Constructor and Description |
|---|
GraphMLDocument() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
List<Graph> |
getGraphs()
Gets the value of the graphs property.
|
List<KeyData> |
getKeyData()
Gets the value of the data property.
|
List<Key> |
getKeys()
Gets the value of the keys property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
protected String description
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<Key> getKeys()
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 keys property.
For example, to add a new item, do as follows:
getKeys().add(newItem);
Objects of the following type(s) are allowed in the list
Key
public List<KeyData> getKeyData()
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 graphs property.
For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
KeyData
getKeyData in interface IKeyDataContainerpublic List<Graph> getGraphs()
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 graphs property.
For example, to add a new item, do as follows:
getGraphs().add(newItem);
Objects of the following type(s) are allowed in the list
Graph