olg.csv.bean.loader.getter.impl
Class DefaultGetterLoader

Package class diagram package DefaultGetterLoader
java.lang.Object
  extended by olg.csv.bean.loader.getter.AbstractGetterLoader
      extended by olg.csv.bean.loader.getter.impl.DefaultGetterLoader

public final class DefaultGetterLoader
extends AbstractGetterLoader

the Loader characteristic of the default getter.

See Also:
AbstractGetter.getDefault(String, String)

Field Summary
 
Fields inherited from class olg.csv.bean.loader.getter.AbstractGetterLoader
successor, xPathExpression
 
Constructor Summary
DefaultGetterLoader(AbstractGetterLoader successor)
          Constructs a loader bound with the column node.
 
Method Summary
protected  AbstractGetter getConcreteGetter(Element node, String defaultValue)
          Returns a concret getter.
 
Methods inherited from class olg.csv.bean.loader.getter.AbstractGetterLoader
getGetter, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGetterLoader

public DefaultGetterLoader(AbstractGetterLoader successor)
Constructs a loader bound with the column node.

Parameters:
successor - the next getter loader in the loader chain.
Method Detail

getConcreteGetter

protected AbstractGetter getConcreteGetter(Element node,
                                           String defaultValue)
                                    throws XPathExpressionException
Description copied from class: AbstractGetterLoader
Returns a concret getter.

Specified by:
getConcreteGetter in class AbstractGetterLoader
Parameters:
node - XML Element corresponding to the XPath expression from which the corresponding getter is loaded.
defaultValue - value the loaded getter must used as default value.
Returns:
a concret getter this loader has responsability or null if the given node doesn't match the type this loader should return.
Throws:
XPathExpressionException - on invalid XPathExpression
See Also:
AbstractGetterLoader.xPathExpression


Copyright © 2014. All Rights Reserved.