Class KeyElementParser<G extends Hypergraph<V,E>,V,E>
- java.lang.Object
-
- edu.uci.ics.jung.io.graphml.parser.AbstractElementParser<G,V,E>
-
- edu.uci.ics.jung.io.graphml.parser.KeyElementParser<G,V,E>
-
- All Implemented Interfaces:
ElementParser
public class KeyElementParser<G extends Hypergraph<V,E>,V,E> extends AbstractElementParser<G,V,E>
Parses key elements.
-
-
Constructor Summary
Constructors Constructor Description KeyElementParser(ParserContext<G,V,E> parserContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Key.ForType
convertFor(java.lang.String value)
Key
parse(javax.xml.stream.XMLEventReader xmlEventReader, javax.xml.stream.events.StartElement start)
-
Methods inherited from class edu.uci.ics.jung.io.graphml.parser.AbstractElementParser
applyKeys, getParser, getParserContext, getUnknownParser, verifyMatch
-
-
-
-
Constructor Detail
-
KeyElementParser
public KeyElementParser(ParserContext<G,V,E> parserContext)
-
-
Method Detail
-
parse
public Key parse(javax.xml.stream.XMLEventReader xmlEventReader, javax.xml.stream.events.StartElement start) throws GraphIOException
- Throws:
GraphIOException
-
convertFor
public static Key.ForType convertFor(java.lang.String value)
-
-