edu.uci.ics.jung.io.graphml.parser
Class ParserContext<G extends Hypergraph<V,E>,V,E>
java.lang.Object
edu.uci.ics.jung.io.graphml.parser.ParserContext<G,V,E>
- Type Parameters:
G
- The graph typeV
- The vertex typeE
- The edge type
public class ParserContext<G extends Hypergraph<V,E>,V,E>
- extends Object
Provides resources related to the current parsing context.
- Author:
- Nathan Mittler - nathan.mittler@gmail.com
Constructor Summary |
ParserContext(ElementParserRegistry<G,V,E> elementParserRegistry,
KeyMap keyMap,
org.apache.commons.collections15.Transformer<GraphMetadata,G> graphTransformer,
org.apache.commons.collections15.Transformer<NodeMetadata,V> vertexTransformer,
org.apache.commons.collections15.Transformer<EdgeMetadata,E> edgeTransformer,
org.apache.commons.collections15.Transformer<HyperEdgeMetadata,E> hyperEdgeTransformer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserContext
public ParserContext(ElementParserRegistry<G,V,E> elementParserRegistry,
KeyMap keyMap,
org.apache.commons.collections15.Transformer<GraphMetadata,G> graphTransformer,
org.apache.commons.collections15.Transformer<NodeMetadata,V> vertexTransformer,
org.apache.commons.collections15.Transformer<EdgeMetadata,E> edgeTransformer,
org.apache.commons.collections15.Transformer<HyperEdgeMetadata,E> hyperEdgeTransformer)
getElementParserRegistry
public ElementParserRegistry<G,V,E> getElementParserRegistry()
getKeyMap
public KeyMap getKeyMap()
createGraph
public G createGraph(GraphMetadata metadata)
createVertex
public V createVertex(NodeMetadata metadata)
createEdge
public E createEdge(EdgeMetadata metadata)
createHyperEdge
public E createHyperEdge(HyperEdgeMetadata metadata)
Copyright © 2009. All Rights Reserved.