olg.csv.bean.loader.parser.impl
Class DateParserLoader

Package class diagram package DateParserLoader
java.lang.Object
  extended by olg.csv.bean.loader.parser.AbstractParserLoader
      extended by 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

Field Summary
 
Fields inherited from class olg.csv.bean.loader.parser.AbstractParserLoader
successor, xPathExpression
 
Constructor Summary
DateParserLoader(AbstractParserLoader successor)
          Constructor.
 
Method Summary
protected  AbstractParser getConcreteParser(Class clazz, Element node)
          Returns a concret parser this concret loader has the responsablity to create.
 
Methods inherited from class olg.csv.bean.loader.parser.AbstractParserLoader
getInstance, getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateParserLoader

public DateParserLoader(AbstractParserLoader successor)
Constructor.

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

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 return
node - 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.