Elexis API documentation
Version 2.1.6 as of January 22 2012

de.ralfebert.rcputils.properties
Class PropertyValueFormatter

java.lang.Object
  extended by de.ralfebert.rcputils.properties.PropertyValueFormatter
All Implemented Interfaces:
IValueFormatter

public class PropertyValueFormatter
extends java.lang.Object
implements IValueFormatter

PropertyValueFormatter describes a conversion from a object to some property of the object.

Author:
Ralf Ebert

Constructor Summary
PropertyValueFormatter(java.lang.String propertyName)
           
 
Method Summary
 java.lang.Object format(java.lang.Object obj)
           
 java.lang.Object parse(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValueFormatter

public PropertyValueFormatter(java.lang.String propertyName)
Method Detail

format

public java.lang.Object format(java.lang.Object obj)
Specified by:
format in interface IValueFormatter

parse

public java.lang.Object parse(java.lang.Object obj)
Specified by:
parse in interface IValueFormatter

Elexis API documentation
Version 2.1.6 as of January 22 2012

Copyright 2005-2011 by Gerry Weirich, Elexis