• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
6<TITLE>
7Handler (OWASP Java HTML Sanitizer)
8</TITLE>
9
10
11<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
12
13<SCRIPT type="text/javascript">
14function windowTitle()
15{
16    if (location.href.indexOf('is-external=true') == -1) {
17        parent.document.title="Handler (OWASP Java HTML Sanitizer)";
18    }
19}
20</SCRIPT>
21<NOSCRIPT>
22</NOSCRIPT>
23
24</HEAD>
25
26<BODY BGCOLOR="white" onload="windowTitle();">
27<HR>
28
29
30<!-- ========= START OF TOP NAVBAR ======= -->
31<A NAME="navbar_top"><!-- --></A>
32<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
33<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
34<TR>
35<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
36<A NAME="navbar_top_firstrow"><!-- --></A>
37<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
38  <TR ALIGN="center" VALIGN="top">
39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Handler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  </TR>
47</TABLE>
48</TD>
49<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50<a href="http://code.google.com/p/owasp-java-html-sanitizer" target=_top>code.google.com home</a></EM>
51</TD>
52</TR>
53
54<TR>
55<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56&nbsp;<A HREF="../../../org/owasp/html/FilterUrlByProtocolAttributePolicy.html" title="class in org.owasp.html"><B>PREV CLASS</B></A>&nbsp;
57&nbsp;<A HREF="../../../org/owasp/html/HtmlChangeListener.html" title="interface in org.owasp.html"><B>NEXT CLASS</B></A></FONT></TD>
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59  <A HREF="../../../index.html?org/owasp/html/Handler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60&nbsp;<A HREF="Handler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
61&nbsp;<SCRIPT type="text/javascript">
62  <!--
63  if(window==top) {
64    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
65  }
66  //-->
67</SCRIPT>
68<NOSCRIPT>
69  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
70</NOSCRIPT>
71
72
73</FONT></TD>
74</TR>
75<TR>
76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80</TR>
81</TABLE>
82<A NAME="skip-navbar_top"></A>
83<!-- ========= END OF TOP NAVBAR ========= -->
84
85<HR>
86<!-- ======== START OF CLASS DATA ======== -->
87<H2>
88<FONT SIZE="-1">
89org.owasp.html</FONT>
90<BR>
91Interface Handler&lt;T&gt;</H2>
92<HR>
93<DL>
94<DT><PRE>public interface <A HREF="../../../src-html/org/owasp/html/Handler.html#line.38"><B>Handler&lt;T&gt;</B></A></DL>
95</PRE>
96
97<P>
98Receives notification of problems.
99<P>
100
101<P>
102<DL>
103<DT><B>Author:</B></DT>
104  <DD>Mike Samuel <mikesamuel@gmail.com></DD>
105</DL>
106<HR>
107
108<P>
109<!-- =========== FIELD SUMMARY =========== -->
110
111<A NAME="field_summary"><!-- --></A>
112<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
115<B>Field Summary</B></FONT></TH>
116</TR>
117<TR BGCOLOR="white" CLASS="TableRowColor">
118<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119<CODE>static&nbsp;<A HREF="../../../org/owasp/html/Handler.html" title="interface in org.owasp.html">Handler</A>&lt;java.lang.Object&gt;</CODE></FONT></TD>
120<TD><CODE><B><A HREF="../../../org/owasp/html/Handler.html#DO_NOTHING">DO_NOTHING</A></B></CODE>
121
122<BR>
123&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A handler that does nothing given any input.</TD>
124</TR>
125<TR BGCOLOR="white" CLASS="TableRowColor">
126<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127<CODE>static&nbsp;<A HREF="../../../org/owasp/html/Handler.html" title="interface in org.owasp.html">Handler</A>&lt;java.lang.Throwable&gt;</CODE></FONT></TD>
128<TD><CODE><B><A HREF="../../../org/owasp/html/Handler.html#PROPAGATE">PROPAGATE</A></B></CODE>
129
130<BR>
131&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A handler that re-raises an error, wrapping it in a runtime exception if
132 necessary.</TD>
133</TR>
134</TABLE>
135&nbsp;
136<!-- ========== METHOD SUMMARY =========== -->
137
138<A NAME="method_summary"><!-- --></A>
139<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
141<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
142<B>Method Summary</B></FONT></TH>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146<CODE>&nbsp;void</CODE></FONT></TD>
147<TD><CODE><B><A HREF="../../../org/owasp/html/Handler.html#handle(T)">handle</A></B>(<A HREF="../../../org/owasp/html/Handler.html" title="type parameter in Handler">T</A>&nbsp;x)</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
151</TR>
152</TABLE>
153&nbsp;
154<P>
155
156<!-- ============ FIELD DETAIL =========== -->
157
158<A NAME="field_detail"><!-- --></A>
159<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
162<B>Field Detail</B></FONT></TH>
163</TR>
164</TABLE>
165
166<A NAME="DO_NOTHING"><!-- --></A><H3>
167DO_NOTHING</H3>
168<PRE>
169static final <A HREF="../../../org/owasp/html/Handler.html" title="interface in org.owasp.html">Handler</A>&lt;java.lang.Object&gt; <A HREF="../../../src-html/org/owasp/html/Handler.html#line.43"><B>DO_NOTHING</B></A></PRE>
170<DL>
171<DD>A handler that does nothing given any input.
172<P>
173<DL>
174</DL>
175</DL>
176<HR>
177
178<A NAME="PROPAGATE"><!-- --></A><H3>
179PROPAGATE</H3>
180<PRE>
181static final <A HREF="../../../org/owasp/html/Handler.html" title="interface in org.owasp.html">Handler</A>&lt;java.lang.Throwable&gt; <A HREF="../../../src-html/org/owasp/html/Handler.html#line.53"><B>PROPAGATE</B></A></PRE>
182<DL>
183<DD>A handler that re-raises an error, wrapping it in a runtime exception if
184 necessary.
185<P>
186<DL>
187</DL>
188</DL>
189
190<!-- ============ METHOD DETAIL ========== -->
191
192<A NAME="method_detail"><!-- --></A>
193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
196<B>Method Detail</B></FONT></TH>
197</TR>
198</TABLE>
199
200<A NAME="handle(java.lang.Object)"><!-- --></A><A NAME="handle(T)"><!-- --></A><H3>
201handle</H3>
202<PRE>
203void <A HREF="../../../src-html/org/owasp/html/Handler.html#line.40"><B>handle</B></A>(<A HREF="../../../org/owasp/html/Handler.html" title="type parameter in Handler">T</A>&nbsp;x)</PRE>
204<DL>
205<DD><DL>
206</DL>
207</DD>
208</DL>
209<!-- ========= END OF CLASS DATA ========= -->
210<HR>
211
212
213<!-- ======= START OF BOTTOM NAVBAR ====== -->
214<A NAME="navbar_bottom"><!-- --></A>
215<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
216<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
217<TR>
218<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
219<A NAME="navbar_bottom_firstrow"><!-- --></A>
220<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
221  <TR ALIGN="center" VALIGN="top">
222  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
223  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
224  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
225  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Handler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
226  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
227  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
228  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
229  </TR>
230</TABLE>
231</TD>
232<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
233<a href="http://code.google.com/p/owasp-java-html-sanitizer" target=_top>code.google.com home</a></EM>
234</TD>
235</TR>
236
237<TR>
238<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
239&nbsp;<A HREF="../../../org/owasp/html/FilterUrlByProtocolAttributePolicy.html" title="class in org.owasp.html"><B>PREV CLASS</B></A>&nbsp;
240&nbsp;<A HREF="../../../org/owasp/html/HtmlChangeListener.html" title="interface in org.owasp.html"><B>NEXT CLASS</B></A></FONT></TD>
241<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
242  <A HREF="../../../index.html?org/owasp/html/Handler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
243&nbsp;<A HREF="Handler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
244&nbsp;<SCRIPT type="text/javascript">
245  <!--
246  if(window==top) {
247    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
248  }
249  //-->
250</SCRIPT>
251<NOSCRIPT>
252  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
253</NOSCRIPT>
254
255
256</FONT></TD>
257</TR>
258<TR>
259<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
260  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
261<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
262DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
263</TR>
264</TABLE>
265<A NAME="skip-navbar_bottom"></A>
266<!-- ======== END OF BOTTOM NAVBAR ======= -->
267
268<HR>
269
270</BODY>
271</HTML>
272