Package org.kohsuke.rngom.digested
Class DRefPattern
java.lang.Object
org.kohsuke.rngom.digested.DPattern
org.kohsuke.rngom.digested.DRefPattern
- All Implemented Interfaces:
ParsedPattern
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept
(DPatternVisitor visitor) getName()
Gets the name of the target.Gets theDDefine
that this block refers to.boolean
Returns true if this pattern is nullable.Methods inherited from class org.kohsuke.rngom.digested.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
-
Constructor Details
-
DRefPattern
-
-
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
-
getTarget
Gets theDDefine
that this block refers to. -
getName
Gets the name of the target. -
accept
-