Package org.kohsuke.rngom.digested
Class DTextPattern
java.lang.Object
org.kohsuke.rngom.digested.DPattern
org.kohsuke.rngom.digested.DTextPattern
- 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.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
-
Constructor Details
-
DTextPattern
public DTextPattern()
-
-
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
-