Class VelocityJspFragment
java.lang.Object
javax.servlet.jsp.tagext.JspFragment
org.apache.velocity.tools.view.jsp.jspimpl.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
ConstructorsConstructorDescriptionVelocityJspFragment(javax.servlet.jsp.PageContext pageContext, org.apache.velocity.runtime.parser.node.ASTBlock block, org.apache.velocity.context.InternalContextAdapter context) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.jsp.JspContextvoid
-
Constructor Details
-
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 Details
-
invoke
- Specified by:
invokein classjavax.servlet.jsp.tagext.JspFragment- Throws:
javax.servlet.jsp.JspExceptionIOException
-
getJspContext
public javax.servlet.jsp.JspContext getJspContext()- Specified by:
getJspContextin classjavax.servlet.jsp.tagext.JspFragment
-