olg.csv.bean.loader.getter.impl
Class CustomGetterLoader
java.lang.Object
olg.csv.bean.loader.getter.AbstractGetterLoader
olg.csv.bean.loader.getter.impl.CustomGetterLoader
public final class CustomGetterLoader
- extends AbstractGetterLoader
The loader used to load a user getter described in XML node. This node must
to be conformed to CustomType as defined in our XML schema.
- See Also:
CustomLoader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomGetterLoader
public CustomGetterLoader(AbstractGetterLoader successor)
- Constructs a loader bound with the custom node.
- Parameters:
successor
- the next getter loader in the loader chain.
getConcreteGetter
protected AbstractGetter getConcreteGetter(Element node,
String defaultValue)
throws XPathExpressionException,
LoadException
- 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
LoadException
- on Error occurs during loading- See Also:
AbstractGetterLoader.xPathExpression
Copyright © 2014. All Rights Reserved.