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
- Author:
- Kohsuke Kawaguchi ([email protected])
-
Constructor Summary
-
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 com.sun.tools.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
-