edu.uci.ics.jung.io.graphml.parser
Class AbstractElementParser<G extends Hypergraph<V,E>,V,E>
java.lang.Object
edu.uci.ics.jung.io.graphml.parser.AbstractElementParser<G,V,E>
- All Implemented Interfaces:
- ElementParser
- Direct Known Subclasses:
- DataElementParser, EdgeElementParser, EndpointElementParser, GraphElementParser, HyperEdgeElementParser, KeyElementParser, NodeElementParser, PortElementParser, StringElementParser
public abstract class AbstractElementParser<G extends Hypergraph<V,E>,V,E>
- extends Object
- implements ElementParser
Base class for element parsers - provides some minimal functionality.
- Author:
- Nathan Mittler - nathan.mittler@gmail.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractElementParser
protected AbstractElementParser(ParserContext<G,V,E> parserContext)
getParserContext
public ParserContext<G,V,E> getParserContext()
getParser
public ElementParser getParser(String localName)
applyKeys
public void applyKeys(Metadata metadata)
getUnknownParser
public ElementParser getUnknownParser()
verifyMatch
protected void verifyMatch(StartElement start,
EndElement end)
throws GraphIOException
- Throws:
GraphIOException
Copyright © 2009. All Rights Reserved.