org.kohsuke.stapler.jelly.jruby.erb
Class ERbClassTearOff

java.lang.Object
  extended by org.kohsuke.stapler.CachingScriptLoader<S,E>
      extended by org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>
          extended by org.kohsuke.stapler.jelly.jruby.AbstractRubyTearOff
              extended by org.kohsuke.stapler.jelly.jruby.erb.ERbClassTearOff

public class ERbClassTearOff
extends AbstractRubyTearOff

Tear off that manages Ruby ERB views of Java objects (and not ruby objects.)

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.kohsuke.stapler.AbstractTearOff
classLoader, owner
 
Constructor Summary
ERbClassTearOff(org.kohsuke.stapler.MetaClass owner)
           
 
Method Summary
protected  String getDefaultScriptExtension()
          Defines the file extension, like ".erb", that designates this kind of view type.
 
Methods inherited from class org.kohsuke.stapler.jelly.jruby.AbstractRubyTearOff
createDispatcher, parseScript
 
Methods inherited from class org.kohsuke.stapler.AbstractTearOff
getResource, getWebApp, loadScript, resolveScript
 
Methods inherited from class org.kohsuke.stapler.CachingScriptLoader
clearScripts, findScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERbClassTearOff

public ERbClassTearOff(org.kohsuke.stapler.MetaClass owner)
Method Detail

getDefaultScriptExtension

protected String getDefaultScriptExtension()
Description copied from class: AbstractRubyTearOff
Defines the file extension, like ".erb", that designates this kind of view type.

Specified by:
getDefaultScriptExtension in class AbstractRubyTearOff


Copyright © 2013. All Rights Reserved.