public abstract class AbstractRubyTearOff extends AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,java.io.IOException>
classLoader, owner| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRubyTearOff(MetaClass owner) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.RequestDispatcher |
createDispatcher(java.lang.Object it,
java.lang.String viewName)
Creates a
RequestDispatcher that forwards to the jelly view, if available. |
protected abstract java.lang.String |
getDefaultScriptExtension()
Defines the file extension, like ".erb", that designates this kind of view type.
|
org.apache.commons.jelly.Script |
parseScript(java.net.URL res) |
getResource, getWebApp, hasAllowedExtension, loadScript, resolveScriptclearScripts, findScriptprotected AbstractRubyTearOff(MetaClass owner)
protected abstract java.lang.String getDefaultScriptExtension()
getDefaultScriptExtension in class AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,java.io.IOException>public org.apache.commons.jelly.Script parseScript(java.net.URL res)
throws java.io.IOException
parseScript in class AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,java.io.IOException>java.io.IOExceptionpublic javax.servlet.RequestDispatcher createDispatcher(java.lang.Object it,
java.lang.String viewName)
throws java.io.IOException
RequestDispatcher that forwards to the jelly view, if available.java.io.IOExceptionCopyright © 2015. All Rights Reserved.