Package org.nuxeo.template.context
Class AbstractContextBuilder
- java.lang.Object
-
- org.nuxeo.template.context.AbstractContextBuilder
-
- Direct Known Subclasses:
FMContextBuilder
,SimpleContextBuilder
public abstract class AbstractContextBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static Log
log
static String[]
RESERVED_VAR_NAMES
-
Constructor Summary
Constructors Constructor Description AbstractContextBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
build(DocumentModel doc, String templateName)
Map<String,Object>
build(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName)
Map<String,Object>
build(TemplateBasedDocument templateBasedDocument, String templateName)
protected abstract DocumentWrapper
getWrapper()
-
-
-
Method Detail
-
build
public Map<String,Object> build(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName)
-
build
public Map<String,Object> build(TemplateBasedDocument templateBasedDocument, String templateName)
-
getWrapper
protected abstract DocumentWrapper getWrapper()
-
build
public Map<String,Object> build(DocumentModel doc, String templateName)
-
-