Class GraphmlType
public class GraphmlType
extends java.lang.Object
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}desc" minOccurs="0"/> <element ref="{http://graphml.graphdrawing.org/xmlns}key" 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>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
desc
protected java.util.List<java.lang.Object>
graphOrData
protected java.util.List<KeyType>
key
-
Constructor Summary
Constructors Constructor Description GraphmlType()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDesc()
Gets the value of the desc property.java.util.List<java.lang.Object>
getGraphOrData()
Gets the value of the graphOrData property.java.util.List<KeyType>
getKey()
Gets the value of the key property.void
setDesc(java.lang.String value)
Sets the value of the desc property.
-
Field Details
-
desc
protected java.lang.String desc -
key
-
graphOrData
protected java.util.List<java.lang.Object> graphOrData
-
-
Constructor Details
-
GraphmlType
public GraphmlType()
-
-
Method Details
-
getDesc
public java.lang.String getDesc()Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(java.lang.String value)Sets the value of the desc property.- Parameters:
value
- allowed object isString
-
getKey
Gets the value of the key property.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
KeyType
-
getGraphOrData
public java.util.List<java.lang.Object> getGraphOrData()Gets the value of the graphOrData property.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 graphOrData property.For example, to add a new item, do as follows:
getGraphOrData().add(newItem);
Objects of the following type(s) are allowed in the list
GraphType
DataType
-