org.apache.cocoon.components.flow.javascript.fom
Class PageLocalScopeHolder
java.lang.Object
org.apache.cocoon.components.flow.javascript.fom.PageLocalScopeHolder
- All Implemented Interfaces:
- PageLocalScope
public class PageLocalScopeHolder
- extends Object
- implements PageLocalScope
- Version:
- CVS $Id: PageLocalScopeHolder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Method Summary |
PageLocal |
createPageLocal()
|
void |
delete(PageLocal local,
int index)
|
void |
delete(PageLocal local,
String name)
|
Object |
get(PageLocal local,
int index)
|
Object |
get(PageLocal local,
String name)
|
Object |
getDefaultValue(PageLocal local,
Class hint)
|
PageLocalScopeImpl |
getDelegate()
|
Object[] |
getIds(PageLocal local)
|
boolean |
has(PageLocal local,
int index)
|
boolean |
has(PageLocal local,
String name)
|
void |
put(PageLocal local,
int index,
Object value)
|
void |
put(PageLocal local,
String name,
Object value)
|
void |
setDelegate(PageLocalScopeImpl delegate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageLocalScopeHolder
public PageLocalScopeHolder(org.mozilla.javascript.Scriptable scope)
has
public boolean has(PageLocal local,
String name)
- Specified by:
has
in interface PageLocalScope
has
public boolean has(PageLocal local,
int index)
- Specified by:
has
in interface PageLocalScope
get
public Object get(PageLocal local,
String name)
- Specified by:
get
in interface PageLocalScope
get
public Object get(PageLocal local,
int index)
- Specified by:
get
in interface PageLocalScope
put
public void put(PageLocal local,
String name,
Object value)
- Specified by:
put
in interface PageLocalScope
put
public void put(PageLocal local,
int index,
Object value)
- Specified by:
put
in interface PageLocalScope
delete
public void delete(PageLocal local,
String name)
- Specified by:
delete
in interface PageLocalScope
delete
public void delete(PageLocal local,
int index)
- Specified by:
delete
in interface PageLocalScope
getIds
public Object[] getIds(PageLocal local)
- Specified by:
getIds
in interface PageLocalScope
getDefaultValue
public Object getDefaultValue(PageLocal local,
Class hint)
- Specified by:
getDefaultValue
in interface PageLocalScope
setDelegate
public void setDelegate(PageLocalScopeImpl delegate)
getDelegate
public PageLocalScopeImpl getDelegate()
createPageLocal
public PageLocal createPageLocal()
- Specified by:
createPageLocal
in interface PageLocalScope
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.