Class GraphmlType

java.lang.Object
org.graphdrawing.graphml.GraphmlType

public class GraphmlType extends Object
Complex type for the element.

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 Details

  • Constructor Details

    • GraphmlType

      public GraphmlType()
  • Method Details

    • getDesc

      public String getDesc()
      Gets the value of the desc property.
      Returns:
      possible object is String
    • setDesc

      public void setDesc(String value)
      Sets the value of the desc property.
      Parameters:
      value - allowed object is String
    • getKey

      public List<KeyType> 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 List<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