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

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

public static class FOM_Cocoon.FOM_Context
extends org.mozilla.javascript.NativeJavaObject

JS wrapper for Cocoon's context object.

Context 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_Context(org.mozilla.javascript.Scriptable scope, Context context)
           
 
Method Summary
protected  Object getAttribute(String name)
           
protected  Enumeration getAttributeNames()
           
 
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_Context

public FOM_Cocoon.FOM_Context(org.mozilla.javascript.Scriptable scope,
                              Context context)
Method Detail

getAttributeNames

protected Enumeration getAttributeNames()

getAttribute

protected Object getAttribute(String name)


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