org.graffiti.plugins.ios.gml.gmlReader.gml
Class Gml

java.lang.Object
  extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
      extended by org.graffiti.plugins.ios.gml.gmlReader.gml.Gml

public class Gml
extends GmlParsableItem

The class Gml represents a graph in the graph modelling language GML.

Author:
ruediger

Constructor Summary
Gml(int line, GmlNodeStyle nodeStyle, GmlEdgeStyle edgeStyle, GmlList list, List<String> errors)
          Constructs a new Gml instance.
 
Method Summary
 GmlEdgeStyle getEdgeStyle()
          Returns the edge style declared in the GML file, null if there was none declared.
 List<String> getErrors()
          Returns the list of errors the parser detected in the file.
 GmlList getList()
          Returns the list of attributes, nodes and edges declared in the GML file.
 GmlNodeStyle getNodeStyle()
          Returns the node style declared in the GML file, null if there was none declared.
 
Methods inherited from class org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
getLine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gml

public Gml(int line,
           GmlNodeStyle nodeStyle,
           GmlEdgeStyle edgeStyle,
           GmlList list,
           List<String> errors)
Constructs a new Gml instance.

Parameters:
line - the line in which the graph was declared.
nodeStyle - the node style of the graph.
edgeStyle - the edge style of the graph.
list - the list of errors that occured during parsing.
errors - DOCUMENT ME!
Method Detail

getEdgeStyle

public GmlEdgeStyle getEdgeStyle()
Returns the edge style declared in the GML file, null if there was none declared.

Returns:
the edge style declared in the GML file, null if there was none declared.

getErrors

public List<String> getErrors()
Returns the list of errors the parser detected in the file.

Returns:
the list of errors the parser detected in the file.

getList

public GmlList getList()
Returns the list of attributes, nodes and edges declared in the GML file.

Returns:
the list of attributes, nodes and edges declared in the GML file.

getNodeStyle

public GmlNodeStyle getNodeStyle()
Returns the node style declared in the GML file, null if there was none declared.

Returns:
the node style declared in the GML file, null if there was none declared.


Generated at 2012-05-30 11:01:25 PM CEST