net.sourceforge.pmd.lang.vm.directive
Class Define

java.lang.Object
  extended by net.sourceforge.pmd.lang.vm.directive.Directive
      extended by net.sourceforge.pmd.lang.vm.directive.Block
          extended by net.sourceforge.pmd.lang.vm.directive.Define
All Implemented Interfaces:
Cloneable

public class Define
extends Block

Directive that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.

Version:
$Id: Define.java 686842 2008-08-18 18:29:31Z nbubna $
Author:
Andrew Tetlaw, Nathan Bubna

Field Summary
 
Fields inherited from class net.sourceforge.pmd.lang.vm.directive.Block
key
 
Fields inherited from class net.sourceforge.pmd.lang.vm.directive.Directive
BLOCK, LINE
 
Constructor Summary
Define()
           
 
Method Summary
 String getName()
          Return name of this directive.
 
Methods inherited from class net.sourceforge.pmd.lang.vm.directive.Block
getType
 
Methods inherited from class net.sourceforge.pmd.lang.vm.directive.Directive
getColumn, getLine, getScopeName, getTemplateName, isScopeProvided, setLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Define

public Define()
Method Detail

getName

public String getName()
Return name of this directive.

Specified by:
getName in class Directive
Returns:
The name of this directive.


Copyright © 2002–2015 InfoEther. All rights reserved.