public class MVELImporterFunction extends CoreFunctions
Modifier and Type | Field and Description |
---|---|
protected Stack<DocumentModel> |
docsStack |
protected org.dom4j.Element |
el |
protected Map<org.dom4j.Element,DocumentModel> |
elToDoc |
protected CoreSession |
session |
Constructor and Description |
---|
MVELImporterFunction(CoreSession session,
Stack<DocumentModel> docsStack,
Map<org.dom4j.Element,DocumentModel> elToDoc,
org.dom4j.Element el) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
mkdir(DocumentModel parent,
String regexp,
String data,
String typeName) |
Calendar |
parseDate(String source,
String format) |
calendar, date, escapeHtml
protected final CoreSession session
protected final Stack<DocumentModel> docsStack
protected final Map<org.dom4j.Element,DocumentModel> elToDoc
protected final org.dom4j.Element el
public MVELImporterFunction(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element,DocumentModel> elToDoc, org.dom4j.Element el)
public Calendar parseDate(String source, String format) throws ParseException
ParseException
public DocumentModel mkdir(DocumentModel parent, String regexp, String data, String typeName)
Copyright © 2015 Nuxeo SA. All rights reserved.