it.avutils.jmapper.config
Class ConfigReader

java.lang.Object
  extended by it.avutils.jmapper.config.ConfigReader

public final class ConfigReader
extends Object

This Class reads the configuration of a specific field (analyzing Annotation AND/OR XML) and finds the target field name.

Author:
Alessandro Vurro

Constructor Summary
ConfigReader(Class<?> aConfiguredClass, Class<?> aTargetClass, XML aXml)
           
 
Method Summary
 String retrieveTargetFieldName(Field field)
          Returns the target field name of the configured field given in input, null otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigReader

public ConfigReader(Class<?> aConfiguredClass,
                    Class<?> aTargetClass,
                    XML aXml)
Method Detail

retrieveTargetFieldName

public String retrieveTargetFieldName(Field field)
Returns the target field name of the configured field given in input, null otherwise.

Parameters:
field - configured field
Returns:
target field name, null otherwise


Copyright © 2013. All Rights Reserved.