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.5.0_08) on Mon Nov 02 09:43:11 CET 2009 -->
7
XMLEncodeSpecialChars (intarsys runtime library)
10
<META NAME="keywords" CONTENT="de.intarsys.tools.xml.XMLEncodeSpecialChars class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadocstyle.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="XMLEncodeSpecialChars (intarsys runtime library)";
25
<BODY BGCOLOR="white" onload="windowTitle();">
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
<TR ALIGN="center" VALIGN="top">
37
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
39
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLEncodeSpecialChars.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
48
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51
<b>intarsys runtime library</b>
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
<A HREF="../../../../de/intarsys/tools/xml/HTMLEncodeLineBreaks.html" title="class in de.intarsys.tools.xml"><B>PREV CLASS</B></A>
60
<A HREF="../../../../de/intarsys/tools/xml/XMLTools.html" title="class in de.intarsys.tools.xml"><B>NEXT CLASS</B></A></FONT></TD>
61
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
<A HREF="../../../../index.html?de/intarsys/tools/xml/XMLEncodeSpecialChars.html" target="_top"><B>FRAMES</B></A>
63
<A HREF="XMLEncodeSpecialChars.html" target="_top"><B>NO FRAMES</B></A>
64
<SCRIPT type="text/javascript">
67
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
72
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
81
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
85
<A NAME="skip-navbar_top"></A>
86
<!-- ========= END OF TOP NAVBAR ========= -->
89
<!-- ======== START OF CLASS DATA ======== -->
92
de.intarsys.tools.xml</FONT>
94
Class XMLEncodeSpecialChars</H2>
96
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
97
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">java.io.Reader</A>
98
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html" title="class or interface in java.io">java.io.FilterReader</A>
99
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>de.intarsys.tools.xml.XMLEncodeSpecialChars</B>
102
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Closeable.html" title="class or interface in java.io">Closeable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Readable.html" title="class or interface in java.lang">Readable</A></DD>
106
<DT><PRE>public class <B>XMLEncodeSpecialChars</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html" title="class or interface in java.io">FilterReader</A></DL>
110
A reader that encodes XML special characters to entities.
118
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
<A NAME="constructor_summary"><!-- --></A>
121
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124
<B>Constructor Summary</B></FONT></TH>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD><CODE><B><A HREF="../../../../de/intarsys/tools/xml/XMLEncodeSpecialChars.html#XMLEncodeSpecialChars(java.io.Reader)">XMLEncodeSpecialChars</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> in)</CODE>
130
</TD>
134
<!-- ========== METHOD SUMMARY =========== -->
136
<A NAME="method_summary"><!-- --></A>
137
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140
<B>Method Summary</B></FONT></TH>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
<CODE> int</CODE></FONT></TD>
145
<TD><CODE><B><A HREF="../../../../de/intarsys/tools/xml/XMLEncodeSpecialChars.html#read()">read</A></B>()</CODE>
148
</TD>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE> int</CODE></FONT></TD>
153
<TD><CODE><B><A HREF="../../../../de/intarsys/tools/xml/XMLEncodeSpecialChars.html#read(char[], int, int)">read</A></B>(char[] cbuf,
158
</TD>
161
<A NAME="methods_inherited_from_class_java.io.FilterReader"><!-- --></A>
162
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
164
<TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html" title="class or interface in java.io">FilterReader</A></B></TH>
166
<TR BGCOLOR="white" CLASS="TableRowColor">
167
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#close()" title="class or interface in java.io">close</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#mark(int)" title="class or interface in java.io">mark</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#markSupported()" title="class or interface in java.io">markSupported</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#ready()" title="class or interface in java.io">ready</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#reset()" title="class or interface in java.io">reset</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#skip(long)" title="class or interface in java.io">skip</A></CODE></TD>
170
<A NAME="methods_inherited_from_class_java.io.Reader"><!-- --></A>
171
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173
<TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A></B></TH>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html#read(char[])" title="class or interface in java.io">read</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html#read(java.nio.CharBuffer)" title="class or interface in java.io">read</A></CODE></TD>
179
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
180
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
182
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
191
<!-- ========= CONSTRUCTOR DETAIL ======== -->
193
<A NAME="constructor_detail"><!-- --></A>
194
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
197
<B>Constructor Detail</B></FONT></TH>
201
<A NAME="XMLEncodeSpecialChars(java.io.Reader)"><!-- --></A><H3>
202
XMLEncodeSpecialChars</H3>
204
public <B>XMLEncodeSpecialChars</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> in)</PRE>
208
<!-- ============ METHOD DETAIL ========== -->
210
<A NAME="method_detail"><!-- --></A>
211
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
212
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
213
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
214
<B>Method Detail</B></FONT></TH>
218
<A NAME="read()"><!-- --></A><H3>
221
public int <B>read</B>()
222
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
225
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#read()" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html" title="class or interface in java.io">FilterReader</A></CODE></DL>
230
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
235
<A NAME="read(char[], int, int)"><!-- --></A><H3>
238
public int <B>read</B>(char[] cbuf,
241
throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
244
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html#read(char[], int, int)" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/FilterReader.html" title="class or interface in java.io">FilterReader</A></CODE></DL>
249
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
252
<!-- ========= END OF CLASS DATA ========= -->
256
<!-- ======= START OF BOTTOM NAVBAR ====== -->
257
<A NAME="navbar_bottom"><!-- --></A>
258
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
259
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
261
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
262
<A NAME="navbar_bottom_firstrow"><!-- --></A>
263
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
264
<TR ALIGN="center" VALIGN="top">
265
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
266
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
267
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
268
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLEncodeSpecialChars.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
269
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
270
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
271
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
272
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
276
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
279
<b>intarsys runtime library</b>
286
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
287
<A HREF="../../../../de/intarsys/tools/xml/HTMLEncodeLineBreaks.html" title="class in de.intarsys.tools.xml"><B>PREV CLASS</B></A>
288
<A HREF="../../../../de/intarsys/tools/xml/XMLTools.html" title="class in de.intarsys.tools.xml"><B>NEXT CLASS</B></A></FONT></TD>
289
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
290
<A HREF="../../../../index.html?de/intarsys/tools/xml/XMLEncodeSpecialChars.html" target="_top"><B>FRAMES</B></A>
291
<A HREF="XMLEncodeSpecialChars.html" target="_top"><B>NO FRAMES</B></A>
292
<SCRIPT type="text/javascript">
295
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
300
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
307
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
308
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
309
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
310
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
313
<A NAME="skip-navbar_bottom"></A>
314
<!-- ======== END OF BOTTOM NAVBAR ======= -->
318
<i>Copyright © 2008 <a href=http://www.intarsys.de/ target=_top>intarsys consulting GmbH</a>. All Rights Reserved.</i>