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> 7ElementPolicy.Util (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="ElementPolicy.Util (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> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 41 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ElementPolicy.Util.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </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 <A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html"><B>PREV CLASS</B></A> 57 <A HREF="../../../org/owasp/html/FilterUrlByProtocolAttributePolicy.html" title="class 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/ElementPolicy.Util.html" target="_top"><B>FRAMES</B></A> 60 <A HREF="ElementPolicy.Util.html" target="_top"><B>NO FRAMES</B></A> 61 <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 79DETAIL: FIELD | CONSTR | <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> 91Class ElementPolicy.Util</H2> 92<PRE> 93java.lang.Object 94 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.owasp.html.ElementPolicy.Util</B> 95</PRE> 96<DL> 97<DT><B>Enclosing interface:</B><DD><A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></DD> 98</DL> 99<HR> 100<DL> 101<DT><PRE>public static final class <A HREF="../../../src-html/org/owasp/html/ElementPolicy.html#line.60"><B>ElementPolicy.Util</B></A><DT>extends java.lang.Object</DL> 102</PRE> 103 104<P> 105Utilities for working with element policies. 106<P> 107 108<P> 109<HR> 110 111<P> 112 113<!-- ========== METHOD SUMMARY =========== --> 114 115<A NAME="method_summary"><!-- --></A> 116<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 117<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 118<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 119<B>Method Summary</B></FONT></TH> 120</TR> 121<TR BGCOLOR="white" CLASS="TableRowColor"> 122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 123<CODE>static <A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></CODE></FONT></TD> 124<TD><CODE><B><A HREF="../../../org/owasp/html/ElementPolicy.Util.html#join(org.owasp.html.ElementPolicy...)">join</A></B>(<A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A>... policies)</CODE> 125 126<BR> 127 Given zero or more element policies, returns an element policy equivalent 128 to applying them in order failing early if any of them fails.</TD> 129</TR> 130</TABLE> 131 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 132<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 133<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 134<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 135</TR> 136<TR BGCOLOR="white" CLASS="TableRowColor"> 137<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 138</TR> 139</TABLE> 140 141<P> 142 143<!-- ============ METHOD DETAIL ========== --> 144 145<A NAME="method_detail"><!-- --></A> 146<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 147<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 148<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 149<B>Method Detail</B></FONT></TH> 150</TR> 151</TABLE> 152 153<A NAME="join(org.owasp.html.ElementPolicy...)"><!-- --></A><H3> 154join</H3> 155<PRE> 156public static final <A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A> <A HREF="../../../src-html/org/owasp/html/ElementPolicy.Util.html#line.67"><B>join</B></A>(<A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A>... policies)</PRE> 157<DL> 158<DD>Given zero or more element policies, returns an element policy equivalent 159 to applying them in order failing early if any of them fails. 160<P> 161<DD><DL> 162</DL> 163</DD> 164</DL> 165<!-- ========= END OF CLASS DATA ========= --> 166<HR> 167 168 169<!-- ======= START OF BOTTOM NAVBAR ====== --> 170<A NAME="navbar_bottom"><!-- --></A> 171<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 172<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 173<TR> 174<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 175<A NAME="navbar_bottom_firstrow"><!-- --></A> 176<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 177 <TR ALIGN="center" VALIGN="top"> 178 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 179 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 180 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 181 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ElementPolicy.Util.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 182 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 183 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 184 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 185 </TR> 186</TABLE> 187</TD> 188<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 189<a href="http://code.google.com/p/owasp-java-html-sanitizer" target=_top>code.google.com home</a></EM> 190</TD> 191</TR> 192 193<TR> 194<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 195 <A HREF="../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html"><B>PREV CLASS</B></A> 196 <A HREF="../../../org/owasp/html/FilterUrlByProtocolAttributePolicy.html" title="class in org.owasp.html"><B>NEXT CLASS</B></A></FONT></TD> 197<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 198 <A HREF="../../../index.html?org/owasp/html/ElementPolicy.Util.html" target="_top"><B>FRAMES</B></A> 199 <A HREF="ElementPolicy.Util.html" target="_top"><B>NO FRAMES</B></A> 200 <SCRIPT type="text/javascript"> 201 <!-- 202 if(window==top) { 203 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 204 } 205 //--> 206</SCRIPT> 207<NOSCRIPT> 208 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 209</NOSCRIPT> 210 211 212</FONT></TD> 213</TR> 214<TR> 215<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 216 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 217<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 218DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 219</TR> 220</TABLE> 221<A NAME="skip-navbar_bottom"></A> 222<!-- ======== END OF BOTTOM NAVBAR ======= --> 223 224<HR> 225 226</BODY> 227</HTML> 228