|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
edu.uci.ics.jung.io.GraphMLFileHandler<V,E>
GraphMLReader
and GraphMLWriter
.
public class GraphMLFileHandler<V,E>
The default GraphML file handler to use to parse the xml file.
Constructor Summary | |
---|---|
GraphMLFileHandler(
Deprecated. The default constructor |
Method Summary | |
---|---|
protected E |
createEdge(Map<String,String> attributeMap)
Deprecated. |
protected void |
createGraph(Map<String,String> attributeMap)
Deprecated. |
protected V |
createVertex(Map<String,String> attributeMap)
Deprecated. |
Map<E,Map<String,String>> |
getEdgeAttributes()
Deprecated. |
protected Graph<V,E> |
getGraph()
Deprecated. |
Map<String,String> |
getGraphAttributes()
Deprecated. |
protected Map<String,V> |
getLabeller()
Deprecated. |
Map<V,Map<String,String>> |
getVertexAttributes()
Deprecated. |
void |
startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs)
Deprecated. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphMLFileHandler(graphFactory, vertexFactory, edgeFactory)
Method Detail |
---|
protected Graph<V,E> getGraph()
protected Map<String,V> getLabeller()
protected E createEdge(Map<String,String> attributeMap)
protected void createGraph(Map<String,String> attributeMap)
protected V createVertex(Map<String,String> attributeMap)
public void startElement(String namespaceURI, String lName, String qName, Attributes attrs)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public Map<E,Map<String,String>> getEdgeAttributes()
public Map<String,String> getGraphAttributes()
public Map<V,Map<String,String>> getVertexAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |