|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.io.gml.DefaultParserFactory
This class is an implementation of the ParserFactory interface. This implementation is capable of parsing the basic gml features. The work is delegated to instances of GraphParser, NodeParser and EdgeParser
Constructor Summary | |
DefaultParserFactory()
|
Method Summary | |
GMLTokenizer.Callback |
createEdgeParser(Graph2D graph,
GMLTokenizer.Callback graphParser)
return a parser which is capable of parsing the graph.edge scope and putting the result into a graph |
GMLTokenizer.Callback |
createGMLParser(Graph2D graph)
return a parser which is capable of parsing a gml stream and putting the result into a graph |
GMLTokenizer.Callback |
createGraphParser(Graph2D graph,
GMLTokenizer.Callback gmlParser)
return a parser which is capable of parsing the graph scope and putting the result into a graph |
GMLTokenizer.Callback |
createNodeParser(Graph2D graph,
GMLTokenizer.Callback graphParser)
return a parser which is capable of parsing the graph.node scope and putting the result into a graph |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultParserFactory()
Method Detail |
public GMLTokenizer.Callback createEdgeParser(Graph2D graph, GMLTokenizer.Callback graphParser)
ParserFactory
createEdgeParser
in interface ParserFactory
graph
- the graph which will be modified by this parser
public GMLTokenizer.Callback createGMLParser(Graph2D graph)
ParserFactory
createGMLParser
in interface ParserFactory
graph
- the graph which will be modified by this parser
public GMLTokenizer.Callback createGraphParser(Graph2D graph, GMLTokenizer.Callback gmlParser)
ParserFactory
createGraphParser
in interface ParserFactory
graph
- the graph which will be modified by this parser
public GMLTokenizer.Callback createNodeParser(Graph2D graph, GMLTokenizer.Callback graphParser)
ParserFactory
createNodeParser
in interface ParserFactory
graph
- the graph which will be modified by this parser
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |