Package org.kohsuke.rngom.digested
Class DListPattern
java.lang.Object
org.kohsuke.rngom.digested.DPattern
org.kohsuke.rngom.digested.DUnaryPattern
org.kohsuke.rngom.digested.DListPattern
- All Implemented Interfaces:
ParsedPattern
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept
(DPatternVisitor visitor) boolean
Returns true if this pattern is nullable.Methods inherited from class org.kohsuke.rngom.digested.DUnaryPattern
getChild, setChild
Methods inherited from class org.kohsuke.rngom.digested.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
-
Constructor Details
-
DListPattern
public DListPattern()
-
-
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
-