olg.csv.bean.loader
Class AbstractFormatterLoader.DateFormatterLoader
java.lang.Object
olg.csv.bean.loader.AbstractFormatterLoader
olg.csv.bean.loader.AbstractFormatterLoader.DateFormatterLoader
- Enclosing class:
- AbstractFormatterLoader
private static class AbstractFormatterLoader.DateFormatterLoader
- extends AbstractFormatterLoader
Class responsible of DateFormatter loading.
- See Also:
Formatter.getDateFormatter(String, Locale)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFormatterLoader.DateFormatterLoader
protected AbstractFormatterLoader.DateFormatterLoader(AbstractFormatterLoader successor)
- Parameters:
successor
- the next loader in the formatter loaders chain.
getConcreteFormatter
protected Formatter<? extends Date> getConcreteFormatter(Element node)
throws XPathExpressionException,
LoadException
- Description copied from class:
AbstractFormatterLoader
- Returns a concret formatter.
- Specified by:
getConcreteFormatter
in class AbstractFormatterLoader
- Parameters:
node
- XML Element corresponding to the XPath expression. From this
element a concret formatter this loader should return will be
extracted
- Returns:
- a concret formatter 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:
AbstractFormatterLoader.xPathExpression
Copyright © 2014. All Rights Reserved.