edu.uci.ics.jung.io
Class GraphMLFileHandler<V,E>

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by edu.uci.ics.jung.io.GraphMLFileHandler<V,E>
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

Deprecated. As of JUNG 2.0 beta, replaced with GraphMLReader and GraphMLWriter.

public class GraphMLFileHandler<V,E>
extends DefaultHandler

The default GraphML file handler to use to parse the xml file.

Author:
Scott White, Tom Nelson - converted to jung2

Constructor Summary
GraphMLFileHandler( graphFactory,  vertexFactory,  edgeFactory)
          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

GraphMLFileHandler

public GraphMLFileHandler( graphFactory,
                           vertexFactory,
                           edgeFactory)
Deprecated. 
The default constructor

Method Detail

getGraph

protected Graph<V,E> getGraph()
Deprecated. 

getLabeller

protected Map<String,V> getLabeller()
Deprecated. 

createEdge

protected E createEdge(Map<String,String> attributeMap)
Deprecated. 

createGraph

protected void createGraph(Map<String,String> attributeMap)
Deprecated. 

createVertex

protected V createVertex(Map<String,String> attributeMap)
Deprecated. 

startElement

public void startElement(String namespaceURI,
                         String lName,
                         String qName,
                         Attributes attrs)
Deprecated. 
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

getEdgeAttributes

public Map<E,Map<String,String>> getEdgeAttributes()
Deprecated. 
Returns:
the edgeAttributes

getGraphAttributes

public Map<String,String> getGraphAttributes()
Deprecated. 
Returns:
the graphAttributes

getVertexAttributes

public Map<V,Map<String,String>> getVertexAttributes()
Deprecated. 
Returns:
the vertexAttributes


Copyright © 2008 null. All Rights Reserved.