org.kohsuke.stapler.jelly
Class JellyClassTearOff
java.lang.Object
org.kohsuke.stapler.AbstractTearOff<JellyClassLoaderTearOff,org.apache.commons.jelly.Script,org.apache.commons.jelly.JellyException>
org.kohsuke.stapler.jelly.JellyClassTearOff
public class JellyClassTearOff
- extends AbstractTearOff<JellyClassLoaderTearOff,org.apache.commons.jelly.Script,org.apache.commons.jelly.JellyException>
- Author:
- Kohsuke Kawaguchi
Method Summary |
javax.servlet.RequestDispatcher |
createDispatcher(java.lang.Object it,
java.lang.String viewName)
Creates a RequestDispatcher that forwards to the jelly view, if available. |
static void |
invokeScript(StaplerRequest req,
StaplerResponse rsp,
org.apache.commons.jelly.Script script,
java.lang.Object it)
|
protected org.apache.commons.jelly.Script |
parseScript(java.net.URL res)
Compiles a script into the compiled form. |
boolean |
serveIndexJelly(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object node)
Serves indx.jelly if it's available, and returns true. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JellyClassTearOff
public JellyClassTearOff(MetaClass owner)
parseScript
protected org.apache.commons.jelly.Script parseScript(java.net.URL res)
throws org.apache.commons.jelly.JellyException
- Description copied from class:
AbstractTearOff
- Compiles a script into the compiled form.
- Specified by:
parseScript
in class AbstractTearOff<JellyClassLoaderTearOff,org.apache.commons.jelly.Script,org.apache.commons.jelly.JellyException>
- Throws:
org.apache.commons.jelly.JellyException
invokeScript
public static void invokeScript(StaplerRequest req,
StaplerResponse rsp,
org.apache.commons.jelly.Script script,
java.lang.Object it)
throws java.io.IOException,
org.apache.commons.jelly.JellyTagException
- Throws:
java.io.IOException
org.apache.commons.jelly.JellyTagException
serveIndexJelly
public boolean serveIndexJelly(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object node)
throws javax.servlet.ServletException,
java.io.IOException
- Serves indx.jelly if it's available, and returns true.
- Throws:
javax.servlet.ServletException
java.io.IOException
createDispatcher
public javax.servlet.RequestDispatcher createDispatcher(java.lang.Object it,
java.lang.String viewName)
throws java.io.IOException
- Creates a
RequestDispatcher
that forwards to the jelly view, if available.
- Throws:
java.io.IOException
Copyright © 2008. All Rights Reserved.