|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.adaptx.xpath.XPathResult
org.exolab.adaptx.xslt.XSLTFunctionResult
public abstract class XSLTFunctionResult
Abstract class representing the result of an XSLT extension function.
Field Summary | |
---|---|
static short |
TREE_FRAGMENT
The tree-fragment result |
Fields inherited from class org.exolab.adaptx.xpath.XPathResult |
---|
BOOLEAN, NODE_SET, NUMBER, STRING, USER_DEFINED |
Constructor Summary | |
---|---|
XSLTFunctionResult()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short TREE_FRAGMENT
Constructor Detail |
---|
public XSLTFunctionResult()
Method Detail |
---|
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
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |