org.exolab.adaptx.xslt
public class TreeFragmentResult extends XSLTFunctionResult
Version: $Revision: 4092 $ $Date: 2004-01-26 18:43:54 -0500 (Mon, 26 Jan 2004) $
| Constructor Summary | |
|---|---|
| TreeFragmentResult()
Creates a new TreeFragmentResult that represents
a "empty" fragment.
| |
| TreeFragmentResult(XPathNode node)
Creates a new TreeFragmentResult with the given XPathNode.
| |
| TreeFragmentResult(NodeSet nodes)
Creates a new TreeFragmentResult with the given NodeSet.
| |
| Method Summary | |
|---|---|
| boolean | booleanValue()
Returns the value of this ExprResult as a boolean |
| boolean | equals(XPathResult result)
Returns true if the given expression is the same tyoe as
this result and has the same value as this result.
|
| NodeSet | getValue()
Returns the value of this TreeFragmentResult
|
| short | getXSLTResultType()
Returns the type of this result.
|
| Object | javaObject()
Returns the Result as a Java Object. |
| double | numberValue()
Returns the value of this XPathResult as a double
|
| void | setValue(XPathNode node)
Sets the value of this TreeFragmentResult
|
| void | setValue(NodeSet nodes)
Sets the value of this TreeFragmentResult
|
| String | stringValue()
Returns the result as a string value. |
| String | toString() |
Parameters: node the XPathNode which is the "tree fragment".
Parameters: nodes the NodeSet which is the "tree fragment".
Returns: the value of this ExprResult as a boolean
Parameters: result An XPath result
Returns: True if same type and same value as this result
Returns: the value of this TreeFragmentResult
Returns: The type of this result
Returns: the Result as a Java Object
Returns: the value of this XPathResult as a double
Parameters: node the XPathNode to use as the result fragment
Parameters: nodes the NodeSet to use as the result fragment
Returns: The result as a string value