|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<java.lang.String,java.lang.Object> org.nuxeo.ecm.platform.rendering.impl.DefaultRenderingContext
public class DefaultRenderingContext
Abstract RenderingContext subclass that adds capabilities of storing a DocumentModel and retrieve RenderingConfig associated with the current set DocumentModel.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
DefaultRenderingContext()
|
Method Summary | ||
---|---|---|
boolean |
accept(RenderingEngine engine)
Either or not this rendering context accepts the given engine. |
|
|
getAdapter(java.lang.Class<T> adapter)
Returns an object which is an instance of the given class associated with this object. |
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public DefaultRenderingContext()
Method Detail |
---|
public <T> T getAdapter(java.lang.Class<T> adapter)
Adaptable
null
if
no such object can be found.
getAdapter
in interface Adaptable
adapter
- the adapter class to look up
null
if this object does not
have an adapter for the given classpublic boolean accept(RenderingEngine engine)
RenderingContext
If the engione is not acepted it will be ignored by the rendering service when processing this context
accept
in interface RenderingContext
engine
- the engine to test
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |