net.sf.tomp.xtcl.command
Class STXFilterCommand

java.lang.Object
  extended by net.sf.tomp.xtcl.command.AbstractCommand
      extended by net.sf.tomp.xtcl.command.VarCommand
          extended by net.sf.tomp.xtcl.command.AbstractParametrizedVarCommand
              extended by net.sf.tomp.xtcl.command.FilterCommand
                  extended by net.sf.tomp.xtcl.command.StyleFilterCommand
                      extended by net.sf.tomp.xtcl.command.STXFilterCommand
All Implemented Interfaces:
Parametrized, Command, ParametrizedCommand

public class STXFilterCommand
extends StyleFilterCommand

Filter based on STX transformation.

Author:
tomp

Field Summary
 
Fields inherited from class net.sf.tomp.xtcl.command.StyleFilterCommand
styleRef
 
Fields inherited from class net.sf.tomp.xtcl.command.FilterCommand
className, params, realParams
 
Fields inherited from class net.sf.tomp.xtcl.command.VarCommand
var
 
Constructor Summary
STXFilterCommand()
           
 
Method Summary
protected  org.xml.sax.XMLFilter makeFilter(Context context, java.lang.String styleRef)
          Gets the necesssary factories and creates the transformation filter based on the STX (Joost) style.
 java.lang.String toString()
          Base for toString() in Joost and XSTL filters
 
Methods inherited from class net.sf.tomp.xtcl.command.StyleFilterCommand
execute, setStyleRef
 
Methods inherited from class net.sf.tomp.xtcl.command.FilterCommand
initFilter, setClassName, setParameter
 
Methods inherited from class net.sf.tomp.xtcl.command.AbstractParametrizedVarCommand
addParameterPropertiesReference, propertiesToParameters
 
Methods inherited from class net.sf.tomp.xtcl.command.VarCommand
setVar
 
Methods inherited from class net.sf.tomp.xtcl.command.AbstractCommand
done, initParameters, listArray, listList, listMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

STXFilterCommand

public STXFilterCommand()
Method Detail

makeFilter

protected org.xml.sax.XMLFilter makeFilter(Context context,
                                           java.lang.String styleRef)
                                    throws javax.xml.transform.TransformerConfigurationException
Gets the necesssary factories and creates the transformation filter based on the STX (Joost) style.

Specified by:
makeFilter in class StyleFilterCommand
Parameters:
context - the Context for getting factories
styleRef - String ref to XSLT or STX style
Returns:
the filter
Throws:
javax.xml.transform.TransformerConfigurationException - if cannot be created
See Also:
StyleFilterCommand.makeFilter(net.sf.tomp.xtcl.Context, java.lang.String)

toString

public java.lang.String toString()
Description copied from class: StyleFilterCommand
Base for toString() in Joost and XSTL filters

Overrides:
toString in class StyleFilterCommand
Returns:
"JOOST FILTER " + super.toString();


Copyright © 2004-2005 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.