TreeFragmentResult
public abstract class XSLTFunctionResult extends XPathResult
Modifier and Type | Field | Description |
---|---|---|
static short |
TREE_FRAGMENT |
The tree-fragment result
|
BOOLEAN, NODE_SET, NUMBER, STRING, USER_DEFINED
Constructor | Description |
---|---|
XSLTFunctionResult() |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
booleanValue() |
Returns the result as a boolean value.
|
abstract 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.
|
int |
getResultType() |
Returns the type of this result.
|
abstract short |
getXSLTResultType() |
Returns the type of this result.
|
abstract java.lang.Object |
javaObject() |
Returns the result as a Java object.
|
abstract double |
numberValue() |
Returns the result as a number value.
|
abstract java.lang.String |
stringValue() |
Returns the result as a string value.
|
public static final short TREE_FRAGMENT
public abstract short getXSLTResultType()
public int getResultType()
getResultType
in class XPathResult
getXSLTResultType()
public abstract boolean booleanValue()
booleanValue
in class XPathResult
public abstract double numberValue()
numberValue
in class XPathResult
public abstract java.lang.String stringValue()
stringValue
in class XPathResult
public abstract java.lang.Object javaObject()
Boolean
for a boolean result, an object of
type String
for a string result, an object of type
Double
for a number result, or an object of type
NodeSet
for a node-set.javaObject
in class XPathResult
public abstract boolean equals(XPathResult result)
equals
in class XPathResult
result
- An XPath result