com.xmlcalabash.library
Class DefaultStep

java.lang.Object
  extended by com.xmlcalabash.library.DefaultStep
All Implemented Interfaces:
XProcRunnable, XProcStep
Direct Known Subclasses:
AddAttribute, AddXmlBase, CollectionManager, Compare, Compare, Copy, Count, CssFormatter, Cwd, Delete, Delete, DeltaXML, DirectoryList, Env, Error, EscapeMarkup, Eval, Exec, Filter, GetCookies, Hash, Head, HttpRequest, Identity, Info, Info, Insert, JavaProperties, LabelElements, Load, MakeAbsoluteURIs, Message, MetadataExtractor, Mkdir, Move, NamespaceDelete, NamespaceRename, NVDL, Pack, Parameters, PrettyPrint, Rename, Replace, ReportErrors, SendMail, SetAttributes, SetCookies, Sink, SplitSequence, Store, StringReplace, Tail, Tempfile, Template, Touch, Uncompress, UnescapeMarkup, Unwrap, Unzip, UriInfo, UUID, ValidateJing, ValidateWithRNG, ValidateWithSCH, ValidateWithXSD, Wrap, WrapSequence, WWWFormURLDecode, WWWFormURLEncode, XCCAdhocQuery, XCCInsertDocument, XCCInvokeModule, XInclude, XQuery, XSLFormatter, XSLT, Zip

public class DefaultStep
extends java.lang.Object
implements XProcStep

Created by IntelliJ IDEA. User: ndw Date: Oct 8, 2008 Time: 7:46:15 AM To change this template use File | Settings | File Templates.


Field Summary
static net.sf.saxon.s9api.QName _byte_order_mark
           
static net.sf.saxon.s9api.QName _cdata_section_elements
           
static net.sf.saxon.s9api.QName _doctype_public
           
static net.sf.saxon.s9api.QName _doctype_system
           
static net.sf.saxon.s9api.QName _encoding
           
static net.sf.saxon.s9api.QName _escape_uri_attributes
           
static net.sf.saxon.s9api.QName _include_content_type
           
static net.sf.saxon.s9api.QName _indent
           
static net.sf.saxon.s9api.QName _media_type
           
static net.sf.saxon.s9api.QName _method
           
static net.sf.saxon.s9api.QName _normalization_form
           
static net.sf.saxon.s9api.QName _omit_xml_declaration
           
static net.sf.saxon.s9api.QName _standalone
           
static net.sf.saxon.s9api.QName _undeclare_prefixes
           
static net.sf.saxon.s9api.QName _version
           
protected  java.util.logging.Logger logger
           
protected  XProcRuntime runtime
           
protected  XAtomicStep step
           
 
Constructor Summary
DefaultStep(XProcRuntime runtime, XAtomicStep step)
           
 
Method Summary
 void error(net.sf.saxon.s9api.XdmNode node, java.lang.String message, net.sf.saxon.s9api.QName code)
           
 java.util.Vector<net.sf.saxon.s9api.XdmItem> evaluateXPath(net.sf.saxon.s9api.XdmNode doc, java.util.Hashtable<java.lang.String,java.lang.String> nsBindings, java.lang.String xpath, java.util.Hashtable<net.sf.saxon.s9api.QName,RuntimeValue> globals)
           
 void fine(net.sf.saxon.s9api.XdmNode node, java.lang.String message)
           
 void finer(net.sf.saxon.s9api.XdmNode node, java.lang.String message)
           
 void finest(net.sf.saxon.s9api.XdmNode node, java.lang.String message)
           
 RuntimeValue getOption(net.sf.saxon.s9api.QName name)
           
 boolean getOption(net.sf.saxon.s9api.QName name, boolean defaultValue)
           
 int getOption(net.sf.saxon.s9api.QName name, int defaultValue)
           
 net.sf.saxon.s9api.QName getOption(net.sf.saxon.s9api.QName name, net.sf.saxon.s9api.QName defaultValue)
           
 java.lang.String getOption(net.sf.saxon.s9api.QName name, java.lang.String defaultValue)
           
 XAtomicStep getStep()
           
 void info(net.sf.saxon.s9api.XdmNode node, java.lang.String message)
           
 net.sf.saxon.s9api.Serializer makeSerializer()
           
 void reset()
           
 void run()
           
 void setInput(java.lang.String port, ReadablePipe pipe)
           
 void setOption(net.sf.saxon.s9api.QName name, RuntimeValue value)
           
 void setOutput(java.lang.String port, WritablePipe pipe)
           
 void setParameter(net.sf.saxon.s9api.QName name, RuntimeValue value)
           
 void setParameter(java.lang.String port, net.sf.saxon.s9api.QName name, RuntimeValue value)
           
 void warning(net.sf.saxon.s9api.XdmNode node, java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_byte_order_mark

public static final net.sf.saxon.s9api.QName _byte_order_mark

_cdata_section_elements

public static final net.sf.saxon.s9api.QName _cdata_section_elements

_doctype_public

public static final net.sf.saxon.s9api.QName _doctype_public

_doctype_system

public static final net.sf.saxon.s9api.QName _doctype_system

_encoding

public static final net.sf.saxon.s9api.QName _encoding

_escape_uri_attributes

public static final net.sf.saxon.s9api.QName _escape_uri_attributes

_include_content_type

public static final net.sf.saxon.s9api.QName _include_content_type

_indent

public static final net.sf.saxon.s9api.QName _indent

_media_type

public static final net.sf.saxon.s9api.QName _media_type

_method

public static final net.sf.saxon.s9api.QName _method

_normalization_form

public static final net.sf.saxon.s9api.QName _normalization_form

_omit_xml_declaration

public static final net.sf.saxon.s9api.QName _omit_xml_declaration

_standalone

public static final net.sf.saxon.s9api.QName _standalone

_undeclare_prefixes

public static final net.sf.saxon.s9api.QName _undeclare_prefixes

_version

public static final net.sf.saxon.s9api.QName _version

runtime

protected XProcRuntime runtime

step

protected XAtomicStep step

logger

protected java.util.logging.Logger logger
Constructor Detail

DefaultStep

public DefaultStep(XProcRuntime runtime,
                   XAtomicStep step)
Method Detail

getStep

public XAtomicStep getStep()

setInput

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

setOutput

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

setParameter

public void setParameter(net.sf.saxon.s9api.QName name,
                         RuntimeValue value)
Specified by:
setParameter in interface XProcStep

setParameter

public void setParameter(java.lang.String port,
                         net.sf.saxon.s9api.QName name,
                         RuntimeValue value)
Specified by:
setParameter in interface XProcStep

setOption

public void setOption(net.sf.saxon.s9api.QName name,
                      RuntimeValue value)
Specified by:
setOption in interface XProcStep

getOption

public RuntimeValue getOption(net.sf.saxon.s9api.QName name)

getOption

public java.lang.String getOption(net.sf.saxon.s9api.QName name,
                                  java.lang.String defaultValue)

getOption

public net.sf.saxon.s9api.QName getOption(net.sf.saxon.s9api.QName name,
                                          net.sf.saxon.s9api.QName defaultValue)

getOption

public boolean getOption(net.sf.saxon.s9api.QName name,
                         boolean defaultValue)

getOption

public int getOption(net.sf.saxon.s9api.QName name,
                     int defaultValue)

reset

public void reset()
Specified by:
reset in interface XProcRunnable

error

public void error(net.sf.saxon.s9api.XdmNode node,
                  java.lang.String message,
                  net.sf.saxon.s9api.QName code)

warning

public void warning(net.sf.saxon.s9api.XdmNode node,
                    java.lang.String message)

info

public void info(net.sf.saxon.s9api.XdmNode node,
                 java.lang.String message)

fine

public void fine(net.sf.saxon.s9api.XdmNode node,
                 java.lang.String message)

finer

public void finer(net.sf.saxon.s9api.XdmNode node,
                  java.lang.String message)

finest

public void finest(net.sf.saxon.s9api.XdmNode node,
                   java.lang.String message)

run

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

makeSerializer

public net.sf.saxon.s9api.Serializer makeSerializer()

evaluateXPath

public java.util.Vector<net.sf.saxon.s9api.XdmItem> evaluateXPath(net.sf.saxon.s9api.XdmNode doc,
                                                                  java.util.Hashtable<java.lang.String,java.lang.String> nsBindings,
                                                                  java.lang.String xpath,
                                                                  java.util.Hashtable<net.sf.saxon.s9api.QName,RuntimeValue> globals)