com.xmlcalabash.library
Class Store

java.lang.Object
  extended by com.xmlcalabash.library.DefaultStep
      extended by com.xmlcalabash.library.Store
All Implemented Interfaces:
XProcRunnable, XProcStep
Direct Known Subclasses:
Compress

public class Store
extends DefaultStep

Author:
ndw

Nested Class Summary
protected static class Store.CompressionMethod
           
 
Field Summary
protected  Store.CompressionMethod method
           
 
Fields inherited from class com.xmlcalabash.library.DefaultStep
_byte_order_mark, _cdata_section_elements, _doctype_public, _doctype_system, _escape_uri_attributes, _include_content_type, _indent, _media_type, _method, _normalization_form, _omit_xml_declaration, _standalone, _undeclare_prefixes, _version, logger, runtime, step
 
Constructor Summary
Store(XProcRuntime runtime, XAtomicStep step)
          Creates a new instance of Store
 
Method Summary
 void reset()
           
 void returnData(java.io.ByteArrayOutputStream baos)
           
 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

method

protected Store.CompressionMethod method
Constructor Detail

Store

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

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

returnData

public void returnData(java.io.ByteArrayOutputStream baos)