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

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

public final class TrimFilterLoader
extends AbstractFiltreLoader

Loader characteristic of trim filter.

See Also:
AbstractStringFilter.getTrimFilter()

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

TrimFilterLoader

public TrimFilterLoader(AbstractFiltreLoader successor)
Constructs a loader bound with the trim 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.