olg.csv.bean.loader.parser.impl
Class DateParserLoader
java.lang.Object
olg.csv.bean.loader.parser.AbstractParserLoader
olg.csv.bean.loader.parser.impl.DateParserLoader
public final class DateParserLoader
- extends AbstractParserLoader
Characteristic loader of Date parser described in XML node. This node must to
be conformed to DateParserType as defined in our XML schema.
- See Also:
AbstractParser.getDateParser(String, Class, Locale)
,
AbstractParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateParserLoader
public DateParserLoader(AbstractParserLoader successor)
- Constructor.
- Parameters:
successor
- the next parser loader in the loader chain.
getConcreteParser
protected AbstractParser getConcreteParser(Class clazz,
Element node)
throws LoadException
- Description copied from class:
AbstractParserLoader
- Returns a concret parser this concret loader has the responsablity to
create.
- Specified by:
getConcreteParser
in class AbstractParserLoader
- Parameters:
clazz
- the class that the parser should returnnode
- XML Element corresponding to the XPath expression from which
load corresponding parser
- Returns:
- the concret parser.
null
if the given node doesn't
match the type this loader should return
- Throws:
LoadException
- if Error occurs during loading- See Also:
AbstractParserLoader.xPathExpression
Copyright © 2014. All Rights Reserved.