org.apache.cocoon.components.flow.javascript.fom
Class FOM_Cocoon.FOM_Request

java.lang.Object
  extended byorg.mozilla.javascript.NativeJavaObject
      extended byorg.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.AttributeHolderJavaObject
          extended byorg.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.FOM_Request
All Implemented Interfaces:
org.mozilla.javascript.Scriptable, Serializable, org.mozilla.javascript.Wrapper
Enclosing class:
FOM_Cocoon

public static class FOM_Cocoon.FOM_Request
extends org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.AttributeHolderJavaObject

JS wrapper for Cocoon's request object.

Request parameters are also present as properties on this object. Note that this is different from FOM_Context and FOM_Session that do the same with attributes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.NativeJavaObject
javaObject, members, parent, prototype, staticType
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
FOM_Cocoon.FOM_Request(org.mozilla.javascript.Scriptable scope, org.apache.cocoon.environment.Request request)
           
 
Method Summary
 Object get(String name, org.mozilla.javascript.Scriptable start)
           
protected  Object getAttribute(String name)
           
protected  Enumeration getAttributeNames()
           
 Object[] getIds()
           
 boolean has(String name, org.mozilla.javascript.Scriptable start)
           
 
Methods inherited from class org.mozilla.javascript.NativeJavaObject
canConvert, coerceType, delete, delete, get, getClassName, getDefaultValue, getParentScope, getPrototype, has, hasInstance, initMembers, put, put, setParentScope, setPrototype, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOM_Cocoon.FOM_Request

public FOM_Cocoon.FOM_Request(org.mozilla.javascript.Scriptable scope,
                              org.apache.cocoon.environment.Request request)
Method Detail

getAttributeNames

protected Enumeration getAttributeNames()

getAttribute

protected Object getAttribute(String name)

getIds

public Object[] getIds()

has

public boolean has(String name,
                   org.mozilla.javascript.Scriptable start)

get

public Object get(String name,
                  org.mozilla.javascript.Scriptable start)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.