org.kohsuke.stapler.jelly
Class JellyViewScript

java.lang.Object
  extended by org.kohsuke.stapler.jelly.JellyViewScript
All Implemented Interfaces:
org.apache.commons.jelly.Script

public final class JellyViewScript
extends java.lang.Object
implements org.apache.commons.jelly.Script

Represents a loaded Jelly view script that remembers where it came from.

Author:
Kohsuke Kawaguchi

Field Summary
 java.lang.Class from
          Deprecated. as of 1.177 Use fromKlass
 Klass<?> fromKlass
           
 java.net.URL source
          Full URL that points to the source of the script.
 
Constructor Summary
JellyViewScript(java.lang.Class from, java.net.URL source, org.apache.commons.jelly.Script base)
          Deprecated. as of 1.177 use JellyViewScript(Klass, URL, Script)
JellyViewScript(Klass from, java.net.URL source, org.apache.commons.jelly.Script base)
           
 
Method Summary
 org.apache.commons.jelly.Script compile()
           
 java.lang.String getName()
           
 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
 

Field Detail

from

public final java.lang.Class from
Deprecated. as of 1.177 Use fromKlass
Which class is this view loaded from?


fromKlass

public final Klass<?> fromKlass

source

public final java.net.URL source
Full URL that points to the source of the script.

Constructor Detail

JellyViewScript

public JellyViewScript(java.lang.Class from,
                       java.net.URL source,
                       org.apache.commons.jelly.Script base)
Deprecated. as of 1.177 use JellyViewScript(Klass, URL, Script)


JellyViewScript

public JellyViewScript(Klass from,
                       java.net.URL source,
                       org.apache.commons.jelly.Script base)
Method Detail

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 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

getName

public java.lang.String getName()


Copyright © 2012. All Rights Reserved.