Class DRefPattern
- java.lang.Object
-
- org.kohsuke.rngom.rngparser.digested.DPattern
-
- org.kohsuke.rngom.rngparser.digested.DRefPattern
-
- All Implemented Interfaces:
ParsedPattern
public class DRefPattern extends DPattern
-
-
Constructor Summary
Constructors Constructor Description DRefPattern(DDefine target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaccept(DPatternVisitor visitor)java.lang.StringgetName()Gets the name of the target.DDefinegetTarget()Gets theDDefinethat this block refers to.booleanisNullable()Returns true if this pattern is nullable.-
Methods inherited from class org.kohsuke.rngom.rngparser.digested.DPattern
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNext
-
-
-
-
Constructor Detail
-
DRefPattern
public DRefPattern(DDefine target)
-
-
Method Detail
-
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
-
getName
public java.lang.String getName()
Gets the name of the target.
-
accept
public java.lang.Object accept(DPatternVisitor visitor)
-
-