git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
crawler
/
basic
/
src
/
org
/
wamblee
/
crawler
/
PageRequest.java
diff --git
a/crawler/basic/src/org/wamblee/crawler/PageRequest.java
b/crawler/basic/src/org/wamblee/crawler/PageRequest.java
index 753bc05b7178fbc1fd0ede94a6e0b300ed734723..192f74e4587ecc714c174a92f45bbcf326439533 100644
(file)
--- a/
crawler/basic/src/org/wamblee/crawler/PageRequest.java
+++ b/
crawler/basic/src/org/wamblee/crawler/PageRequest.java
@@
-25,14
+25,17
@@
import org.w3c.dom.Document;
public interface PageRequest {
/**
public interface PageRequest {
/**
- * Gets a page as an XML document.
+ * Gets a page as an XML document.
+ * @param aUrl Url of the page.
* @param aClient Http client to use.
* @return Client.
* @param aClient Http client to use.
* @return Client.
+ * @throws PageException In case of problems retrieving the page.
*/
Document execute(String aUrl, HttpClient aClient) throws PageException;
/**
*/
Document execute(String aUrl, HttpClient aClient) throws PageException;
/**
- * Overrides the Xslt to use.
+ * Overrides the Xslt to use. This is used when the transformed page specifies
+ * the page type explicitly for an action.
* @param aXslt Xslt to use.
*/
void overrideXslt(String aXslt);
* @param aXslt Xslt to use.
*/
void overrideXslt(String aXslt);