relaxngcc.grammar
Class ChoicePattern

java.lang.Object
  extended by relaxngcc.grammar.Pattern
      extended by relaxngcc.grammar.BinaryPattern
          extended by relaxngcc.grammar.ChoicePattern

public class ChoicePattern
extends BinaryPattern

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Field Summary
 
Fields inherited from class relaxngcc.grammar.BinaryPattern
p1, p2
 
Constructor Summary
ChoicePattern(ParserRuntime rt, Pattern p1, Pattern p2)
           
 
Method Summary
 java.lang.Object apply(PatternFunction f)
           
 
Methods inherited from class relaxngcc.grammar.BinaryPattern
getChildPatterns
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoicePattern

public ChoicePattern(ParserRuntime rt,
                     Pattern p1,
                     Pattern p2)
Method Detail

apply

public java.lang.Object apply(PatternFunction f)
Specified by:
apply in class Pattern