Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.core.scripting
Class CoreFunctions

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.scripting.CoreFunctions
Direct Known Subclasses:
PlatformFunctions

public class CoreFunctions
extends Object

The functions exposed by the core library. You may want to extend this class to expose more functions under the "Fn" context variable for scripting expressions.

Author:
Bogdan Stefanescu

Constructor Summary
CoreFunctions()
           
 
Method Summary
 DateWrapper calendar(Calendar date)
           
 DateWrapper date(Date date)
           
 String escapeHtml(Object obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreFunctions

public CoreFunctions()
Method Detail

date

public DateWrapper date(Date date)

calendar

public DateWrapper calendar(Calendar date)

escapeHtml

public String escapeHtml(Object obj)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.