Class MVELImporterFunction
java.lang.Object
org.nuxeo.ecm.automation.core.scripting.CoreFunctions
org.nuxeo.ecm.platform.importer.xml.parser.MVELImporterFunction
- All Implemented Interfaces:
ContextHelper
Some helper function that are injected inside MVEL context
- Author:
- Tiry
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Stack<DocumentModel>
protected final org.dom4j.Element
protected final Map<org.dom4j.Element,
DocumentModel> protected final CoreSession
-
Constructor Summary
ConstructorDescriptionMVELImporterFunction
(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element, DocumentModel> elToDoc, org.dom4j.Element el) -
Method Summary
Modifier and TypeMethodDescriptionmkdir
(DocumentModel parent, String regexp, String data, String typeName) Methods inherited from class org.nuxeo.ecm.automation.core.scripting.CoreFunctions
calendar, calendar, date, escapeHtml
-
Field Details
-
session
-
docsStack
-
elToDoc
-
el
protected final org.dom4j.Element el
-
-
Constructor Details
-
MVELImporterFunction
public MVELImporterFunction(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element, DocumentModel> elToDoc, org.dom4j.Element el)
-
-
Method Details
-
parseDate
- Throws:
ParseException
-
mkdir
-