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:
Iterable<DPattern>,ParsedPattern
<choice> pattern.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> Vaccept(DPatternVisitor<V> visitor) booleanReturns true if this pattern is nullable.Methods inherited from class org.kohsuke.rngom.rngparser.digested.DContainerPattern
countChildren, firstChild, iterator, lastChildMethods inherited from class org.kohsuke.rngom.rngparser.digested.DPattern
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DChoicePattern
public DChoicePattern()
-
-
Method Details
-
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
-