org.figure8.join.services.properties
Class DefaultPropertiesExtractor

java.lang.Object
  extended by org.figure8.join.services.properties.DefaultPropertiesExtractor
All Implemented Interfaces:
PropertiesExtractor

public class DefaultPropertiesExtractor
extends java.lang.Object
implements PropertiesExtractor

This is the default implementation of PropertiesExtractor that acts as a router to underlying more specialized implementations.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Constructor Summary
DefaultPropertiesExtractor()
          Creates a new instance of DefaultPropertiesExtractor.
 
Method Summary
 java.util.Properties extract(java.lang.Object obj)
          Extract a set of properties from the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertiesExtractor

public DefaultPropertiesExtractor()
Creates a new instance of DefaultPropertiesExtractor.

Method Detail

extract

public java.util.Properties extract(java.lang.Object obj)
                             throws InvalidParameterException
Extract a set of properties from the given object.

Specified by:
extract in interface PropertiesExtractor
Parameters:
obj - The object to extract properties from
Returns:
A set of properties representing the object and its inner fields graph
Throws:
InvalidParameterException - if the object cannot be processed by implementation


Copyright © 2005-2008 Join. All Rights Reserved.