public class DocumentRenderingContext extends DefaultRenderingContext
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description | 
|---|---|
static String | 
CTX_PARAM_DOCUMENT  | 
| Constructor and Description | 
|---|
DocumentRenderingContext()  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class associated with this object. 
 | 
DocumentModel | 
getDocument()  | 
void | 
setDocument(DocumentModel doc)  | 
acceptclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic static final String CTX_PARAM_DOCUMENT
public DocumentRenderingContext()
public <T> T getAdapter(Class<T> adapter)
Adaptablenull
 if no such object can be found.getAdapter in interface AdaptablegetAdapter in class DefaultRenderingContextadapter - the adapter class to look upnull if this object does not have an adapter for
         the given classpublic void setDocument(DocumentModel doc)
public DocumentModel getDocument()
Copyright © 2019 Nuxeo. All rights reserved.