Package com.sun.tools.rngom.digested
Class DRefPattern
- java.lang.Object
-
- com.sun.tools.rngom.digested.DPattern
-
- com.sun.tools.rngom.digested.DRefPattern
-
- All Implemented Interfaces:
ParsedPattern
public class DRefPattern extends DPattern
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
-
Constructor Summary
Constructors Constructor Description DRefPattern(DDefine target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(DPatternVisitor visitor)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 com.sun.tools.rngom.digested.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
-
-
-
-
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 String getName()
Gets the name of the target.
-
accept
public Object accept(DPatternVisitor visitor)
-
-