olg.csv.bean.loader
Class BeanProcessorLoader.RowBeanTransformerLoader<T>

Package class diagram package BeanProcessorLoader.RowBeanTransformerLoader
java.lang.Object
  extended by olg.csv.bean.loader.BeanProcessorLoader<T>
      extended by olg.csv.bean.loader.BeanProcessorLoader.RowBeanTransformerLoader<T>
Type Parameters:
T -
Enclosing class:
BeanProcessorLoader<T>

protected static final class BeanProcessorLoader.RowBeanTransformerLoader<T>
extends BeanProcessorLoader<T>

TransformerLoader adaptation in order to manage with beanRowType elements.


Nested Class Summary
 
Nested classes/interfaces inherited from class olg.csv.bean.loader.BeanProcessorLoader
BeanProcessorLoader.RowBeanTransformerLoader<T>
 
Field Summary
private  List<String> fields
          To check unicity of declared properties.
 
Constructor Summary
protected BeanProcessorLoader.RowBeanTransformerLoader()
           
 
Method Summary
protected
<I> IPropertyProcessor<I>
getPropertyParser(Element node, Class<I> beanClass)
          Returns the property processor corresponding to a property node.
 
Methods inherited from class olg.csv.bean.loader.BeanProcessorLoader
getTransformer, identifyFieldClass, load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fields

private final List<String> fields
To check unicity of declared properties.

Constructor Detail

BeanProcessorLoader.RowBeanTransformerLoader

protected BeanProcessorLoader.RowBeanTransformerLoader()
Method Detail

getPropertyParser

protected <I> IPropertyProcessor<I> getPropertyParser(Element node,
                                                      Class<I> beanClass)
                                           throws XPathExpressionException,
                                                  LoadException
Returns the property processor corresponding to a property node.

Overrides:
getPropertyParser in class BeanProcessorLoader<T>
Type Parameters:
I - the bean type
Parameters:
node - the XML node conform to BeanRowProperty Type XSD declaration (property node).
beanClass - the bean which support this property.
Returns:
the property processor corresponding to the property node
Throws:
XPathExpressionException - If an XPath expression cannot be evaluated
LoadException - if an error occurs during loading


Copyright © 2014. All Rights Reserved.