org.kohsuke.rngom.digested
Class DRefPattern

java.lang.Object
  extended by org.kohsuke.rngom.digested.DPattern
      extended by org.kohsuke.rngom.digested.DRefPattern
All Implemented Interfaces:
ParsedPattern

public class DRefPattern
extends DPattern

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
DRefPattern(DDefine target)
           
 
Method Summary
 Object accept(DPatternVisitor visitor)
           
 String getName()
          Gets the name of the target.
 DDefine getTarget()
          Gets the DDefine that this block refers to.
 boolean isNullable()
          Returns true if this pattern is nullable.
 
Methods inherited from class org.kohsuke.rngom.digested.DPattern
createParseable, getAnnotation, getLocation, isAttribute, isElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class DPattern

getTarget

public DDefine getTarget()
Gets the DDefine that this block refers to.


getName

public String getName()
Gets the name of the target.


accept

public Object accept(DPatternVisitor visitor)
Specified by:
accept in class DPattern


Copyright © 2011. All Rights Reserved.