org.kohsuke.rngom.digested
Class DInterleavePattern

java.lang.Object
  extended by org.kohsuke.rngom.digested.DPattern
      extended by org.kohsuke.rngom.digested.DContainerPattern
          extended by org.kohsuke.rngom.digested.DInterleavePattern
All Implemented Interfaces:
java.lang.Iterable<DPattern>, ParsedPattern

public class DInterleavePattern
extends DContainerPattern

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
DInterleavePattern()
           
 
Method Summary
 java.lang.Object accept(DPatternVisitor visitor)
           
 boolean isNullable()
          Returns true if this pattern is nullable.
 
Methods inherited from class org.kohsuke.rngom.digested.DContainerPattern
countChildren, firstChild, iterator, lastChild
 
Methods inherited from class org.kohsuke.rngom.digested.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DInterleavePattern

public DInterleavePattern()
Method Detail

isNullable

public boolean isNullable()
Description copied from class: DPattern
Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.

Specified by:
isNullable in class DPattern

accept

public java.lang.Object accept(DPatternVisitor visitor)
Specified by:
accept in class DPattern