org.apache.ode.extension.e4x
Class VariableDelegator

java.lang.Object
  extended by org.mozilla.javascript.Delegator
      extended by org.apache.ode.extension.e4x.VariableDelegator
All Implemented Interfaces:
org.mozilla.javascript.Callable, org.mozilla.javascript.Function, org.mozilla.javascript.Scriptable

public class VariableDelegator
extends org.mozilla.javascript.Delegator

VariableDelegator is in charge of inserting BPEL variables into the JS/E4X context.

Author:
Tammo van Lessen (University of Stuttgart)

Field Summary
 
Fields inherited from class org.mozilla.javascript.Delegator
obj
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
VariableDelegator(org.mozilla.javascript.Scriptable obj, ExtensionContext ectx, org.mozilla.javascript.Context sctx)
           
 
Method Summary
 java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
           
 org.mozilla.javascript.Scriptable getParentScope()
           
 boolean has(java.lang.String name, org.mozilla.javascript.Scriptable start)
           
 void put(java.lang.String name, org.mozilla.javascript.Scriptable start, java.lang.Object value)
           
 void writeVariables()
           
 
Methods inherited from class org.mozilla.javascript.Delegator
call, construct, delete, delete, get, getClassName, getDefaultValue, getDelegee, getIds, getPrototype, has, hasInstance, newInstance, put, setDelegee, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableDelegator

public VariableDelegator(org.mozilla.javascript.Scriptable obj,
                         ExtensionContext ectx,
                         org.mozilla.javascript.Context sctx)
Method Detail

get

public java.lang.Object get(java.lang.String name,
                            org.mozilla.javascript.Scriptable start)
Specified by:
get in interface org.mozilla.javascript.Scriptable
Overrides:
get in class org.mozilla.javascript.Delegator

has

public boolean has(java.lang.String name,
                   org.mozilla.javascript.Scriptable start)
Specified by:
has in interface org.mozilla.javascript.Scriptable
Overrides:
has in class org.mozilla.javascript.Delegator

put

public void put(java.lang.String name,
                org.mozilla.javascript.Scriptable start,
                java.lang.Object value)
Specified by:
put in interface org.mozilla.javascript.Scriptable
Overrides:
put in class org.mozilla.javascript.Delegator

getParentScope

public org.mozilla.javascript.Scriptable getParentScope()
Specified by:
getParentScope in interface org.mozilla.javascript.Scriptable
Overrides:
getParentScope in class org.mozilla.javascript.Delegator

writeVariables

public void writeVariables()
                    throws FaultException,
                           ExternalVariableModuleException
Throws:
FaultException
ExternalVariableModuleException


Copyright © 2015 WSO2. All Rights Reserved.