1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.6.0_02) on Mon Dec 29 12:39:51 CET 2008 -->
7
StylesheetPrinter (dk.brics.xsugar)
10
<META NAME="date" CONTENT="2008-12-29">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
if (location.href.indexOf('is-external=true') == -1) {
18
parent.document.title="StylesheetPrinter (dk.brics.xsugar)";
27
<BODY BGCOLOR="white" onload="windowTitle();">
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="">
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> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
42
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
<A HREF="../../../dk/brics/xsugar/StylesheetParser.html" title="class in dk.brics.xsugar"><B>PREV CLASS</B></A>
55
<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>
58
<A HREF="StylesheetPrinter.html" target="_top"><B>NO FRAMES</B></A>
59
<SCRIPT type="text/javascript">
62
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
84
<!-- ======== START OF CLASS DATA ======== -->
87
dk.brics.xsugar</FONT>
89
Class StylesheetPrinter</H2>
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>
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>
100
Pretty-printer for XSugar stylesheets.
108
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
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>
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> out)</CODE>
120
Constructs a new printer.</TD>
124
<!-- ========== METHOD SUMMARY =========== -->
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>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134
<CODE> 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> stylesheet)</CODE>
138
Prints the given stylesheet.</TD>
141
<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>
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>
153
<!-- ========= CONSTRUCTOR DETAIL ======== -->
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>
163
<A NAME="StylesheetPrinter(java.io.PrintWriter)"><!-- --></A><H3>
164
StylesheetPrinter</H3>
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> out)</PRE>
168
<DD>Constructs a new printer.
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>
174
<!-- ============ METHOD DETAIL ========== -->
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>
184
<A NAME="print(dk.brics.xsugar.stylesheet.Stylesheet)"><!-- --></A><H3>
187
public void <B>print</B>(<A HREF="../../../dk/brics/xsugar/stylesheet/Stylesheet.html" title="class in dk.brics.xsugar.stylesheet">Stylesheet</A> stylesheet)</PRE>
189
<DD>Prints the given stylesheet.
192
<DT><B>Parameters:</B><DD><CODE>stylesheet</CODE> - XSugar stylesheet</DL>
195
<!-- ========= END OF CLASS DATA ========= -->
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="">
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> </TD>
209
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
210
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
211
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
215
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
221
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
222
<A HREF="../../../dk/brics/xsugar/StylesheetParser.html" title="class in dk.brics.xsugar"><B>PREV CLASS</B></A>
223
<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>
226
<A HREF="StylesheetPrinter.html" target="_top"><B>NO FRAMES</B></A>
227
<SCRIPT type="text/javascript">
230
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
235
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
242
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
243
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
244
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
245
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
248
<A NAME="skip-navbar_bottom"></A>
249
<!-- ======== END OF BOTTOM NAVBAR ======= -->
252
<i> Copyright © 2004-2007 Anders Møller & Claus Brabrand. </i>