biouml.plugins.gxl
Class GxlParserContext

java.lang.Object
  extended bybiouml.plugins.gxl.GxlParserContext
Direct Known Subclasses:
GinSimParserContext

public class GxlParserContext
extends java.lang.Object

The simpliest implementation of SAX parser context for parsing supported sibset of GXL. Possible further support of hypergraphs will require stack-implemented context.


Field Summary
protected  Edge currentEdge
           
protected  Node currentNode
           
 
Constructor Summary
GxlParserContext()
           
 
Method Summary
 void enterEdgeContext(Edge edge)
           
 void enterNodeContext(Node node)
           
 Edge getEdgeContext()
           
 Node getNodeContext()
           
 void leaveEdgeContext()
           
 void leaveNodeContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentNode

protected Node currentNode

currentEdge

protected Edge currentEdge
Constructor Detail

GxlParserContext

public GxlParserContext()
Method Detail

enterNodeContext

public void enterNodeContext(Node node)

getNodeContext

public Node getNodeContext()

leaveNodeContext

public void leaveNodeContext()

enterEdgeContext

public void enterEdgeContext(Edge edge)

getEdgeContext

public Edge getEdgeContext()

leaveEdgeContext

public void leaveEdgeContext()


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.