com.xmlcalabash.model
Class Option
java.lang.Object
com.xmlcalabash.model.SourceArtifact
com.xmlcalabash.model.EndPoint
com.xmlcalabash.model.Option
- All Implemented Interfaces:
- ComputableValue
public class Option
- extends EndPoint
- implements ComputableValue
- Author:
- ndw
Constructor Summary |
Option(XProcRuntime xproc,
net.sf.saxon.s9api.XdmNode node)
Creates a new instance of Option |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Option
public Option(XProcRuntime xproc,
net.sf.saxon.s9api.XdmNode node)
- Creates a new instance of Option
setName
public void setName(net.sf.saxon.s9api.QName name)
getName
public net.sf.saxon.s9api.QName getName()
- Specified by:
getName
in interface ComputableValue
setType
public void setType(java.lang.String type,
net.sf.saxon.s9api.XdmNode node)
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
setRequired
public void setRequired(java.lang.String required)
setRequired
public void setRequired(boolean required)
getRequired
public boolean getRequired()
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)