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

    strictRef

    Fields inherited from class org.apache.velocity.runtime.directive.Directive

    log, rsvc

    Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants

    BLOCK, LINE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    boolean
    render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node)
     

    Methods inherited from class org.apache.velocity.runtime.directive.Parse

    checkArgs, getScopeName, init

    Methods inherited from class org.apache.velocity.runtime.directive.InputBase

    getInputEncoding

    Methods inherited from class org.apache.velocity.runtime.directive.Directive

    getColumn, getLine, getTemplate, getTemplateName, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LayoutDirective

      public LayoutDirective()
  • Method Details

    • getName

      public String getName()
      Overrides:
      getName in class org.apache.velocity.runtime.directive.Parse
    • getType

      public int getType()
      Overrides:
      getType in class org.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:
      render in class org.apache.velocity.runtime.directive.Parse
      Throws:
      IOException
      org.apache.velocity.exception.ResourceNotFoundException
      org.apache.velocity.exception.ParseErrorException
      org.apache.velocity.exception.MethodInvocationException