|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.tools.view.jsp.jspimpl.JspUtils
public class JspUtils
Some utilities to work with JSP.
| Constructor Summary | |
|---|---|
JspUtils()
|
|
| Method Summary | |
|---|---|
static void |
executeSimpleTag(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node,
PageContext pageContext,
SimpleTag tag)
Executes a SimpleTag. |
static void |
executeTag(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node,
PageContext pageContext,
Tag tag)
Executes a Tag. |
static JspTag |
getLatestJspTag(org.apache.velocity.context.Context context)
Returns the latest tag encountered. |
static void |
setLatestTag(org.apache.velocity.context.Context context,
JspTag tag)
Sets the latest tag encountered. |
static Tag |
wrapTag(JspTag tag)
If necessary, wraps a SimpleTag into a Tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JspUtils()
| Method Detail |
|---|
public static void setLatestTag(org.apache.velocity.context.Context context,
JspTag tag)
context - The Velocity context.tag - The tag.public static JspTag getLatestJspTag(org.apache.velocity.context.Context context)
context - The Velocity context.
public static Tag wrapTag(JspTag tag)
SimpleTag into a Tag.
tag - The tag to (possibly) wrap.
public static void executeSimpleTag(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node,
PageContext pageContext,
SimpleTag tag)
throws JspException,
IOException
SimpleTag.
context - The directive context.node - The main node of the directive.pageContext - The page context.tag - The tag to execute.
JspException - If something goes wrong.
IOException - If something goes wrong.
public static void executeTag(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node,
PageContext pageContext,
Tag tag)
throws JspException
Tag.
context - The directive context.node - The main node of the directive.pageContext - The page context.tag - The tag to execute.
JspException - If something goes wrong.
IOException - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||