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()
-
-
-
Field Detail
-
RESERVED_VAR_NAMES
public static final String[] RESERVED_VAR_NAMES
-
-
Constructor Detail
-
AbstractContextBuilder
public AbstractContextBuilder()
-
-
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()
-
-