This project has retired. For details please refer to its
Attic page.
FOM_Cocoon.FOM_Context (Cocoon Flowscript Block Implementation 1.0.0 API)
org.apache.cocoon.components.flow.javascript.fom
Class FOM_Cocoon.FOM_Context
java.lang.Object
org.mozilla.javascript.NativeJavaObject
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.AttributeHolderJavaObject
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.FOM_Context
- All Implemented Interfaces:
- org.mozilla.javascript.Scriptable, Serializable, org.mozilla.javascript.Wrapper
- Enclosing class:
- FOM_Cocoon
- public static class FOM_Cocoon.FOM_Context
- extends org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.AttributeHolderJavaObject
JS wrapper for Cocoon's context object.
Context attributes are also present as properties on this object.
- See Also:
- Serialized Form
| 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,
org.apache.cocoon.environment.Context context)
|
| 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 |
FOM_Cocoon.FOM_Context
public FOM_Cocoon.FOM_Context(org.mozilla.javascript.Scriptable scope,
org.apache.cocoon.environment.Context context)
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.