olg.csv.bean.loader
Class AbstractFormatterLoader.DateFormatterLoader

Package class diagram package AbstractFormatterLoader.DateFormatterLoader
java.lang.Object
  extended by olg.csv.bean.loader.AbstractFormatterLoader
      extended by 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)

Field Summary
 
Fields inherited from class olg.csv.bean.loader.AbstractFormatterLoader
successor, xPathExpression
 
Constructor Summary
protected AbstractFormatterLoader.DateFormatterLoader(AbstractFormatterLoader successor)
           
 
Method Summary
protected  Formatter<? extends Date> getConcreteFormatter(Element node)
          Returns a concret formatter.
 
Methods inherited from class olg.csv.bean.loader.AbstractFormatterLoader
getFormatter, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFormatterLoader.DateFormatterLoader

protected AbstractFormatterLoader.DateFormatterLoader(AbstractFormatterLoader successor)
Parameters:
successor - the next loader in the formatter loaders chain.
Method Detail

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.