public class DefaultRenderingContext extends HashMap<String,Object> implements RenderingContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| DefaultRenderingContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accept(RenderingEngine engine)Either or not this rendering context accepts the given engine. | 
| <T> T | getAdapter(Class<T> adapter)Returns an object which is an instance of the given class
 associated with this object. | 
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic <T> T getAdapter(Class<T> adapter)
Adaptablenull if
 no such object can be found.getAdapter in interface Adaptableadapter - the adapter class to look upnull if this object does not
    have an adapter for the given classpublic boolean accept(RenderingEngine engine)
RenderingContextIf the engione is not acepted it will be ignored by the rendering service when processing this context
accept in interface RenderingContextengine - the engine to testCopyright © 2013 Nuxeo SA. All Rights Reserved.