• 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>
7Uses 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">
14function 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>&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/CssSchema.html" title="class 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-useCssSchema.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60&nbsp;<A HREF="CssSchema.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 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">
88Packages 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>.&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">
103Uses 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&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/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&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A schema that includes only those properties on the default schema
120 white-list.</TD>
121</TR>
122</TABLE>
123&nbsp;
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&nbsp;<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>...&nbsp;cssSchemas)</CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&lt;? extends java.lang.String&gt;&nbsp;propertyNames)</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A schema that includes all and only the named properties.</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/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>&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#allowStyling(org.owasp.html.CssSchema)">allowStyling</A></B>(<A HREF="../../../../org/owasp/html/CssSchema.html" title="class in org.owasp.html">CssSchema</A>&nbsp;whitelist)</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert <code>style="&lt;CSS&gt;"</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&nbsp;<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>...&nbsp;cssSchemas)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A schema that represents the union of the input schemas.</TD>
170</TR>
171</TABLE>
172&nbsp;
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>&nbsp;</TD>
187  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</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>&nbsp;</TD>
189  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
190  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
191  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
192  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</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&nbsp;PREV&nbsp;
204&nbsp;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>  &nbsp;
207&nbsp;<A HREF="CssSchema.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
208&nbsp;<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