jPOS 1.6.1 API Documentation

org.jpos.iso.filter
Class XSLTFilter

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jpos.iso.ISOFilter
ISOFilter.VetoException
 
Constructor Summary
XSLTFilter()
          Default noargs constructor
XSLTFilter(java.lang.String xsltfile, boolean reread)
           
 
Method Summary
 ISOMsg filter(ISOChannel channel, ISOMsg m, LogEvent evt)
           
 void setConfiguration(Configuration cfg)
          configure filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 file
reread - true if you want XSLT file re-read from disk
Throws:
ISOException
Method Detail

setConfiguration

public void setConfiguration(Configuration cfg)
                      throws ConfigurationException
configure filter.

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 instance
m - ISOMsg to filter
evt - LogEvent
Returns:
an ISOMsg (possibly parameter m)
Throws:
VetoException
ISOFilter.VetoException

jPOS.org