All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kohsuke.rngom.digested.DInterleavePattern Maven / Gradle / Ivy

package org.kohsuke.rngom.digested;



/**
 * @author Kohsuke Kawaguchi ([email protected])
 */
public class DInterleavePattern extends DContainerPattern {
    public boolean isNullable() {
        for( DPattern p=firstChild(); p!=null; p=p.next )
            if(!p.isNullable())
                return false;
        return true;
    }
    public Object accept( DPatternVisitor visitor ) {
        return visitor.onInterleave(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy