org.inria.ns.reflex.modules.sys
Class EncodingProperty

java.lang.Object
  extended by org.inria.ns.reflex.processor.PropertyResolver.Impl
      extended by org.inria.ns.reflex.modules.sys.EncodingProperty
All Implemented Interfaces:
PropertyResolver

public class EncodingProperty
extends PropertyResolver.Impl

The $sys:encoding property contains the default encoding.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.PropertyResolver
PropertyResolver.Impl
 
Field Summary
static String DEFAULT_ENCODING
          The default encoding.
 
Constructor Summary
EncodingProperty()
           
 
Method Summary
 Object getPropertyValue(DataSet dataSet, QName propertyName)
          Return the default encoding.
 
Methods inherited from class org.inria.ns.reflex.processor.PropertyResolver.Impl
removeProperty, setPropertyValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static String DEFAULT_ENCODING
The default encoding.

Constructor Detail

EncodingProperty

public EncodingProperty()
Method Detail

getPropertyValue

public Object getPropertyValue(DataSet dataSet,
                               QName propertyName)
Return the default encoding.

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 default charset.