org.ten60.netkernel.xml.xda
Interface IXPathResult
- All Known Implementing Classes:
- DOMXPathResult
public interface IXPathResult
The result of evaluating an XPath expression on IXDA
XPR_BOOLEAN
static final int XPR_BOOLEAN
- See Also:
- Constant Field Values
XPR_NODESET
static final int XPR_NODESET
- See Also:
- Constant Field Values
XPR_NULL
static final int XPR_NULL
- See Also:
- Constant Field Values
XPR_NUMBER
static final int XPR_NUMBER
- See Also:
- Constant Field Values
XPR_RTREEFRAG
static final int XPR_RTREEFRAG
- See Also:
- Constant Field Values
XPR_STRING
static final int XPR_STRING
- See Also:
- Constant Field Values
XPR_UNKNOWN
static final int XPR_UNKNOWN
- See Also:
- Constant Field Values
XPR_SINGLE_ELEMENT
static final int XPR_SINGLE_ELEMENT
- See Also:
- Constant Field Values
getType
int getType()
- Returns:
- the type of result. It will be one of the constants
defined by this interface
getStringValue
java.lang.String getStringValue()
- Returns:
- the value of result cast to a string
- Throws:
XPathResultTransformException - if result cannot be extracted
isTrue
boolean isTrue()
throws XPathLocationException
- Returns:
- true if the result can be cast to true
- Throws:
thrown - if result cannot be cast to boolean
XPathLocationException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.