Class GXLGraphAPIImpl

java.lang.Object
GCF.DefaultImpl3.GXLStandardAPI
GCF.DefaultImpl3.GXLGraphAPIImpl

public class GXLGraphAPIImpl extends GXLStandardAPI
An abstract class to represent the graph-Construct of the GXL-DTD. See "inherited" for further information on the provided methods.
  • Constructor Details

    • GXLGraphAPIImpl

      public GXLGraphAPIImpl()
      Empty constructor.
  • Method Details

    • createNode

      public Object createNode()
      Method to create a child-element of type node (see GXL-DTD).
    • createEdge

      public Object createEdge()
      Method to create a child-element of type edge (see GXL-DTD).
    • createRel

      public Object createRel()
      Method to create a child-element of type rel (see GXL-DTD).
    • closeNode

      public void closeNode()
      Method to close a child-element of type node (see GXL-DTD).
    • closeEdge

      public void closeEdge()
      Method to close a child-element of type edge (see GXL-DTD).
    • closeRel

      public void closeRel()
      Method to close a child-element of type rel (see GXL-DTD).
    • setAttributeValue

      public void setAttributeValue(String attributeName, String value)
      Method to set an attribute-value (see GXL-DTD).
      Overrides:
      setAttributeValue in class GXLStandardAPI
    • getChildElements

      public Object getChildElements()
      Method to get the List of child elements.
      Overrides:
      getChildElements in class GXLStandardAPI
    • getAttributes

      public Object getAttributes()
      Method to return a specific attribute.
      Overrides:
      getAttributes in class GXLStandardAPI
    • toString

      public String toString()
      Overwrites method toString() of class Object.
      Overrides:
      toString in class Object