org.inria.ns.reflex.modules.sys
Class DateProperty
java.lang.Object
org.inria.ns.reflex.processor.PropertyResolver.Impl
org.inria.ns.reflex.modules.sys.DateProperty
- All Implemented Interfaces:
- PropertyResolver
public class DateProperty
- extends PropertyResolver.Impl
The $sys:date property is used
to retrieve the current date.
The date returned is today.
- Author:
- Philippe Poulard
DateProperty
public DateProperty()
getPropertyValue
public Object getPropertyValue(DataSet dataSet,
QName propertyName)
- Return the current date.
- Specified by:
getPropertyValue in interface PropertyResolver- Overrides:
getPropertyValue in class PropertyResolver.Impl
- Parameters:
dataSet - The set of datas used when the action is running.propertyName - The name of the property.
- Returns:
- The current date.