dk.brics.relaxng
Class ChoicePattern
java.lang.Object
   dk.brics.relaxng.Pattern
dk.brics.relaxng.Pattern
       dk.brics.relaxng.MultiContentPattern
dk.brics.relaxng.MultiContentPattern
           dk.brics.relaxng.ChoicePattern
dk.brics.relaxng.ChoicePattern
- public class ChoicePattern 
- extends MultiContentPattern
<choice> pattern* </choice>
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ChoicePattern
public ChoicePattern(List<Pattern> ps,
                     Origin origin)
- Constructs a new choice pattern.
 
- Parameters:
- ps- list of patterns
- origin- source information (null if not applicable)
 
process
public <T> T process(PatternProcessor<T> v)
- Description copied from class: Pattern
- Applies the given pattern processor on this pattern.
 
- 
- Specified by:
- processin class- Pattern
 
- 
- Type Parameters:
- T- return type
- Parameters:
- v- pattern processor
- Returns:
- result from processor
 
 Copyright © 2005-2010 Anders Møller.