org.kohsuke.stapler.jelly.jruby
Class RubyTemplateLanguage
java.lang.Object
org.kohsuke.stapler.jelly.jruby.RubyTemplateLanguage
- Direct Known Subclasses:
- ERbLanguage, HamlLanguage
public abstract class RubyTemplateLanguage
- extends Object
Ruby template language binding.
Implementations of this is discovered via service-loader mechanism.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RubyTemplateLanguage
public RubyTemplateLanguage()
getScriptExtension
protected abstract String getScriptExtension()
- Defines the file extension, like ".erb", that designates this kind of view type.
getTearOffClass
protected abstract Class<? extends AbstractRubyTearOff> getTearOffClass()
createContainer
protected abstract RubyTemplateContainer createContainer(org.jruby.embed.ScriptingContainer container)
- Called to set up this template language binding on the specified scripting container.
Copyright © 2012. All Rights Reserved.