org.apache.velocity.tools.view.jsp.jspimpl
Class VelocityJspFragment
java.lang.Object
javax.servlet.jsp.tagext.JspFragment
org.apache.velocity.tools.view.jsp.jspimpl.VelocityJspFragment
public class VelocityJspFragment
- extends JspFragment
Exposes a directive body block as a JspFragment, i.e. the body of SimpleTag.
|
Constructor Summary |
VelocityJspFragment(PageContext pageContext,
org.apache.velocity.runtime.parser.node.ASTBlock block,
org.apache.velocity.context.InternalContextAdapter context)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityJspFragment
public VelocityJspFragment(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.
invoke
public void invoke(Writer out)
throws JspException,
IOException
- Specified by:
invoke in class JspFragment
- Throws:
JspException
IOException
getJspContext
public JspContext getJspContext()
- Specified by:
getJspContext in class JspFragment
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.