Package com.sun.tools.rngom.digested
Class DOneOrMorePattern
java.lang.Object
com.sun.tools.rngom.digested.DPattern
com.sun.tools.rngom.digested.DUnaryPattern
com.sun.tools.rngom.digested.DOneOrMorePattern
- All Implemented Interfaces:
ParsedPattern
- Author:
- Kohsuke Kawaguchi ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccept
(DPatternVisitor visitor) boolean
Returns true if this pattern is nullable.Methods inherited from class com.sun.tools.rngom.digested.DUnaryPattern
getChild, setChild
Methods inherited from class com.sun.tools.rngom.digested.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
-
Constructor Details
-
DOneOrMorePattern
public DOneOrMorePattern()
-
-
Method Details
-
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 classDPattern
-
accept
-