com.xmlcalabash.library
Class ValidateWithXSD

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

public class ValidateWithXSD
extends DefaultStep

Author:
ndw

Field Summary
 
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, logger, runtime, step
 
Constructor Summary
ValidateWithXSD(XProcRuntime runtime, XAtomicStep step)
          Creates a new instance of ValidateWithXSD
 
Method Summary
 void reset()
           
 void run()
           
 void setInput(java.lang.String port, ReadablePipe pipe)
           
 void setOutput(java.lang.String port, WritablePipe pipe)
           
 void validateWithSaxonSA(net.sf.saxon.s9api.SchemaManager manager)
           
 
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
 

Constructor Detail

ValidateWithXSD

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

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

validateWithSaxonSA

public void validateWithSaxonSA(net.sf.saxon.s9api.SchemaManager manager)
                         throws net.sf.saxon.s9api.SaxonApiException
Throws:
net.sf.saxon.s9api.SaxonApiException