|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IXDAReadOnly
| Method Summary | |
|---|---|
IXPathResult |
eval(java.lang.String aTargetXPath)
Evaluate the xpath against the document returning an IXPathResult |
java.lang.String |
getText(java.lang.String aTargetXPath,
boolean aTrim)
Return the text that is contained at the element located using an XPath |
boolean |
isTrue(java.lang.String aTargetXPath)
Evaluate and xpath against the document returning a boolean result |
IXDAReadOnlyIterator |
readOnlyIterator(java.lang.String aTargetXPath)
Return an iterator over all elements that match the an XPath |
void |
serialize(java.io.Writer aWriter,
boolean indent)
Serialize the whole document |
void |
serialize(java.io.Writer aWriter,
java.lang.String aTargetXPath,
boolean indent)
Serialize part of the document |
| Method Detail |
|---|
IXPathResult eval(java.lang.String aTargetXPath)
throws XPathLocationException
XPathLocationException - throw if the xpath is malformed
boolean isTrue(java.lang.String aTargetXPath)
throws XPathLocationException
XPathLocationException - throw if the xpath is malformed
java.lang.String getText(java.lang.String aTargetXPath,
boolean aTrim)
throws XPathLocationException
aTargetXPath - the xpathaTrim - if true trim whitespace from the String
XPathLocationException - throw if the xpath is malformed or
doesn't point to a single unique element
IXDAReadOnlyIterator readOnlyIterator(java.lang.String aTargetXPath)
throws XPathLocationException
aTargetXPath - the xpath
XPathLocationException - throw if the xpath is malformed
void serialize(java.io.Writer aWriter,
java.lang.String aTargetXPath,
boolean indent)
throws XPathLocationException,
java.io.IOException
aWriter - the writer to write the serialized document toaTargetXPath - the xpathindent - true if the document should be re-indented
XPathLocationException - throw if the xpath is malformed or
doesn't point to a single unique element
java.io.IOException - throw if the writer cannot be written to
void serialize(java.io.Writer aWriter,
boolean indent)
throws java.io.IOException
aWriter - the writer to write the serialized document toindent - true if the document should be re-indented
java.io.IOException - throw if the writer cannot be written to
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||