org.jboss.seam.remoting.annotationparser.syntaxtree
Class NodeListOptional

java.lang.Object
  extended by org.jboss.seam.remoting.annotationparser.syntaxtree.NodeListOptional
All Implemented Interfaces:
Serializable, Node, NodeListInterface

public class NodeListOptional
extends Object
implements NodeListInterface

Represents an optional grammar list, e.g. ( A )*

See Also:
Serialized Form

Field Summary
 Vector<Node> nodes
           
 
Constructor Summary
NodeListOptional()
           
NodeListOptional(Node firstNode)
           
 
Method Summary
<R> R
accept(GJNoArguVisitor<R> v)
           
<R,A> R
accept(GJVisitor<R,A> v, A argu)
           
<A> void
accept(GJVoidVisitor<A> v, A argu)
           
 void accept(Visitor v)
           
 void addNode(Node n)
           
 Node elementAt(int i)
           
 Enumeration<Node> elements()
           
 boolean present()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

public Vector<Node> nodes
Constructor Detail

NodeListOptional

public NodeListOptional()

NodeListOptional

public NodeListOptional(Node firstNode)
Method Detail

addNode

public void addNode(Node n)
Specified by:
addNode in interface NodeListInterface

elements

public Enumeration<Node> elements()
Specified by:
elements in interface NodeListInterface

elementAt

public Node elementAt(int i)
Specified by:
elementAt in interface NodeListInterface

size

public int size()
Specified by:
size in interface NodeListInterface

present

public boolean present()

accept

public void accept(Visitor v)
Specified by:
accept in interface Node
Specified by:
accept in interface NodeListInterface

accept

public <R,A> R accept(GJVisitor<R,A> v,
                      A argu)
Specified by:
accept in interface Node
Specified by:
accept in interface NodeListInterface

accept

public <R> R accept(GJNoArguVisitor<R> v)
Specified by:
accept in interface Node
Specified by:
accept in interface NodeListInterface

accept

public <A> void accept(GJVoidVisitor<A> v,
                       A argu)
Specified by:
accept in interface Node
Specified by:
accept in interface NodeListInterface


Copyright © 2011 Seam Framework. All Rights Reserved.