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

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

public final class ReplaceFilterLoader
extends AbstractFiltreLoader

Loader characteristic of Replace filter.

See Also:
AbstractStringFilter.getReplaceFilter(String, String)

Field Summary
 
Fields inherited from class olg.csv.bean.loader.filter.AbstractFiltreLoader
successor, xPathExpression
 
Constructor Summary
ReplaceFilterLoader(AbstractFiltreLoader successor)
          Constructs a loader bound with the replace 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

ReplaceFilterLoader

public ReplaceFilterLoader(AbstractFiltreLoader successor)
Constructs a loader bound with the replace node.

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

getConcreteFilter

protected AbstractStringFilter getConcreteFilter(Element node)
                                          throws XPathExpressionException
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
See Also:
AbstractFiltreLoader.xPathExpression


Copyright © 2014. All rights reserved.