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

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_Session
All Implemented Interfaces:
org.mozilla.javascript.Scriptable, Serializable, org.mozilla.javascript.Wrapper
Enclosing class:
FOM_Cocoon

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

JS wrapper for Cocoon's session object.

Session attributes are also present as properties on this object.

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_Session(org.mozilla.javascript.Scriptable scope, org.apache.cocoon.environment.Session session)
           
 
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_Session

public FOM_Cocoon.FOM_Session(org.mozilla.javascript.Scriptable scope,
                              org.apache.cocoon.environment.Session session)
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.