olg.csv.bean.loader.filter.impl
Class CustomFilterLoader

Package class diagram package CustomFilterLoader
java.lang.Object
  extended by olg.csv.bean.loader.filter.AbstractFiltreLoader
      extended by olg.csv.bean.loader.filter.impl.CustomFilterLoader

public final class CustomFilterLoader
extends AbstractFiltreLoader

The loader used to load a user Filter described in XML node. This node must to be conformed to CustomType as defined in our XML schema.

See Also:
CustomLoader

Field Summary
 
Fields inherited from class olg.csv.bean.loader.filter.AbstractFiltreLoader
successor, xPathExpression
 
Constructor Summary
CustomFilterLoader(AbstractFiltreLoader successor)
          Constructs a loader bound with the custom node.
 
Method Summary
protected  AbstractStringFilter getConcreteFilter(Element node)
          Returns a concret filter.
 
Methods inherited from class olg.csv.bean.loader.filter.AbstractFiltreLoader
getFilter, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFilterLoader

public CustomFilterLoader(AbstractFiltreLoader successor)
Constructs a loader bound with the custom node.

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

getConcreteFilter

protected AbstractStringFilter getConcreteFilter(Element node)
                                          throws XPathExpressionException,
                                                 LoadException
Description copied from class: AbstractFiltreLoader
Returns a concret filter.

Specified by:
getConcreteFilter in class AbstractFiltreLoader
Parameters:
node - XML Element corresponding to the XPath expression from which the concret filter will be loaded
Returns:
a concret filter 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:
AbstractFiltreLoader.xPathExpression


Copyright © 2014. All rights reserved.