org.jpos.iso.filter
Class XSLTFilter
java.lang.Object
org.jpos.iso.filter.XSLTFilter
- All Implemented Interfaces:
- Configurable, ISOFilter
public class XSLTFilter
- extends java.lang.Object
- implements ISOFilter, Configurable
Implements ISOFilter by means of XSL-Transformations
- Version:
- $Revision: 2594 $ $Date: 2008-01-22 08:41:31 -0800 (Tue, 22 Jan 2008) $
- Author:
- Alejandro P. Revilla
|
Constructor Summary |
XSLTFilter()
Default noargs constructor |
XSLTFilter(java.lang.String xsltfile,
boolean reread)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLTFilter
public XSLTFilter()
throws ISOException
- Default noargs constructor
- Throws:
ISOException
XSLTFilter
public XSLTFilter(java.lang.String xsltfile,
boolean reread)
throws ISOException
- Parameters:
xsltfile - XSL Transformation filereread - true if you want XSLT file re-read from disk
- Throws:
ISOException
setConfiguration
public void setConfiguration(Configuration cfg)
throws ConfigurationException
- configure filter.
- xsltfile - source XSL-T file
- reread - something != "no" will re-read source file
- Specified by:
setConfiguration in interface Configurable
- Parameters:
cfg - new ConfigurationFile
- Throws:
ConfigurationException
filter
public ISOMsg filter(ISOChannel channel,
ISOMsg m,
LogEvent evt)
throws ISOFilter.VetoException
- Specified by:
filter in interface ISOFilter
- Parameters:
channel - current ISOChannel instancem - ISOMsg to filterevt - LogEvent
- Returns:
- an ISOMsg (possibly parameter m)
- Throws:
VetoException
ISOFilter.VetoException