dk.brics.servletvalidator.flowgraph
Class AbstractNode

java.lang.Object
  extended by dk.brics.servletvalidator.flowgraph.AbstractNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
AppendNode, EntryNode, InvokeNode, NopNode

public abstract class AbstractNode
extends Object
implements Node

The abstract node class is a super class of the different nodes in the flowgraph that contains the methods to keep track of sucessors of a node.


Constructor Summary
AbstractNode()
           
 
Method Summary
 void addSucessor(Node n)
          Adds a sucessor node to this node
 List<Node> getSuccessors()
          returns the collection of successors of this node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dk.brics.servletvalidator.flowgraph.Node
accept
 

Constructor Detail

AbstractNode

public AbstractNode()
Method Detail

addSucessor

public void addSucessor(Node n)
Description copied from interface: Node
Adds a sucessor node to this node

Specified by:
addSucessor in interface Node

getSuccessors

public List<Node> getSuccessors()
Description copied from interface: Node
returns the collection of successors of this node

Specified by:
getSuccessors in interface Node
Returns:


Copyright © 2008 Mathias Schwarz.