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.Object
accept(DPatternVisitor visitor)
java.lang.String
getName()
Gets the name of the target.DDefine
getTarget()
Gets theDDefine
that this block refers to.boolean
isNullable()
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: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
-
getName
public java.lang.String getName()
Gets the name of the target.
-
accept
public java.lang.Object accept(DPatternVisitor visitor)
-
-