Home | History | Annotate | Download | only in class-use
      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>
      7 Uses of Interface org.owasp.html.ElementPolicy (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">
     14 function windowTitle()
     15 {
     16     if (location.href.indexOf('is-external=true') == -1) {
     17         parent.document.title="Uses of Interface org.owasp.html.ElementPolicy (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="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
     42   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
     43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-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;PREV&nbsp;
     57 &nbsp;NEXT</FONT></TD>
     58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     59   <A HREF="../../../../index.html?org/owasp/html//class-useElementPolicy.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     60 &nbsp;<A HREF="ElementPolicy.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 </TABLE>
     76 <A NAME="skip-navbar_top"></A>
     77 <!-- ========= END OF TOP NAVBAR ========= -->
     78 
     79 <HR>
     80 <CENTER>
     81 <H2>
     82 <B>Uses of Interface<br>org.owasp.html.ElementPolicy</B></H2>
     83 </CENTER>
     84 
     85 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
     86 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
     87 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
     88 Packages that use <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></FONT></TH>
     89 </TR>
     90 <TR BGCOLOR="white" CLASS="TableRowColor">
     91 <TD><A HREF="#org.owasp.html"><B>org.owasp.html</B></A></TD>
     92 <TD>An efficient <A HREF="../../../../org/owasp/html/HtmlSanitizer.html" title="class in org.owasp.html"><CODE>HtmlSanitizer</CODE></A>
     93  configurable via a flexible
     94  <A HREF="../../../../org/owasp/html/HtmlPolicyBuilder.html" title="class in org.owasp.html"><CODE>HtmlPolicyBuilder</CODE></A>.&nbsp;</TD>
     95 </TR>
     96 </TABLE>
     97 &nbsp;
     98 <P>
     99 <A NAME="org.owasp.html"><!-- --></A>
    100 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    101 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    102 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    103 Uses of <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A> in <A HREF="../../../../org/owasp/html/package-summary.html">org.owasp.html</A></FONT></TH>
    104 </TR>
    105 </TABLE>
    106 &nbsp;
    107 <P>
    108 
    109 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    110 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
    111 <TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../org/owasp/html/package-summary.html">org.owasp.html</A> declared as <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></FONT></TH>
    112 </TR>
    113 <TR BGCOLOR="white" CLASS="TableRowColor">
    114 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    115 <CODE>static&nbsp;<A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></CODE></FONT></TD>
    116 <TD><CODE><B>ElementPolicy.</B><B><A HREF="../../../../org/owasp/html/ElementPolicy.html#IDENTITY_ELEMENT_POLICY">IDENTITY_ELEMENT_POLICY</A></B></CODE>
    117 
    118 <BR>
    119 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    120 </TR>
    121 <TR BGCOLOR="white" CLASS="TableRowColor">
    122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    123 <CODE>static&nbsp;<A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></CODE></FONT></TD>
    124 <TD><CODE><B>ElementPolicy.</B><B><A HREF="../../../../org/owasp/html/ElementPolicy.html#REJECT_ALL_ELEMENT_POLICY">REJECT_ALL_ELEMENT_POLICY</A></B></CODE>
    125 
    126 <BR>
    127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    128 </TR>
    129 </TABLE>
    130 &nbsp;
    131 <P>
    132 
    133 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    134 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
    135 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/owasp/html/package-summary.html">org.owasp.html</A> that return <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></FONT></TH>
    136 </TR>
    137 <TR BGCOLOR="white" CLASS="TableRowColor">
    138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    139 <CODE>static&nbsp;<A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></CODE></FONT></TD>
    140 <TD><CODE><B>ElementPolicy.Util.</B><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>...&nbsp;policies)</CODE>
    141 
    142 <BR>
    143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given zero or more element policies, returns an element policy equivalent
    144  to applying them in order failing early if any of them fails.</TD>
    145 </TR>
    146 </TABLE>
    147 &nbsp;
    148 <P>
    149 
    150 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    151 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
    152 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/owasp/html/package-summary.html">org.owasp.html</A> with parameters of type <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></FONT></TH>
    153 </TR>
    154 <TR BGCOLOR="white" CLASS="TableRowColor">
    155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    156 <CODE>&nbsp;<A HREF="../../../../org/owasp/html/HtmlPolicyBuilder.html" title="class in org.owasp.html">HtmlPolicyBuilder</A></CODE></FONT></TD>
    157 <TD><CODE><B>HtmlPolicyBuilder.</B><B><A HREF="../../../../org/owasp/html/HtmlPolicyBuilder.html#allowElements(org.owasp.html.ElementPolicy, java.lang.String...)">allowElements</A></B>(<A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A>&nbsp;policy,
    158                            java.lang.String...&nbsp;elementNames)</CODE>
    159 
    160 <BR>
    161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allow the given elements with the given policy.</TD>
    162 </TR>
    163 <TR BGCOLOR="white" CLASS="TableRowColor">
    164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    165 <CODE>static&nbsp;<A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html">ElementPolicy</A></CODE></FONT></TD>
    166 <TD><CODE><B>ElementPolicy.Util.</B><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>...&nbsp;policies)</CODE>
    167 
    168 <BR>
    169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given zero or more element policies, returns an element policy equivalent
    170  to applying them in order failing early if any of them fails.</TD>
    171 </TR>
    172 </TABLE>
    173 &nbsp;
    174 <P>
    175 <HR>
    176 
    177 
    178 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    179 <A NAME="navbar_bottom"><!-- --></A>
    180 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    181 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    182 <TR>
    183 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    184 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    185 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    186   <TR ALIGN="center" VALIGN="top">
    187   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    188   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    189   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../org/owasp/html/ElementPolicy.html" title="interface in org.owasp.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
    190   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
    191   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    192   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    193   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    194   </TR>
    195 </TABLE>
    196 </TD>
    197 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    198 <a href="http://code.google.com/p/owasp-java-html-sanitizer" target=_top>code.google.com home</a></EM>
    199 </TD>
    200 </TR>
    201 
    202 <TR>
    203 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    204 &nbsp;PREV&nbsp;
    205 &nbsp;NEXT</FONT></TD>
    206 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    207   <A HREF="../../../../index.html?org/owasp/html//class-useElementPolicy.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    208 &nbsp;<A HREF="ElementPolicy.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    209 &nbsp;<SCRIPT type="text/javascript">
    210   <!--
    211   if(window==top) {
    212     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    213   }
    214   //-->
    215 </SCRIPT>
    216 <NOSCRIPT>
    217   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
    218 </NOSCRIPT>
    219 
    220 
    221 </FONT></TD>
    222 </TR>
    223 </TABLE>
    224 <A NAME="skip-navbar_bottom"></A>
    225 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    226 
    227 <HR>
    228 
    229 </BODY>
    230 </HTML>
    231