|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxproc.core.OptionValue
public class OptionValue
This class represents the value of an option while executing an XProc pipeline.
Constructor Summary | |
---|---|
OptionValue(javax.xml.namespace.QName name,
boolean outer,
XdmSequence value,
java.lang.String baseURI,
com.xml_project.xom.XOMUtilities.NamespaceMap namespaces,
SequenceType type)
Creates a new option value. |
|
OptionValue(javax.xml.namespace.QName name,
java.lang.String baseURI,
com.xml_project.xom.XOMUtilities.NamespaceMap namespaces,
SequenceType type)
Creates a new option value. |
|
OptionValue(javax.xml.namespace.QName name,
XdmSequence value,
java.lang.String baseURI,
com.xml_project.xom.XOMUtilities.NamespaceMap namespaces,
SequenceType type)
|
Method Summary | |
---|---|
OptionValue |
copy()
Creates a new option object as verbatim copy. |
java.net.URI |
getAbsoluteURIValue(com.xml_project.morganaxproc.core.steptypes.Step step,
boolean required)
|
java.lang.String |
getBaseURI()
|
java.lang.Boolean |
getBooleanValue(com.xml_project.morganaxproc.core.steptypes.Step step,
boolean required)
|
java.lang.Integer |
getIntegerValue(com.xml_project.morganaxproc.core.steptypes.Step step,
boolean required)
|
javax.xml.namespace.QName |
getName()
Returns the options name. |
com.xml_project.xom.XOMUtilities.NamespaceMap |
getNamespaces()
Returns the namespace declarations associated with this option |
java.lang.String |
getStringValue()
Returns the option's value as String or null, if no value is known for the option. |
SequenceType |
getType()
Returns the option's type (per xdm). |
XdmSequence |
getValue()
Returns the option's value or null, if no value is known for the option. |
boolean |
isOuterSet()
Returns true, if this option is set from outside of XProcEngine |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptionValue(javax.xml.namespace.QName name, java.lang.String baseURI, com.xml_project.xom.XOMUtilities.NamespaceMap namespaces, SequenceType type)
Creates a new option value. Option values are created by the XProcEngine.
name
- baseURI
- namespaces
- public OptionValue(javax.xml.namespace.QName name, XdmSequence value, java.lang.String baseURI, com.xml_project.xom.XOMUtilities.NamespaceMap namespaces, SequenceType type)
name
- value
- baseURI
- namespaces
- type
- public OptionValue(javax.xml.namespace.QName name, boolean outer, XdmSequence value, java.lang.String baseURI, com.xml_project.xom.XOMUtilities.NamespaceMap namespaces, SequenceType type)
Creates a new option value. Option values are created by the XProcEngine.
name
- outer
- value
- baseURI
- namespaces
- Method Detail |
---|
public SequenceType getType()
Returns the option's type (per xdm).
public boolean isOuterSet()
Returns true, if this option is set from outside of XProcEngine
public XdmSequence getValue()
Returns the option's value or null, if no value is known for the option.
public java.lang.String getStringValue()
Returns the option's value as String or null, if no value is known for the option.
public java.lang.Boolean getBooleanValue(com.xml_project.morganaxproc.core.steptypes.Step step, boolean required) throws com.xml_project.morganaxproc.core.XProcRuntimeException
step
- required
-
com.xml_project.morganaxproc.core.XProcRuntimeException
public java.lang.String getBaseURI()
public java.net.URI getAbsoluteURIValue(com.xml_project.morganaxproc.core.steptypes.Step step, boolean required) throws com.xml_project.morganaxproc.core.XProcRuntimeException
step
-
com.xml_project.morganaxproc.core.XProcRuntimeException
public java.lang.Integer getIntegerValue(com.xml_project.morganaxproc.core.steptypes.Step step, boolean required) throws com.xml_project.morganaxproc.core.XProcRuntimeException
step
- required
-
com.xml_project.morganaxproc.core.XProcRuntimeException
public javax.xml.namespace.QName getName()
Returns the options name.
public com.xml_project.xom.XOMUtilities.NamespaceMap getNamespaces()
Returns the namespace declarations associated with this option
public OptionValue copy()
Creates a new option object as verbatim copy.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |