org.apache.cocoon.forms.util
Class FOM_SimpleCocoon

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.apache.cocoon.forms.util.FOM_SimpleCocoon
All Implemented Interfaces:
Serializable, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class FOM_SimpleCocoon
extends org.mozilla.javascript.ScriptableObject

A simplified javascript cocoon object to use when using javaflow. In that case the cocoon object would not be accessible from definition javascript snippets.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, PERMANENT, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
FOM_SimpleCocoon()
           
 
Method Summary
 String getClassName()
           
 org.mozilla.javascript.Scriptable getContext()
           
 org.mozilla.javascript.Scriptable getRequest()
           
 org.mozilla.javascript.Scriptable getResponse()
           
 org.mozilla.javascript.Scriptable getSession()
           
 org.mozilla.javascript.Scriptable jsGet_context()
           
 org.mozilla.javascript.Scriptable jsGet_parameters()
          Get Sitemap parameters
 org.mozilla.javascript.Scriptable jsGet_request()
           
 org.mozilla.javascript.Scriptable jsGet_response()
           
 org.mozilla.javascript.Scriptable jsGet_session()
           
 void setObjectModel(Map objectModel)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOM_SimpleCocoon

public FOM_SimpleCocoon()
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

jsGet_request

public org.mozilla.javascript.Scriptable jsGet_request()

jsGet_response

public org.mozilla.javascript.Scriptable jsGet_response()

jsGet_context

public org.mozilla.javascript.Scriptable jsGet_context()

jsGet_session

public org.mozilla.javascript.Scriptable jsGet_session()

jsGet_parameters

public org.mozilla.javascript.Scriptable jsGet_parameters()
Get Sitemap parameters

Returns:
a Scriptable value whose properties represent the Sitemap parameters from

getSession

public org.mozilla.javascript.Scriptable getSession()

getRequest

public org.mozilla.javascript.Scriptable getRequest()

getContext

public org.mozilla.javascript.Scriptable getContext()

getResponse

public org.mozilla.javascript.Scriptable getResponse()

setObjectModel

public void setObjectModel(Map objectModel)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.