Class DRefPattern
java.lang.Object
org.kohsuke.rngom.rngparser.digested.DPattern
org.kohsuke.rngom.rngparser.digested.DRefPattern
- All Implemented Interfaces:
ParsedPattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(DPatternVisitor visitor) getName()Gets the name of the target.Gets theDDefinethat this block refers to.booleanReturns true if this pattern is nullable.Methods inherited from class org.kohsuke.rngom.rngparser.digested.DPattern
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNext
-
Constructor Details
-
DRefPattern
-
-
Method Details
-
isNullable
public boolean isNullable()Description copied from class:DPatternReturns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence.- Specified by:
isNullablein classDPattern
-
getTarget
Gets theDDefinethat this block refers to. -
getName
Gets the name of the target. -
accept
-