~francis-giraldeau/noesis/xsugar-strict

« back to all changes in this revision

Viewing changes to doc/dk/brics/xsugar/StylesheetPrinter.html

  • Committer: Francis Giraldeau
  • Date: 2009-08-05 13:07:07 UTC
  • Revision ID: francis.giraldeau@revolutionlinux.com-20090805130707-b8p8x13khol5p9o5
ajout des sources

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
<!-- Generated by javadoc (build 1.6.0_02) on Mon Dec 29 12:39:51 CET 2008 -->
 
6
<TITLE>
 
7
StylesheetPrinter (dk.brics.xsugar)
 
8
</TITLE>
 
9
 
 
10
<META NAME="date" CONTENT="2008-12-29">
 
11
 
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 
13
 
 
14
<SCRIPT type="text/javascript">
 
15
function windowTitle()
 
16
{
 
17
    if (location.href.indexOf('is-external=true') == -1) {
 
18
        parent.document.title="StylesheetPrinter (dk.brics.xsugar)";
 
19
    }
 
20
}
 
21
</SCRIPT>
 
22
<NOSCRIPT>
 
23
</NOSCRIPT>
 
24
 
 
25
</HEAD>
 
26
 
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
 
28
<HR>
 
29
 
 
30
 
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
 
32
<A NAME="navbar_top"><!-- --></A>
 
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
35
<TR>
 
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
37
<A NAME="navbar_top_firstrow"><!-- --></A>
 
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
39
  <TR ALIGN="center" VALIGN="top">
 
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
44
  </TR>
 
45
</TABLE>
 
46
</TD>
 
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
48
</EM>
 
49
</TD>
 
50
</TR>
 
51
 
 
52
<TR>
 
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
54
&nbsp;<A HREF="../../../dk/brics/xsugar/StylesheetParser.html" title="class in dk.brics.xsugar"><B>PREV CLASS</B></A>&nbsp;
 
55
&nbsp;<A HREF="../../../dk/brics/xsugar/XSugarException.html" title="class in dk.brics.xsugar"><B>NEXT CLASS</B></A></FONT></TD>
 
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
57
  <A HREF="../../../index.html?dk/brics/xsugar/StylesheetPrinter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
58
&nbsp;<A HREF="StylesheetPrinter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
59
&nbsp;<SCRIPT type="text/javascript">
 
60
  <!--
 
61
  if(window==top) {
 
62
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
63
  }
 
64
  //-->
 
65
</SCRIPT>
 
66
<NOSCRIPT>
 
67
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
68
</NOSCRIPT>
 
69
 
 
70
 
 
71
</FONT></TD>
 
72
</TR>
 
73
<TR>
 
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
75
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
77
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
78
</TR>
 
79
</TABLE>
 
80
<A NAME="skip-navbar_top"></A>
 
81
<!-- ========= END OF TOP NAVBAR ========= -->
 
82
 
 
83
<HR>
 
84
<!-- ======== START OF CLASS DATA ======== -->
 
85
<H2>
 
86
<FONT SIZE="-1">
 
87
dk.brics.xsugar</FONT>
 
88
<BR>
 
89
Class StylesheetPrinter</H2>
 
90
<PRE>
 
91
<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
 
92
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>dk.brics.xsugar.StylesheetPrinter</B>
 
93
</PRE>
 
94
<HR>
 
95
<DL>
 
96
<DT><PRE>public class <B>StylesheetPrinter</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
 
97
</PRE>
 
98
 
 
99
<P>
 
100
Pretty-printer for XSugar stylesheets.
 
101
<P>
 
102
 
 
103
<P>
 
104
<HR>
 
105
 
 
106
<P>
 
107
 
 
108
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
109
 
 
110
<A NAME="constructor_summary"><!-- --></A>
 
111
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
112
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
113
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
114
<B>Constructor Summary</B></FONT></TH>
 
115
</TR>
 
116
<TR BGCOLOR="white" CLASS="TableRowColor">
 
117
<TD><CODE><B><A HREF="../../../dk/brics/xsugar/StylesheetPrinter.html#StylesheetPrinter(java.io.PrintWriter)">StylesheetPrinter</A></B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out)</CODE>
 
118
 
 
119
<BR>
 
120
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new printer.</TD>
 
121
</TR>
 
122
</TABLE>
 
123
&nbsp;
 
124
<!-- ========== METHOD SUMMARY =========== -->
 
125
 
 
126
<A NAME="method_summary"><!-- --></A>
 
127
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
128
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
129
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
130
<B>Method Summary</B></FONT></TH>
 
131
</TR>
 
132
<TR BGCOLOR="white" CLASS="TableRowColor">
 
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
134
<CODE>&nbsp;void</CODE></FONT></TD>
 
135
<TD><CODE><B><A HREF="../../../dk/brics/xsugar/StylesheetPrinter.html#print(dk.brics.xsugar.stylesheet.Stylesheet)">print</A></B>(<A HREF="../../../dk/brics/xsugar/stylesheet/Stylesheet.html" title="class in dk.brics.xsugar.stylesheet">Stylesheet</A>&nbsp;stylesheet)</CODE>
 
136
 
 
137
<BR>
 
138
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the given stylesheet.</TD>
 
139
</TR>
 
140
</TABLE>
 
141
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
142
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
143
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
144
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
 
145
</TR>
 
146
<TR BGCOLOR="white" CLASS="TableRowColor">
 
147
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
 
148
</TR>
 
149
</TABLE>
 
150
&nbsp;
 
151
<P>
 
152
 
 
153
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
154
 
 
155
<A NAME="constructor_detail"><!-- --></A>
 
156
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
157
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
158
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
159
<B>Constructor Detail</B></FONT></TH>
 
160
</TR>
 
161
</TABLE>
 
162
 
 
163
<A NAME="StylesheetPrinter(java.io.PrintWriter)"><!-- --></A><H3>
 
164
StylesheetPrinter</H3>
 
165
<PRE>
 
166
public <B>StylesheetPrinter</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io">PrintWriter</A>&nbsp;out)</PRE>
 
167
<DL>
 
168
<DD>Constructs a new printer.
 
169
<P>
 
170
<DL>
 
171
<DT><B>Parameters:</B><DD><CODE>out</CODE> - print writer for output messages (if null, use <code>System.out</code> with default encoding)</DL>
 
172
</DL>
 
173
 
 
174
<!-- ============ METHOD DETAIL ========== -->
 
175
 
 
176
<A NAME="method_detail"><!-- --></A>
 
177
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
178
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
179
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
180
<B>Method Detail</B></FONT></TH>
 
181
</TR>
 
182
</TABLE>
 
183
 
 
184
<A NAME="print(dk.brics.xsugar.stylesheet.Stylesheet)"><!-- --></A><H3>
 
185
print</H3>
 
186
<PRE>
 
187
public void <B>print</B>(<A HREF="../../../dk/brics/xsugar/stylesheet/Stylesheet.html" title="class in dk.brics.xsugar.stylesheet">Stylesheet</A>&nbsp;stylesheet)</PRE>
 
188
<DL>
 
189
<DD>Prints the given stylesheet.
 
190
<P>
 
191
<DD><DL>
 
192
<DT><B>Parameters:</B><DD><CODE>stylesheet</CODE> - XSugar stylesheet</DL>
 
193
</DD>
 
194
</DL>
 
195
<!-- ========= END OF CLASS DATA ========= -->
 
196
<HR>
 
197
 
 
198
 
 
199
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 
200
<A NAME="navbar_bottom"><!-- --></A>
 
201
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 
202
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
203
<TR>
 
204
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
205
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
206
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
207
  <TR ALIGN="center" VALIGN="top">
 
208
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
209
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
210
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
211
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
212
  </TR>
 
213
</TABLE>
 
214
</TD>
 
215
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
216
</EM>
 
217
</TD>
 
218
</TR>
 
219
 
 
220
<TR>
 
221
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
222
&nbsp;<A HREF="../../../dk/brics/xsugar/StylesheetParser.html" title="class in dk.brics.xsugar"><B>PREV CLASS</B></A>&nbsp;
 
223
&nbsp;<A HREF="../../../dk/brics/xsugar/XSugarException.html" title="class in dk.brics.xsugar"><B>NEXT CLASS</B></A></FONT></TD>
 
224
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
225
  <A HREF="../../../index.html?dk/brics/xsugar/StylesheetPrinter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
226
&nbsp;<A HREF="StylesheetPrinter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
227
&nbsp;<SCRIPT type="text/javascript">
 
228
  <!--
 
229
  if(window==top) {
 
230
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
231
  }
 
232
  //-->
 
233
</SCRIPT>
 
234
<NOSCRIPT>
 
235
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
236
</NOSCRIPT>
 
237
 
 
238
 
 
239
</FONT></TD>
 
240
</TR>
 
241
<TR>
 
242
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
243
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
244
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
245
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
246
</TR>
 
247
</TABLE>
 
248
<A NAME="skip-navbar_bottom"></A>
 
249
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
250
 
 
251
<HR>
 
252
<i> Copyright &#169; 2004-2007 Anders M&oslash;ller &amp; Claus Brabrand. </i>
 
253
</BODY>
 
254
</HTML>