|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOXPath
An XPath 1.0 abstraction for XPath implementations.
Implementations of this class are normally retrieved from the IOXPathFactory
.
Method Summary | |
---|---|
boolean |
getBoolean(ComplexDataObject o)
Returns a boolean representation of the node specified by this object's XPath expression. |
List |
getList(ComplexDataObject o)
Returns a List representation of the node specified by this object's XPath expression. |
Number |
getNumber(ComplexDataObject o)
Returns a Number representation of the node specified by this object's XPath expression. |
Object |
getObject(ComplexDataObject o)
Returns an Object representation of the node specified by this object's XPath expression. |
String |
getString(ComplexDataObject o)
Returns a String representation of the node specified by this object's XPath expression. |
Method Detail |
---|
Object getObject(ComplexDataObject o) throws IOXPathException
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.List getList(ComplexDataObject o) throws IOXPathException
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.boolean getBoolean(ComplexDataObject o) throws IOXPathException
o
- The ComplexDataObject
on which the expression will be evaluated.
true if the underlying implementation evaluates the XPath expression to true.
- Throws:
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.
Number getNumber(ComplexDataObject o) throws IOXPathException
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.String getString(ComplexDataObject o) throws IOXPathException
o
- The ComplexDataObject
on which the expression will be evaluated.
IOXPathException
- If the underlying xpath implementation rejects the xpath expression.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |