Class DChoicePattern
- java.lang.Object
 - 
- org.kohsuke.rngom.rngparser.digested.DPattern
 - 
- org.kohsuke.rngom.rngparser.digested.DContainerPattern
 - 
- org.kohsuke.rngom.rngparser.digested.DChoicePattern
 
 
 
 
- 
- All Implemented Interfaces:
 java.lang.Iterable<DPattern>,ParsedPattern
public class DChoicePattern extends DContainerPattern
<choice> pattern. 
- 
- 
Constructor Summary
Constructors Constructor Description DChoicePattern() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> Vaccept(DPatternVisitor<V> visitor)booleanisNullable()Returns true if this pattern is nullable.- 
Methods inherited from class org.kohsuke.rngom.rngparser.digested.DContainerPattern
countChildren, firstChild, iterator, lastChild 
- 
Methods inherited from class org.kohsuke.rngom.rngparser.digested.DPattern
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNext 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isNullable
public boolean isNullable()
Description copied from class:DPatternReturns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.- Specified by:
 isNullablein classDPattern
 
- 
accept
public <V> V accept(DPatternVisitor<V> visitor)
 
 - 
 
 -