Class VelocityJspFragment


  • public class VelocityJspFragment
    extends javax.servlet.jsp.tagext.JspFragment
    Exposes a directive body block as a JspFragment, i.e. the body of SimpleTag.
    • Constructor Summary

      Constructors 
      Constructor Description
      VelocityJspFragment​(javax.servlet.jsp.PageContext pageContext, org.apache.velocity.runtime.parser.node.ASTBlock block, org.apache.velocity.context.InternalContextAdapter context)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.servlet.jsp.JspContext getJspContext()  
      void invoke​(java.io.Writer out)  
      • Methods inherited from class java.lang.Object

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

      • VelocityJspFragment

        public VelocityJspFragment​(javax.servlet.jsp.PageContext pageContext,
                                   org.apache.velocity.runtime.parser.node.ASTBlock block,
                                   org.apache.velocity.context.InternalContextAdapter context)
        Constructor.
        Parameters:
        pageContext - The page context to use.
        block - The block to wrap.
        context - The directive context.
    • Method Detail

      • invoke

        public void invoke​(java.io.Writer out)
                    throws javax.servlet.jsp.JspException,
                           java.io.IOException
        Specified by:
        invoke in class javax.servlet.jsp.tagext.JspFragment
        Throws:
        javax.servlet.jsp.JspException
        java.io.IOException
      • getJspContext

        public javax.servlet.jsp.JspContext getJspContext()
        Specified by:
        getJspContext in class javax.servlet.jsp.tagext.JspFragment