Package io.inversion.script.velocity
Class LayoutDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.velocity.runtime.directive.InputBase
org.apache.velocity.runtime.directive.Parse
io.inversion.script.velocity.LayoutDirective
- All Implemented Interfaces:
Cloneable,org.apache.velocity.runtime.directive.DirectiveConstants
public class LayoutDirective
extends org.apache.velocity.runtime.directive.Parse
-
Field Summary
Fields inherited from class org.apache.velocity.runtime.directive.Parse
strictRefFields inherited from class org.apache.velocity.runtime.directive.Directive
log, rsvcFields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants
BLOCK, LINE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.velocity.runtime.directive.Parse
checkArgs, getScopeName, initMethods inherited from class org.apache.velocity.runtime.directive.InputBase
getInputEncodingMethods inherited from class org.apache.velocity.runtime.directive.Directive
getColumn, getLine, getTemplate, getTemplateName, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocation
-
Constructor Details
-
LayoutDirective
public LayoutDirective()
-
-
Method Details
-
getName
- Overrides:
getNamein classorg.apache.velocity.runtime.directive.Parse
-
getType
public int getType()- Overrides:
getTypein classorg.apache.velocity.runtime.directive.Parse
-
render
public boolean render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node) throws IOException, org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.ParseErrorException, org.apache.velocity.exception.MethodInvocationException - Overrides:
renderin classorg.apache.velocity.runtime.directive.Parse- Throws:
IOExceptionorg.apache.velocity.exception.ResourceNotFoundExceptionorg.apache.velocity.exception.ParseErrorExceptionorg.apache.velocity.exception.MethodInvocationException
-