Class GraphMLParser
java.lang.Object
org.graffiti.plugins.ios.importers.graphml.parser.GraphMLParser
public class GraphMLParser extends Object
Class
GraphMLParser is responsible for setting up the XML
parsing environment. It instantiates an XML parser, sets the desired
properties and attatches the event handlers to the parser.- Author:
- ruediger
-
Constructor Summary
Constructors Constructor Description GraphMLParser()Constructs a newGraphMLParser. -
Method Summary
-
Constructor Details
-
GraphMLParser
public GraphMLParser()Constructs a newGraphMLParser.
-
-
Method Details
-
parse
Parses the givenInputStreamand adds the read in data to the givenGraph.- Parameters:
in- theInputStreamfrom which to read.g- theGraphto which to add the parsed data.- Throws:
IOException- if something fails during parsing.GraphMLException- if something fails during parsing.
-
parse
- Throws:
GraphMLExceptionIOException
-