javax > javax.script > javax.script.scriptcontext >

Interface: javax.script.ScriptContext
    javax.script.ScriptContext


public interface ScriptContext


FIELDS:
static final int ENGINE_SCOPE : 100
static final int GLOBAL_SCOPE : 200

CONSTRUCTORS:

METHODS:
Object getAttribute(String name)
Throws: NullPointerException
Throws: IllegalArgumentException

Object getAttribute(String name, int scope)
Throws: IllegalArgumentException
Throws: NullPointerException

int getAttributesScope(String name)
Throws: NullPointerException
Throws: IllegalArgumentException

Bindings getBindings(int scope)
Throws: IllegalArgumentException

Writer getErrorWriter()

Reader getReader()

List getScopes()

Writer getWriter()

Object removeAttribute(String name, int scope)
Throws: IllegalArgumentException
Throws: NullPointerException

void setAttribute(String name, Object value, int scope)
Throws: IllegalArgumentException
Throws: NullPointerException

void setBindings(Bindings bindings, int scope)
Throws: IllegalArgumentException
Throws: NullPointerException

void setErrorWriter(Writer writer)

void setReader(Reader reader)

void setWriter(Writer writer)


INHERITED METHODS:

SUBINTERFACES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net