com.xmlcalabash.library
Class Filter

java.lang.Object
  extended by com.xmlcalabash.library.DefaultStep
      extended by com.xmlcalabash.library.Filter
All Implemented Interfaces:
XProcRunnable, XProcStep

public class Filter
extends DefaultStep

Author:
ndw

Field Summary
protected static java.lang.String logger
           
 
Fields inherited from class com.xmlcalabash.library.DefaultStep
_byte_order_mark, _cdata_section_elements, _doctype_public, _doctype_system, _encoding, _escape_uri_attributes, _include_content_type, _indent, _media_type, _method, _normalization_form, _omit_xml_declaration, _standalone, _undeclare_prefixes, _version, runtime, step
 
Constructor Summary
Filter(XProcRuntime runtime, XAtomicStep step)
          Creates a new instance of Filter
 
Method Summary
 void reset()
           
 void run()
           
 void setInput(java.lang.String port, ReadablePipe pipe)
           
 void setOutput(java.lang.String port, WritablePipe pipe)
           
 
Methods inherited from class com.xmlcalabash.library.DefaultStep
error, evaluateXPath, fine, finer, finest, getOption, getOption, getOption, getOption, getOption, getStep, info, makeSerializer, setOption, setParameter, setParameter, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final java.lang.String logger
See Also:
Constant Field Values
Constructor Detail

Filter

public Filter(XProcRuntime runtime,
              XAtomicStep step)
Creates a new instance of Filter

Method Detail

setInput

public void setInput(java.lang.String port,
                     ReadablePipe pipe)
Specified by:
setInput in interface XProcStep
Overrides:
setInput in class DefaultStep

setOutput

public void setOutput(java.lang.String port,
                      WritablePipe pipe)
Specified by:
setOutput in interface XProcStep
Overrides:
setOutput in class DefaultStep

reset

public void reset()
Specified by:
reset in interface XProcRunnable
Overrides:
reset in class DefaultStep

run

public void run()
         throws net.sf.saxon.s9api.SaxonApiException
Specified by:
run in interface XProcRunnable
Overrides:
run in class DefaultStep
Throws:
net.sf.saxon.s9api.SaxonApiException