|
||||||||
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
org.exolab.adaptx.xslt.TreeFragmentResult
public class TreeFragmentResult
Represents a TreeFragment result
Field Summary |
---|
Fields inherited from class org.exolab.adaptx.xslt.XSLTFunctionResult |
---|
TREE_FRAGMENT |
Fields inherited from class org.exolab.adaptx.xpath.XPathResult |
---|
BOOLEAN, NODE_SET, NUMBER, STRING, USER_DEFINED |
Constructor Summary | |
---|---|
TreeFragmentResult()
Creates a new TreeFragmentResult that represents a "empty" fragment. |
|
TreeFragmentResult(NodeSet nodes)
Creates a new TreeFragmentResult with the given NodeSet. |
|
TreeFragmentResult(XPathNode node)
Creates a new TreeFragmentResult with the given XPathNode. |
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. |
java.lang.Object |
javaObject()
Returns the Result as a Java Object. |
double |
numberValue()
Returns the value of this XPathResult as a double |
void |
setValue(NodeSet nodes)
Sets the value of this TreeFragmentResult |
void |
setValue(XPathNode node)
Sets the value of this TreeFragmentResult |
java.lang.String |
stringValue()
Returns the result as a string value. |
java.lang.String |
toString()
|
Methods inherited from class org.exolab.adaptx.xslt.XSLTFunctionResult |
---|
getResultType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TreeFragmentResult()
public TreeFragmentResult(XPathNode node)
node
- the XPathNode which is the "tree fragment".public TreeFragmentResult(NodeSet nodes)
nodes
- the NodeSet which is the "tree fragment".Method Detail |
---|
public NodeSet getValue()
public void setValue(XPathNode node)
node
- the XPathNode to use as the result fragmentpublic void setValue(NodeSet nodes)
nodes
- the NodeSet to use as the result fragmentpublic short getXSLTResultType()
getXSLTResultType
in class XSLTFunctionResult
public boolean booleanValue()
booleanValue
in class XSLTFunctionResult
public boolean equals(XPathResult result)
equals
in class XSLTFunctionResult
result
- An XPath result
public double numberValue()
numberValue
in class XSLTFunctionResult
public java.lang.Object javaObject()
javaObject
in class XSLTFunctionResult
public java.lang.String stringValue()
stringValue
in class XSLTFunctionResult
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |