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
public static final int XPR_BOOLEAN
- See Also:
- Constant Field Values
XPR_NODESET
public static final int XPR_NODESET
- See Also:
- Constant Field Values
XPR_NULL
public static final int XPR_NULL
- See Also:
- Constant Field Values
XPR_NUMBER
public static final int XPR_NUMBER
- See Also:
- Constant Field Values
XPR_RTREEFRAG
public static final int XPR_RTREEFRAG
- See Also:
- Constant Field Values
XPR_STRING
public static final int XPR_STRING
- See Also:
- Constant Field Values
XPR_UNKNOWN
public static final int XPR_UNKNOWN
- See Also:
- Constant Field Values
XPR_SINGLE_ELEMENT
public static final int XPR_SINGLE_ELEMENT
- See Also:
- Constant Field Values
getType
public int getType()
- Returns:
- the type of result. It will be one of the constants
defined by this interface
getStringValue
public String getStringValue()
- Returns:
- the value of result cast to a string
- Throws:
XPathResultTransformException
- if result cannot be extracted
isTrue
public 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.