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