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

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

public class NodeChoice
extends Object
implements Node

Represents a grammar choice, e.g. ( A | B )

See Also:
Serialized Form

Field Summary
 Node choice
           
 int which
           
 
Constructor Summary
NodeChoice(Node node)
           
NodeChoice(Node node, int whichChoice)
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

choice

public Node choice

which

public int which
Constructor Detail

NodeChoice

public NodeChoice(Node node)

NodeChoice

public NodeChoice(Node node,
                  int whichChoice)
Method Detail

accept

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

accept

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

accept

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

accept

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


Copyright © 2011 Seam Framework. All Rights Reserved.