org.cateproject.view.velocity
Class CateBlockDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.cateproject.view.velocity.CateBlockDirective
- All Implemented Interfaces:
- Cloneable, org.apache.velocity.runtime.directive.DirectiveConstants
- Direct Known Subclasses:
- CateSpringBindDirective, CateSpringErrorsDirective
public abstract class CateBlockDirective
- extends org.apache.velocity.runtime.directive.Directive
| Fields inherited from class org.apache.velocity.runtime.directive.Directive |
rsvc |
| Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants |
BLOCK, LINE |
|
Method Summary |
protected static String |
getArgument(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node,
int parameter)
|
int |
getType()
|
void |
init(org.apache.velocity.runtime.RuntimeServices runtimeServices,
org.apache.velocity.context.InternalContextAdapter internalContextAdapter,
org.apache.velocity.runtime.parser.node.Node node)
|
| Methods inherited from class org.apache.velocity.runtime.directive.Directive |
getColumn, getLine, getName, getScopeName, getTemplateName, isScopeProvided, makeScope, postRender, preRender, render, setLocation, setLocation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CateBlockDirective
public CateBlockDirective(String... parameters)
getType
public int getType()
- Specified by:
getType in class org.apache.velocity.runtime.directive.Directive
init
public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices,
org.apache.velocity.context.InternalContextAdapter internalContextAdapter,
org.apache.velocity.runtime.parser.node.Node node)
throws org.apache.velocity.exception.TemplateInitException
- Overrides:
init in class org.apache.velocity.runtime.directive.Directive
- Throws:
org.apache.velocity.exception.TemplateInitException
getArgument
protected static String getArgument(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node,
int parameter)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.