org.inria.ns.reflex.modules.sys
Class NullProperty
java.lang.Object
org.inria.ns.reflex.processor.PropertyResolver.Impl
org.inria.ns.reflex.modules.sys.NullProperty
- All Implemented Interfaces:
- PropertyResolver
public class NullProperty
- extends PropertyResolver.Impl
The $sys:null property is the same as "/dev/null"
Unix output stream : a convenient output stream that writes nothing.
- Author:
- Philippe Poulard
NullProperty
public NullProperty()
getPropertyValue
public Object getPropertyValue(DataSet dataSet,
QName propertyName)
- Return the /dev/null output stream.
- 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 /dev/null output stream.