KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > web > html > HTMLTransformer


1 package org.jahia.clipbuilder.html.web.html;
2 import org.jahia.clipbuilder.html.bean.UrlBean;
3 import javax.servlet.http.*;
4 import org.jahia.clipbuilder.html.web.Url.UrlEncoderIF;
5 import org.jahia.clipbuilder.html.web.HTMLDocumentBuilder;
6
7 /**
8  * Description of the Interface
9  *
10  *@author Tlili
11  */

12 public interface HTMLTransformer {
13
14     /**
15      * Sets the Builder attribute of the HTMLTransformer object
16      *
17      *@param builder The new Builder value
18      */

19     public void setBuilder(HTMLDocumentBuilder builder);
20
21
22
23     /**
24      * Gets the Builder attribute of the HTMLTransformer object
25      *
26      *@return The Builder value
27      */

28     public HTMLDocumentBuilder getBuilder();
29
30
31
32     /**
33      * Build chew document
34      *
35      *@param tagName Description of Parameter
36      */

37     public void buildChewDocument(String JavaDoc tagName);
38
39
40     /**
41      * Build document whith label param
42      */

43     public void buildDocumentWhithLabel();
44
45
46
47     /**
48      * Build a document whith absolute url and record all input parameter in
49      * urlBean
50      */

51     public void buildTransformedDocument();
52
53
54     /**
55      * Description of the Method
56      */

57     public void buildUserDocument();
58
59
60     /**
61      * Gets the UrlBean attribute of the HTMLTransformer object
62      *
63      *@return The UrlBean value
64      */

65     public UrlBean getUrlBean();
66
67
68     /**
69      * Gets a List of all parsing errors than occured during a build
70      *
71      *@return The LastParsingErrors value
72      */

73     public java.util.List JavaDoc getLastParsingErrors();
74
75
76     /**
77      * Description of the Method
78      */

79     public void clearParsingErrors();
80
81
82     /**
83      * Description of the Method
84      *
85      *@param enableCSS Description of Parameter
86      */

87     public void enableCSS(boolean enableCSS);
88
89
90     /**
91      * Gets the EnableCSS attribute of the HTMLTransformer object
92      *
93      *@return The EnableCSS value
94      */

95     public boolean isEnableCSS();
96
97
98     /**
99      * Description of the Method
100      *
101      *@param remove Description of Parameter
102      */

103     public void removeMetaTag(boolean remove);
104
105
106     /**
107      * Description of the Method
108      *
109      *@param remove Description of Parameter
110      */

111     public void removeHeadScriptTag(boolean remove);
112
113
114     /**
115      * Description of the Method
116      *
117      *@param remove Description of Parameter
118      */

119     public void removeJavascriptEvent(boolean remove);
120
121
122     /**
123      * Description of the Method
124      *
125      *@param refactor Description of Parameter
126      */

127     public void refactorJavascriptCode(boolean refactor);
128
129
130     /**
131      * Description of the Method
132      *
133      *@param refactor Description of Parameter
134      */

135     public void refactorJavascriptEvent(boolean refactor);
136
137
138     /**
139      * Description of the Method
140      *
141      *@param remove Description of Parameter
142      */

143     public void removeBodyScript(boolean remove);
144
145 }
146
Popular Tags