org.kohsuke.stapler.jelly.jruby
Class JRubyJellyScript
java.lang.Object
org.kohsuke.stapler.jelly.jruby.JRubyJellyScript
- All Implemented Interfaces:
- org.apache.commons.jelly.Script
public abstract class JRubyJellyScript
- extends Object
- implements org.apache.commons.jelly.Script
Exposes ERb/Haml scripts as Script
.
This abstract class defines the Java half of it, and it is further subtyped in Ruby for different languages.
- Author:
- Kohsuke Kawaguchi
Method Summary |
org.apache.commons.jelly.Script |
compile()
|
void |
invokeTaglib(IJRubyContext rcon,
org.apache.commons.jelly.JellyContext context,
org.apache.commons.jelly.XMLOutput output,
String uri,
String localName,
Map<org.jruby.RubySymbol,?> attributes,
org.jruby.RubyProc proc)
Invokes other Jelly tag libaries. |
abstract void |
run(org.apache.commons.jelly.JellyContext context,
org.apache.commons.jelly.XMLOutput output)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRubyJellyScript
protected JRubyJellyScript()
compile
public org.apache.commons.jelly.Script compile()
throws org.apache.commons.jelly.JellyException
- Specified by:
compile
in interface org.apache.commons.jelly.Script
- Throws:
org.apache.commons.jelly.JellyException
run
public abstract void run(org.apache.commons.jelly.JellyContext context,
org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
- Specified by:
run
in interface org.apache.commons.jelly.Script
- Throws:
org.apache.commons.jelly.JellyTagException
invokeTaglib
public void invokeTaglib(IJRubyContext rcon,
org.apache.commons.jelly.JellyContext context,
org.apache.commons.jelly.XMLOutput output,
String uri,
String localName,
Map<org.jruby.RubySymbol,?> attributes,
org.jruby.RubyProc proc)
throws org.apache.commons.jelly.JellyException
- Invokes other Jelly tag libaries.
- Throws:
org.apache.commons.jelly.JellyException
Copyright © 2011. All Rights Reserved.