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 Class org.owasp.html.CssSchema (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 Class org.owasp.html.CssSchema (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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-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 PREV 57 NEXT</FONT></TD> 58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../index.html?org/owasp/html//class-useCssSchema.html" target="_top"><B>FRAMES</B></A> 60 <A HREF="CssSchema.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 </TABLE> 76 <A NAME="skip-navbar_top"></A> 77 <!-- ========= END OF TOP NAVBAR ========= --> 78 79 <HR> 80 <CENTER> 81 <H2> 82 <B>Uses of Class<br>org.owasp.html.CssSchema</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/CssSchema.html" title="class in org.owasp.html">CssSchema</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>. </TD> 95 </TR> 96 </TABLE> 97 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/CssSchema.html" title="class in org.owasp.html">CssSchema</A> in <A HREF="../../../../org/owasp/html/package-summary.html">org.owasp.html</A></FONT></TH> 104 </TR> 105 </TABLE> 106 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/CssSchema.html" title="class in org.owasp.html">CssSchema</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 <A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A></CODE></FONT></TD> 116 <TD><CODE><B>CssSchema.</B><B><A HREF="../../../../org/owasp/html/CssSchema.html#DEFAULT">DEFAULT</A></B></CODE> 117 118 <BR> 119 A schema that includes only those properties on the default schema 120 white-list.</TD> 121 </TR> 122 </TABLE> 123 124 <P> 125 126 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 127 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 128 <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/CssSchema.html" title="class in org.owasp.html">CssSchema</A></FONT></TH> 129 </TR> 130 <TR BGCOLOR="white" CLASS="TableRowColor"> 131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 132 <CODE>static <A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A></CODE></FONT></TD> 133 <TD><CODE><B>CssSchema.</B><B><A HREF="../../../../org/owasp/html/CssSchema.html#union(org.owasp.html.CssSchema...)">union</A></B>(<A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A>... cssSchemas)</CODE> 134 135 <BR> 136 A schema that represents the union of the input schemas.</TD> 137 </TR> 138 <TR BGCOLOR="white" CLASS="TableRowColor"> 139 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 140 <CODE>static <A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A></CODE></FONT></TD> 141 <TD><CODE><B>CssSchema.</B><B><A HREF="../../../../org/owasp/html/CssSchema.html#withProperties(java.lang.Iterable)">withProperties</A></B>(java.lang.Iterable<? extends java.lang.String> propertyNames)</CODE> 142 143 <BR> 144 A schema that includes all and only the named properties.</TD> 145 </TR> 146 </TABLE> 147 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/CssSchema.html" title="class in org.owasp.html">CssSchema</A></FONT></TH> 153 </TR> 154 <TR BGCOLOR="white" CLASS="TableRowColor"> 155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 156 <CODE> <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#allowStyling(org.owasp.html.CssSchema)">allowStyling</A></B>(<A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A> whitelist)</CODE> 158 159 <BR> 160 Convert <code>style="<CSS>"</code> to sanitized CSS which allows 161 color, font-size, type-face, and other styling using the given schema.</TD> 162 </TR> 163 <TR BGCOLOR="white" CLASS="TableRowColor"> 164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 165 <CODE>static <A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A></CODE></FONT></TD> 166 <TD><CODE><B>CssSchema.</B><B><A HREF="../../../../org/owasp/html/CssSchema.html#union(org.owasp.html.CssSchema...)">union</A></B>(<A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A>... cssSchemas)</CODE> 167 168 <BR> 169 A schema that represents the union of the input schemas.</TD> 170 </TR> 171 </TABLE> 172 173 <P> 174 <HR> 175 176 177 <!-- ======= START OF BOTTOM NAVBAR ====== --> 178 <A NAME="navbar_bottom"><!-- --></A> 179 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 180 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 181 <TR> 182 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 183 <A NAME="navbar_bottom_firstrow"><!-- --></A> 184 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 185 <TR ALIGN="center" VALIGN="top"> 186 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 187 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 188 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 189 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 190 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 191 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 193 </TR> 194 </TABLE> 195 </TD> 196 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 197 <a href="http://code.google.com/p/owasp-java-html-sanitizer" target=_top>code.google.com home</a></EM> 198 </TD> 199 </TR> 200 201 <TR> 202 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 203 PREV 204 NEXT</FONT></TD> 205 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 206 <A HREF="../../../../index.html?org/owasp/html//class-useCssSchema.html" target="_top"><B>FRAMES</B></A> 207 <A HREF="CssSchema.html" target="_top"><B>NO FRAMES</B></A> 208 <SCRIPT type="text/javascript"> 209 <!-- 210 if(window==top) { 211 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 212 } 213 //--> 214 </SCRIPT> 215 <NOSCRIPT> 216 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 217 </NOSCRIPT> 218 219 220 </FONT></TD> 221 </TR> 222 </TABLE> 223 <A NAME="skip-navbar_bottom"></A> 224 <!-- ======== END OF BOTTOM NAVBAR ======= --> 225 226 <HR> 227 228 </BODY> 229 </HTML> 230