com.xmlcalabash.model
Class Viewport

java.lang.Object
  extended by com.xmlcalabash.model.SourceArtifact
      extended by com.xmlcalabash.model.Step
          extended by com.xmlcalabash.model.CompoundStep
              extended by com.xmlcalabash.model.DeclareStep
                  extended by com.xmlcalabash.model.Viewport

public class Viewport
extends DeclareStep

Author:
ndw

Field Summary
 
Fields inherited from class com.xmlcalabash.model.DeclareStep
declaredSteps, importedLibs, psviRequired, xpathVersion
 
Fields inherited from class com.xmlcalabash.model.Step
declaration, env, inputs, outputs, parent, stepName, stepType, version
 
Fields inherited from class com.xmlcalabash.model.SourceArtifact
extnAttrs, logger, node, runtime
 
Constructor Summary
Viewport(XProcRuntime xproc, net.sf.saxon.s9api.XdmNode node, java.lang.String name)
          Creates a new instance of Viewport
 
Method Summary
protected  void augmentIO()
           
 DeclareStep getDeclaration()
           
 java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
           
 RuntimeValue getMatch()
           
 Output getOutput(java.lang.String portName)
           
 boolean isPipeline()
           
 boolean loops()
           
 void patchEnvironment(Environment env)
           
 void setMatch(RuntimeValue match)
           
 boolean valid()
           
 
Methods inherited from class com.xmlcalabash.model.DeclareStep
addImport, checkBinding, checkOutputBindings, declareStep, getBodyParsed, getDeclaredType, getPipeline, getStepDeclaration, getStepDeclarations, getXmlContent, imported, isAtomic, setAtomic, setBodyParsed, setDeclaredType, setExcludeInlineNamespaces, setParentDecl, setPipeline, setPsviRequired, setup, setupEnvironment, setXmlContent, setXPathVersion
 
Methods inherited from class com.xmlcalabash.model.CompoundStep
addVariable, augment, augmentOptions, checkForBindings, checkPrimaryIO, checkVariables, containsStep, getVariables, setEnvironment, validBindings, validOutputBinding
 
Methods inherited from class com.xmlcalabash.model.Step
addDependency, addInput, addLog, addOption, addOutput, addParameter, addStep, checkDuplicateVars, checkOptionBinding, checkOptionBinding, dependsOn, dump, dump, getDefaultOutput, getDependencies, getEnvironment, getInput, getLog, getName, getNode, getOption, getOptions, getParameter, getParameters, getPrimaryOutput, getStep, getType, getVersion, inputs, insideALoop, isAnonymous, isPipelineCall, matchesDeclaration, options, orderSteps, outputs, parameters, patchInputBindings, patchPipeBindings, setDeclaration, setSubpipeline, setVersion, subpipeline, toString, validOptions, validParams
 
Methods inherited from class com.xmlcalabash.model.SourceArtifact
addExtensionAttribute, error, error, getExtensionAttribute, getExtensionAttributes, getXProc, xplFile, xplLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Viewport

public Viewport(XProcRuntime xproc,
                net.sf.saxon.s9api.XdmNode node,
                java.lang.String name)
Creates a new instance of Viewport

Method Detail

isPipeline

public boolean isPipeline()
Overrides:
isPipeline in class DeclareStep

getDeclaration

public DeclareStep getDeclaration()
Overrides:
getDeclaration in class DeclareStep

getExcludeInlineNamespaces

public java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
Overrides:
getExcludeInlineNamespaces in class DeclareStep

loops

public boolean loops()
Overrides:
loops in class Step

setMatch

public void setMatch(RuntimeValue match)

getMatch

public RuntimeValue getMatch()

augmentIO

protected void augmentIO()
Overrides:
augmentIO in class CompoundStep

getOutput

public Output getOutput(java.lang.String portName)
Overrides:
getOutput in class CompoundStep

patchEnvironment

public void patchEnvironment(Environment env)
Overrides:
patchEnvironment in class DeclareStep

valid

public boolean valid()
Overrides:
valid in class CompoundStep