Java org.apache.commons.jelly JellyContext fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.jelly JellyContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.jelly JellyContext.

The text is from its open source code.

Constructor

JellyContext(URL rootURL)
Create a new context with the given rootURL
JellyContext(JellyContext parent)
Create a new context with the given parent context.
JellyContext()
Create a new context with the currentURL set to the rootURL

Method

ScriptcompileScript(String uri)
Attempts to parse the script from the given uri using the #getResource method then returns the compiled script.
ScriptcompileScript(URL url)
Attempts to parse the script from the given URL using the #getResource method then returns the compiled script.
ScriptcompileScript(InputSource source)
Attempts to parse the script from the given InputSource using the #getResource method then returns the compiled script.
ObjectfindVariable(String name)
Finds the variable value of the given name in this context or in any other parent context.
ObjectgetVariable(String name)
MapgetVariables()
voidregisterTagLibrary(String namespaceURI, TagLibrary taglib)
Registers the given tag library against the given namespace URI.
voidregisterTagLibrary(String namespaceURI, String className)
Registers the given tag library class name against the given namespace URI.
JellyContextrunScript(File file, XMLOutput output)
Parses the script from the given File then compiles it and runs it.
JellyContextrunScript(URL url, XMLOutput output)
Parses the script from the given URL then compiles it and runs it.
JellyContextrunScript(InputSource source, XMLOutput output)
Parses the script from the given InputSource then compiles it and runs it.
JellyContextrunScript(String uri, XMLOutput output)
Parses the script from the given uri using the JellyContext.getResource() API then compiles it and runs it.
voidsetCurrentURL(URL currentURL)
Sets the current URL context of the current script that is executing.
voidsetVariable(String name, Object value)
Sets the value of the named variable
voidsetVariables(Map variables)
Sets the Map of variables to use