com.xmlcalabash.runtime
Class XViewport

java.lang.Object
  extended by com.xmlcalabash.runtime.XStep
      extended by com.xmlcalabash.runtime.XAtomicStep
          extended by com.xmlcalabash.runtime.XCompoundStep
              extended by com.xmlcalabash.runtime.XViewport
All Implemented Interfaces:
XProcRunnable, ProcessMatchingNodes

public class XViewport
extends XCompoundStep
implements ProcessMatchingNodes

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


Field Summary
 
Fields inherited from class com.xmlcalabash.runtime.XCompoundStep
subpipeline, variables
 
Fields inherited from class com.xmlcalabash.runtime.XAtomicStep
inputs, outputs
 
Fields inherited from class com.xmlcalabash.runtime.XStep
inScopeOptions, logger, name, parent, runtime, step
 
Constructor Summary
XViewport(XProcRuntime runtime, Step step, XCompoundStep parent)
           
 
Method Summary
protected  void copyInputs()
           
 ReadablePipe getBinding(java.lang.String stepName, java.lang.String portName)
           
 void processAttribute(net.sf.saxon.s9api.XdmNode node)
           
 void processComment(net.sf.saxon.s9api.XdmNode node)
           
 void processEndDocument(net.sf.saxon.s9api.XdmNode node)
           
 void processEndElement(net.sf.saxon.s9api.XdmNode node)
           
 void processPI(net.sf.saxon.s9api.XdmNode node)
           
 boolean processStartDocument(net.sf.saxon.s9api.XdmNode node)
           
 boolean processStartElement(net.sf.saxon.s9api.XdmNode node)
           
 void processText(net.sf.saxon.s9api.XdmNode node)
           
 void reset()
           
 void run()
           
 
Methods inherited from class com.xmlcalabash.runtime.XCompoundStep
addStep, getVariable, hasInScopeVariableBinding, hasInScopeVariableValue, instantiate
 
Methods inherited from class com.xmlcalabash.runtime.XAtomicStep
computeParameters, computeValue, evaluateXPath, getParent, getPipeFromBinding, hasReadablePipes, hasWriteablePipe, instantiateReaders, optionAvailable, reportError
 
Methods inherited from class com.xmlcalabash.runtime.XStep
addInput, addOutput, clearOptions, clearParameters, error, fine, finer, finest, getDeclareStep, getExtensionAttribute, getInheritedExtensionAttribute, getInput, getInScopeOptions, getName, getNode, getOption, getOptions, getOutput, getParameter, getParameter, getParameterPorts, getParameters, getParameters, getStep, getType, info, setOption, setParameter, setParameter, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XViewport

public XViewport(XProcRuntime runtime,
                 Step step,
                 XCompoundStep parent)
Method Detail

getBinding

public ReadablePipe getBinding(java.lang.String stepName,
                               java.lang.String portName)
Overrides:
getBinding in class XCompoundStep

copyInputs

protected void copyInputs()
                   throws net.sf.saxon.s9api.SaxonApiException
Overrides:
copyInputs in class XCompoundStep
Throws:
net.sf.saxon.s9api.SaxonApiException

reset

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

run

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

processStartDocument

public boolean processStartDocument(net.sf.saxon.s9api.XdmNode node)
Specified by:
processStartDocument in interface ProcessMatchingNodes

processEndDocument

public void processEndDocument(net.sf.saxon.s9api.XdmNode node)
Specified by:
processEndDocument in interface ProcessMatchingNodes

processStartElement

public boolean processStartElement(net.sf.saxon.s9api.XdmNode node)
Specified by:
processStartElement in interface ProcessMatchingNodes

processEndElement

public void processEndElement(net.sf.saxon.s9api.XdmNode node)
Specified by:
processEndElement in interface ProcessMatchingNodes

processText

public void processText(net.sf.saxon.s9api.XdmNode node)
Specified by:
processText in interface ProcessMatchingNodes

processComment

public void processComment(net.sf.saxon.s9api.XdmNode node)
Specified by:
processComment in interface ProcessMatchingNodes

processPI

public void processPI(net.sf.saxon.s9api.XdmNode node)
Specified by:
processPI in interface ProcessMatchingNodes

processAttribute

public void processAttribute(net.sf.saxon.s9api.XdmNode node)
Specified by:
processAttribute in interface ProcessMatchingNodes