org.apache.cocoon.el.impl.objectmodel
Class ObjectModelImpl

java.lang.Object
  extended byorg.apache.commons.collections.map.AbstractMapDecorator
      extended byorg.apache.cocoon.el.impl.objectmodel.ObjectModelImpl
All Implemented Interfaces:
Map, org.apache.cocoon.el.objectmodel.ObjectModel

public class ObjectModelImpl
extends AbstractMapDecorator
implements org.apache.cocoon.el.objectmodel.ObjectModel

Prototype implementation of ObjectModel interface. It must be initialized manually for now.


Nested Class Summary
static class ObjectModelImpl.StackReversedIteration
           
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Field Summary
 
Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator
map
 
Fields inherited from interface org.apache.cocoon.el.objectmodel.ObjectModel
CONTEXTBEAN, NAMESPACE, PARAMETERS_PATH, ROLE
 
Constructor Summary
ObjectModelImpl()
           
 
Method Summary
 void cleanupLocalContext()
           
 void fillContext()
           
 Object get(Object key)
           
 MultiMap getAll()
           
 Map getInitialEntries()
           
 void markLocalContext()
           
 Object put(Object key, Object value)
           
 void putAll(Map mapToCopy)
           
 void putAt(String path, Object value)
           
 void setInitialEntries(Map initialEntries)
           
 void setParent(org.apache.cocoon.el.objectmodel.ObjectModel parentObjectModel)
           
 
Methods inherited from class org.apache.commons.collections.map.AbstractMapDecorator
clear, containsKey, containsValue, entrySet, equals, getMap, hashCode, isEmpty, keySet, remove, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, remove, size, values
 

Constructor Detail

ObjectModelImpl

public ObjectModelImpl()
Method Detail

get

public Object get(Object key)
Specified by:
get in interface Map

getAll

public MultiMap getAll()
Specified by:
getAll in interface org.apache.cocoon.el.objectmodel.ObjectModel

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface org.apache.cocoon.el.objectmodel.ObjectModel

putAll

public void putAll(Map mapToCopy)
Specified by:
putAll in interface org.apache.cocoon.el.objectmodel.ObjectModel

putAt

public void putAt(String path,
                  Object value)
Specified by:
putAt in interface org.apache.cocoon.el.objectmodel.ObjectModel

cleanupLocalContext

public void cleanupLocalContext()
Specified by:
cleanupLocalContext in interface org.apache.cocoon.el.objectmodel.ObjectModel

markLocalContext

public void markLocalContext()
Specified by:
markLocalContext in interface org.apache.cocoon.el.objectmodel.ObjectModel

getInitialEntries

public Map getInitialEntries()

setInitialEntries

public void setInitialEntries(Map initialEntries)

fillContext

public void fillContext()
Specified by:
fillContext in interface org.apache.cocoon.el.objectmodel.ObjectModel

setParent

public void setParent(org.apache.cocoon.el.objectmodel.ObjectModel parentObjectModel)
Specified by:
setParent in interface org.apache.cocoon.el.objectmodel.ObjectModel


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