01: package org.kohsuke.rngom.digested;
02:
03: /**
04: * @author Kohsuke Kawaguchi (kk@kohsuke.org)
05: */
06: public class DOneOrMorePattern extends DUnaryPattern {
07: public boolean isNullable() {
08: return getChild().isNullable();
09: }
10:
11: public Object accept(DPatternVisitor visitor) {
12: return visitor.onOneOrMore(this);
13: }
14: }
|