X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fbasic%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2FAction.java;h=f24cacd0ea4547c11a9afec2af5201d49c325e0a;hb=5685a836b9208ff8babfe5ac5b30c5f86d27cf96;hp=a4df7a1fc736e0186236c61a86a63fdcf80cb3f6;hpb=81bc61121a8f17f754fc99eb66603a59df242ddc;p=utils diff --git a/crawler/basic/src/org/wamblee/crawler/Action.java b/crawler/basic/src/org/wamblee/crawler/Action.java index a4df7a1f..f24cacd0 100644 --- a/crawler/basic/src/org/wamblee/crawler/Action.java +++ b/crawler/basic/src/org/wamblee/crawler/Action.java @@ -16,6 +16,7 @@ package org.wamblee.crawler; +import org.apache.commons.httpclient.NameValuePair; import org.dom4j.Element; /** @@ -31,14 +32,15 @@ public interface Action { /** * Executes the action. - * @return + * @return New page as a result of the action. + * @throws PageException In case of an error obtaining the page. */ - Page execute(); + Page execute() throws PageException; /** * Gets a description of the action. THe element returned is the action element * itself. - * @return + * @return Content as XML. */ Element getContent(); }