KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > web > http > HTMLClient


1 package org.jahia.clipbuilder.html.web.http;
2
3 import org.jahia.clipbuilder.html.bean.UrlBean;
4
5 /**
6  * Description of the Interface
7  *
8  *@author Tlili Khaled
9  */

10 public interface HTMLClient {
11
12     /**
13      * Description of the Method
14      *
15      *@exception org.jahia.clipbuilder.html.util.WebClippingException Description of
16      * Exception
17      */

18     public void execute() throws org.jahia.clipbuilder.html.util.WebClippingException;
19
20
21     /**
22      * Gets the HtmlDocument attribute of the HTMLProcessor object
23      *
24      *@return The HtmlDocument value
25      */

26     public String JavaDoc getHtmlAsString();
27
28
29     /**
30      * Gets the Method attribute of the HTMLProcessor object
31      *
32      *@return The Method value
33      */

34     public String JavaDoc getMethod();
35
36
37     /**
38      * Gets the ProxyHost attribute of the HTMLProcessor object
39      *
40      *@return The ProxyHost value
41      */

42     public String JavaDoc getProxyHost();
43
44
45     /**
46      * Gets the ProxyPort attribute of the HTMLProcessor object
47      *
48      *@return The ProxyPort value
49      */

50     public int getProxyPort();
51
52
53     /**
54      * Gets the UrlBean attribute of the HTMLProcessor object
55      *
56      *@return The UrlBean value
57      */

58     public UrlBean getUrlBean();
59
60
61
62
63
64     /**
65      * Sets the Method attribute of the HTMLProcessor object
66      *
67      *@param method The new Method value
68      */

69     public void setMethod(String JavaDoc method);
70
71
72     /**
73      * Sets the ProxyHost attribute of the HTMLProcessor object
74      *
75      *@param proxy The new ProxyHost value
76      */

77     public void setProxyHost(String JavaDoc proxy);
78
79
80     /**
81      * Sets the ProxyPort attribute of the HTMLProcessor object
82      *
83      *@param proxyPort The new ProxyPort value
84      */

85     public void setProxyPort(int proxyPort);
86
87
88     /**
89      * Sets the UrlBean attribute of the HTMLProcessor object
90      *
91      *@param urlBean The new UrlBean value
92      */

93     public void setUrlBean(UrlBean urlBean);
94
95
96     /**
97      * Gets the JavascriptEnable attribute of the HTMLClient object
98      *
99      *@return The JavascriptEnable value
100      */

101     public boolean isJavascriptEnable();
102
103
104     /**
105      * Enable/disable javascript processing
106      *
107      *@param enable Description of Parameter
108      */

109     public void enabledJavascript(boolean enable);
110
111
112     /**
113      * Remove the last url
114      */

115     public void removeLastUrl();
116
117 }
118
Popular Tags