com.xmlcalabash.model
Class Variable

java.lang.Object
  extended by com.xmlcalabash.model.SourceArtifact
      extended by com.xmlcalabash.model.EndPoint
          extended by com.xmlcalabash.model.Variable
All Implemented Interfaces:
ComputableValue

public class Variable
extends EndPoint
implements ComputableValue

Author:
ndw

Field Summary
 
Fields inherited from class com.xmlcalabash.model.EndPoint
bindings, step
 
Fields inherited from class com.xmlcalabash.model.SourceArtifact
extnAttrs, logger, node, runtime
 
Constructor Summary
Variable(XProcRuntime xproc, net.sf.saxon.s9api.XdmNode node)
          Creates a new instance of Variable
 
Method Summary
 void addNamespaceBinding(NamespaceBinding binding)
           
protected  void dump(int depth)
           
 net.sf.saxon.s9api.QName getName()
           
 java.util.Vector<NamespaceBinding> getNamespaceBindings()
           
 java.lang.String getSelect()
           
 java.lang.String getType()
           
 net.sf.saxon.s9api.QName getTypeAsQName()
           
 void setName(net.sf.saxon.s9api.QName name)
           
 void setSelect(java.lang.String select)
           
 java.lang.String toString()
           
 boolean valid(Environment env)
           
 
Methods inherited from class com.xmlcalabash.model.EndPoint
addBinding, clearBindings, findPipeBinding, getBinding, getStep, setStep
 
Methods inherited from class com.xmlcalabash.model.SourceArtifact
addExtensionAttribute, error, error, getExtensionAttribute, getExtensionAttributes, getNode, getXProc, xplFile, xplLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xmlcalabash.model.ComputableValue
getBinding, getNode
 

Constructor Detail

Variable

public Variable(XProcRuntime xproc,
                net.sf.saxon.s9api.XdmNode node)
Creates a new instance of Variable

Method Detail

setName

public void setName(net.sf.saxon.s9api.QName name)

getName

public net.sf.saxon.s9api.QName getName()
Specified by:
getName in interface ComputableValue

getType

public java.lang.String getType()
Specified by:
getType in interface ComputableValue

getTypeAsQName

public net.sf.saxon.s9api.QName getTypeAsQName()
Specified by:
getTypeAsQName in interface ComputableValue

setSelect

public void setSelect(java.lang.String select)

getSelect

public java.lang.String getSelect()
Specified by:
getSelect in interface ComputableValue

addNamespaceBinding

public void addNamespaceBinding(NamespaceBinding binding)
Specified by:
addNamespaceBinding in interface ComputableValue

getNamespaceBindings

public java.util.Vector<NamespaceBinding> getNamespaceBindings()
Specified by:
getNamespaceBindings in interface ComputableValue

valid

public boolean valid(Environment env)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

dump

protected void dump(int depth)