org.apache.cocoon.components.flow.javascript.fom
Class PageLocalScopeImpl

java.lang.Object
  extended by org.apache.cocoon.components.flow.javascript.fom.PageLocalScopeImpl
All Implemented Interfaces:
PageLocalScope

public class PageLocalScopeImpl
extends Object
implements PageLocalScope

Version:
CVS $Id: PageLocalScopeImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
PageLocalScopeImpl(org.mozilla.javascript.Scriptable scope)
           
 
Method Summary
 PageLocal createPageLocal()
           
 void delete(PageLocal local, int index)
           
 void delete(PageLocal local, String name)
           
 PageLocalScopeImpl duplicate()
           
 Object get(PageLocal local, int index)
           
 Object get(PageLocal local, String name)
           
 Object getDefaultValue(PageLocal local, Class hint)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLocalScopeImpl

public PageLocalScopeImpl(org.mozilla.javascript.Scriptable scope)
Method Detail

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

duplicate

public PageLocalScopeImpl duplicate()

createPageLocal

public PageLocal createPageLocal()
Specified by:
createPageLocal in interface PageLocalScope


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