neilg 01/05/22 15:06:58
Added: targets/xerces-j/apiDocs/org/apache/xml/serialize
BaseMarkupSerializer.html DOMSerializer.html
EncodingInfo.html HTMLSerializer.html HTMLdtd.html
LineSeparator.html Method.html
OutputFormat.DTD.html OutputFormat.Defaults.html
OutputFormat.html Printer.html Serializer.html
SerializerFactory.html SieveEncodingInfo.html
TextSerializer.html XHTMLSerializer.html
XMLSerializer.html package-frame.html
package-summary.html package-tree.html
Log:
updates for Xerces-J 1.4.0
Revision Changes Path
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/BaseMarkupSerializer.html
Index: BaseMarkupSerializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class BaseMarkupSerializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="BaseMarkupSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class BaseMarkupSerializer</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.BaseMarkupSerializer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html">HTMLSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html">TextSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html">XMLSerializer</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>BaseMarkupSerializer</B><DT>extends
java.lang.Object<DT>implements <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>, <A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></DL>
<P>
Base class for a serializer supporting both DOM and SAX pretty
serializing of XML/HTML/XHTML documents. Derives classes perform
the method-specific serializing, this class provides the common
serializing mechanisms.
<p>
The serializer must be initialized with the proper writer and
output format before it can be used by calling <CODE>#init</CODE>.
The serializer can be reused any number of times, but cannot
be used concurrently by two threads.
<p>
If an output stream is used, the encoding is taken from the
output format (defaults to <tt>UTF-8</tt>). If a writer is
used, make sure the writer uses the same encoding (if applies)
as specified in the output format.
<p>
The serializer supports both DOM and SAX. DOM serializing is done
by calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)"><CODE>serialize(org.w3c.dom.Element)</CODE></A>
and SAX serializing is done by firing
SAX events and using the serializer as a document handler.
This also applies to derived class.
<p>
If an I/O exception occurs while serializing, the serializer
will not throw an exception directly, but only throw it
at the end of serializing (either DOM or SAX's <A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A>.
<p>
For elements that are not specified as whitespace preserving,
the serializer will potentially break long text lines at space
boundaries, indent lines, and serialize elements on separate
lines. Line terminators will be regarded as spaces, and
spaces at beginning of line will be stripped.
<p>
When indenting, the serializer is capable of detecting seemingly
element content, and serializing these elements indented on separate
lines. An element is serialized indented when it is the first or
last child of an element, or immediate following or preceding
another element.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:38 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypePublicId">_docTypePublicId</A></B></CODE>
<BR>
The system
identifier of the document type, if known.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypeSystemId">_docTypeSystemId</A></B></CODE>
<BR>
The system
identifier of the document type, if known.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_format">_format</A></B></CODE>
<BR>
The output format
associated with this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_indenting">_indenting</A></B></CODE>
<BR>
True if indenting
printer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_prefixes">_prefixes</A></B></CODE>
<BR>
Association
between namespace URIs (keys) and prefixes (values).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A
HREF="../../../../org/apache/xml/serialize/Printer.html">Printer</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_printer">_printer</A></B></CODE>
<BR>
The printer used
for printing text parts.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started">_started</A></B></CODE>
<BR>
If the document
has been started (header serialized), this
flag is set to true so it's not started twice.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#BaseMarkupSerializer(org.apache.xml.serialize.OutputFormat)">BaseMarkupSerializer</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Protected
constructor can only be used by derived class.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asContentHandler()">asContentHandler</A></B>()</CODE>
<BR>
Return a <A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface into this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDocumentHandler()">asDocumentHandler</A></B>()</CODE>
<BR>
Return a <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface into this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDOMSerializer()">asDOMSerializer</A></B>()</CODE>
<BR>
Return a <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A>
interface into this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A></B>(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)</CODE>
<BR>
Report an
attribute type declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(char[],
int, int)">characters</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
Receive
notification of character data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(java.lang.String)">characters</A></B>(java.lang.String text)</CODE>
<BR>
Called to print
the text contents in the prevailing element format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(char[],
int, int)">comment</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
Report an XML
comment anywhere in the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(java.lang.String)">comment</A></B>(java.lang.String text)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected org.apache.xml.serialize.ElementState</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#content()">content</A></B>()</CODE>
<BR>
Must be called by
a method about to print any type of content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A></B>(java.lang.String name,
java.lang.String model)</CODE>
<BR>
Report an element
type declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endCDATA()">endCDATA</A></B>()</CODE>
<BR>
Report the end of
a CDATA section.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDocument()">endDocument</A></B>()</CODE>
<BR>
Called at the end
of the document to wrap it up.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDTD()">endDTD</A></B>()</CODE>
<BR>
Report the end of
DTD declarations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endEntity(java.lang.String)">endEntity</A></B>(java.lang.String name)</CODE>
<BR>
Report the end of
an entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endNonEscaping()">endNonEscaping</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE>
<BR>
End the scope of
a prefix-URI mapping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPreserving()">endPreserving</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected org.apache.xml.serialize.ElementState</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#enterElementState(java.lang.String,
java.lang.String, java.lang.String,
boolean)">enterElementState</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
boolean preserveSpace)</CODE>
<BR>
Enter a new
element state for the specified element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#externalEntityDecl(java.lang.String,
java.lang.String,
java.lang.String)">externalEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Report a parsed
external entity declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected org.apache.xml.serialize.ElementState</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getElementState()">getElementState</A></B>()</CODE>
<BR>
Return the state
of the current element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getEntityRef(int)">getEntityRef</A></B>(int ch)</CODE>
<BR>
Returns the
suitable entity reference for this character value,
or null if no such entity exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getPrefix(java.lang.String)">getPrefix</A></B>(java.lang.String namespaceURI)</CODE>
<BR>
Returns the
namespace prefix for the specified URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
Receive
notification of ignorable whitespace in element content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A></B>(java.lang.String name,
java.lang.String value)</CODE>
<BR>
Report an
internal entity declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#isDocumentState()">isDocumentState</A></B>()</CODE>
<BR>
Returns true if
in the state of the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected org.apache.xml.serialize.ElementState</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#leaveElementState()">leaveElementState</A></B>()</CODE>
<BR>
Leave the current
element state and return to the
state of the parent element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)">notationDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Receive
notification of a notation declaration event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#prepare()">prepare</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printDoctypeURL(java.lang.String)">printDoctypeURL</A></B>(java.lang.String url)</CODE>
<BR>
Print a document
type public or system identifier URL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(int)">printEscaped</A></B>(int ch)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(java.lang.String)">printEscaped</A></B>(java.lang.String source)</CODE>
<BR>
Escapes a string
so it may be printed as text content or attribute
value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(char[],
int, int, boolean, boolean)">printText</A></B>(char[] chars,
int start,
int length,
boolean preserveSpace,
boolean unescaped)</CODE>
<BR>
Called to print
additional text with whitespace handling.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(java.lang.String,
boolean, boolean)">printText</A></B>(java.lang.String text,
boolean preserveSpace,
boolean unescaped)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String code)</CODE>
<BR>
Receive
notification of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstructionIO(java.lang.String,
java.lang.String)">processingInstructionIO</A></B>(java.lang.String target,
java.lang.String code)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#reset()">reset</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Document)">serialize</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
<BR>
Serializes the
DOM document using the previously specified
writer and output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A></B>(<A
HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> frag)</CODE>
<BR>
Serializes the
DOM document fragmnt using the previously specified
writer and output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)">serialize</A></B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
<BR>
Serializes the
DOM element using the previously specified
writer and output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
<BR>
Called to
serializee the DOM element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeNode(org.w3c.dom.Node)">serializeNode</A></B>(<A
HREF="../../../../org/w3c/dom/Node.html">Node</A> node)</CODE>
<BR>
Serialize the DOM
node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()">serializePreRoot</A></B>()</CODE>
<BR>
Comments and PIs
cannot be serialized before the root element,
because the root element serializes the document type, which
generally comes first.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</CODE>
<BR>
Receive an object
for locating the origin of SAX document events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A></B>(java.io.OutputStream output)</CODE>
<BR>
Specifies an
output stream to which the document should be
serialized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A></B>(java.io.Writer writer)</CODE>
<BR>
Specifies a
writer to which the document should be serialized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Specifies an
output format for this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#skippedEntity(java.lang.String)">skippedEntity</A></B>(java.lang.String name)</CODE>
<BR>
Receive
notification of a skipped entity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startCDATA()">startCDATA</A></B>()</CODE>
<BR>
Report the start
of a CDATA section.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDocument()">startDocument</A></B>()</CODE>
<BR>
Receive
notification of the beginning of a document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDTD(java.lang.String,
java.lang.String,
java.lang.String)">startDTD</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Report the start
of DTD declarations, if any.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startEntity(java.lang.String)">startEntity</A></B>(java.lang.String name)</CODE>
<BR>
Report the
beginning of some internal and external XML entities.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startNonEscaping()">startNonEscaping</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix,
java.lang.String uri)</CODE>
<BR>
Begin the scope
of a prefix-URI Namespace mapping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPreserving()">startPreserving</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)</CODE>
<BR>
Receive
notification of an unparsed entity declaration event.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.xml.sax.ContentHandler"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface org.xml.sax.<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)">endElement</A>, <A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.xml.sax.DocumentHandler"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface org.xml.sax.<A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)">endElement</A>,
<A
HREF="../../../../org/xml/sax/DocumentHandler.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="_started"><!-- --></A><H3>
_started</H3>
<PRE>
protected boolean <B>_started</B></PRE>
<DL>
<DD>If the document has been started (header serialized), this
flag is set to true so it's not started twice.</DL>
<HR>
<A NAME="_prefixes"><!-- --></A><H3>
_prefixes</H3>
<PRE>
protected java.util.Hashtable <B>_prefixes</B></PRE>
<DL>
<DD>Association between namespace URIs (keys) and prefixes (values).
Accumulated here prior to starting an element and placing this
list in the element state.</DL>
<HR>
<A NAME="_docTypePublicId"><!-- --></A><H3>
_docTypePublicId</H3>
<PRE>
protected java.lang.String <B>_docTypePublicId</B></PRE>
<DL>
<DD>The system identifier of the document type, if known.</DL>
<HR>
<A NAME="_docTypeSystemId"><!-- --></A><H3>
_docTypeSystemId</H3>
<PRE>
protected java.lang.String <B>_docTypeSystemId</B></PRE>
<DL>
<DD>The system identifier of the document type, if known.</DL>
<HR>
<A NAME="_format"><!-- --></A><H3>
_format</H3>
<PRE>
protected <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A>
<B>_format</B></PRE>
<DL>
<DD>The output format associated with this serializer. This will never
be a null reference. If no format was passed to the constructor,
the default one for this document type will be used. The format
object is never changed by the serializer.</DL>
<HR>
<A NAME="_printer"><!-- --></A><H3>
_printer</H3>
<PRE>
protected <A
HREF="../../../../org/apache/xml/serialize/Printer.html">Printer</A>
<B>_printer</B></PRE>
<DL>
<DD>The printer used for printing text parts.</DL>
<HR>
<A NAME="_indenting"><!-- --></A><H3>
_indenting</H3>
<PRE>
protected boolean <B>_indenting</B></PRE>
<DL>
<DD>True if indenting printer.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="BaseMarkupSerializer(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
BaseMarkupSerializer</H3>
<PRE>
protected <B>BaseMarkupSerializer</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Protected constructor can only be used by derived class.
Must initialize the serializer before serializing any document,
see <CODE>#init</CODE>.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="asDocumentHandler()"><!-- --></A><H3>
asDocumentHandler</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>
<B>asDocumentHandler</B>()
throws java.io.IOException</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Return a <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface into this serializer.
If the serializer does not support the <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface, it should return null.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#asDocumentHandler()">asDocumentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="asContentHandler()"><!-- --></A><H3>
asContentHandler</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>
<B>asContentHandler</B>()
throws java.io.IOException</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Return a <A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface into this serializer.
If the serializer does not support the <A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface, it should return null.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#asContentHandler()">asContentHandler</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="asDOMSerializer()"><!-- --></A><H3>
asDOMSerializer</H3>
<PRE>
public <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>
<B>asDOMSerializer</B>()
throws java.io.IOException</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Return a <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A>
interface into this serializer.
If the serializer does not support the <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A>
interface, it should return null.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#asDOMSerializer()">asDOMSerializer</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setOutputByteStream(java.io.OutputStream)"><!-- --></A><H3>
setOutputByteStream</H3>
<PRE>
public void <B>setOutputByteStream</B>(java.io.OutputStream output)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies an output stream to which the document should be
serialized. This method should not be called while the
serializer is in the process of serializing a document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setOutputCharStream(java.io.Writer)"><!-- --></A><H3>
setOutputCharStream</H3>
<PRE>
public void <B>setOutputCharStream</B>(java.io.Writer writer)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies a writer to which the document should be serialized.
This method should not be called while the serializer is in
the process of serializing a document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setOutputFormat(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
setOutputFormat</H3>
<PRE>
public void <B>setOutputFormat</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies an output format for this serializer. It the
serializer has already been associated with an output format,
it will switch to the new format. This method should not be
called while the serializer is in the process of serializing
a document.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.apache.xml.serialize.Serializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The output format to use</DL>
</DD>
</DL>
<HR>
<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
public boolean <B>reset</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="prepare()"><!-- --></A><H3>
prepare</H3>
<PRE>
protected void <B>prepare</B>()
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(org.w3c.dom.Element)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)
throws java.io.IOException</PRE>
<DL>
<DD>Serializes the DOM element using the previously specified
writer and output format. Throws an exception only if
an I/O exception occured while serializing.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html#serialize(org.w3c.dom.Element)">serialize</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(org.w3c.dom.DocumentFragment)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A
HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> frag)
throws java.io.IOException</PRE>
<DL>
<DD>Serializes the DOM document fragmnt using the previously specified
writer and output format. Throws an exception only if
an I/O exception occured while serializing.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(org.w3c.dom.Document)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)
throws java.io.IOException</PRE>
<DL>
<DD>Serializes the DOM document using the previously specified
writer and output format. Throws an exception only if
an I/O exception occured while serializing.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html#serialize(org.w3c.dom.Document)">serialize</A></CODE>
in interface <CODE><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="startDocument()"><!-- --></A><H3>
startDocument</H3>
<PRE>
public void <B>startDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of a document.
<p>The SAX parser will invoke this method only once, before any
other methods in this interface or in <A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A>
(except for <A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>setDocumentLocator</CODE></A>).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startDocument()">startDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()"><CODE>ContentHandler.endDocument()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] chars,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of character data.
<p>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity so that the Locator
provides useful information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p>
<p>Note that some parsers will report whitespace in element
content using the <A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ignorableWhitespace</CODE></A>
method rather than this one (validating parsers <em>must</em>
do so).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)">characters</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int,
int)</CODE></A>,
<A HREF="../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3>
ignorableWhitespace</H3>
<PRE>
public void <B>ignorableWhitespace</B>(char[] chars,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of ignorable whitespace in element content.
<p>Validating Parsers must use this method to report each chunk
of whitespace in element content (see the W3C XML 1.0 recommendation,
section 2.10): non-validating parsers may also use this method
if they are capable of parsing and using content models.</p>
<p>SAX parsers may return all contiguous whitespace in a single
chunk, or they may split it into several chunks; however, all of
the characters in any single event must come from the same
external entity, so that the Locator provides useful
information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>ContentHandler.characters(char[], int, int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String code)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of a processing instruction.
<p>The Parser will invoke this method once for each processing
instruction found: note that processing instructions may occur
before or after the main document element.</p>
<p>A SAX parser must never report an XML declaration (XML 1.0,
section 2.8) or a text declaration (XML 1.0, section 4.3.1)
using this method.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The processing instruction data, or null if
none was supplied. The data does not include any
whitespace separating it from the
target.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="processingInstructionIO(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstructionIO</H3>
<PRE>
public void <B>processingInstructionIO</B>(java.lang.String target,
java.lang.String code)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="comment(char[], int, int)"><!-- --></A><H3>
comment</H3>
<PRE>
public void <B>comment</B>(char[] chars,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report an XML comment anywhere in the document.
<p>This callback will be used for comments inside or outside the
document element, including comments in the external DTD
subset (if read). Comments in the DTD must be properly
nested inside start/endDTD and start/endEntity events (if
used).</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#comment(char[], int,
int)">comment</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array holding the characters
in the comment.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to use from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="comment(java.lang.String)"><!-- --></A><H3>
comment</H3>
<PRE>
public void <B>comment</B>(java.lang.String text)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="startCDATA()"><!-- --></A><H3>
startCDATA</H3>
<PRE>
public void <B>startCDATA</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report the start of a CDATA section.
<p>The contents of the CDATA section will be reported through
the regular <A
HREF="../../../../org/xml/sax/ContentHandler.html#characters(char[], int,
int)"><CODE>characters</CODE></A> event; this event is intended only to report
the boundary.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startCDATA()">startCDATA</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endCDATA()"><CODE>LexicalHandler.endCDATA()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endCDATA()"><!-- --></A><H3>
endCDATA</H3>
<PRE>
public void <B>endCDATA</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report the end of a CDATA section.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endCDATA()">endCDATA</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startCDATA()"><CODE>LexicalHandler.startCDATA()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startNonEscaping()"><!-- --></A><H3>
startNonEscaping</H3>
<PRE>
public void <B>startNonEscaping</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="endNonEscaping()"><!-- --></A><H3>
endNonEscaping</H3>
<PRE>
public void <B>endNonEscaping</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="startPreserving()"><!-- --></A><H3>
startPreserving</H3>
<PRE>
public void <B>startPreserving</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="endPreserving()"><!-- --></A><H3>
endPreserving</H3>
<PRE>
public void <B>endPreserving</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="endDocument()"><!-- --></A><H3>
endDocument</H3>
<PRE>
public void <B>endDocument</B>()
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD>Called at the end of the document to wrap it up.
Will flush the output stream and throw an exception
if any I/O error occured while serializing.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endDocument()">endDocument</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - An
I/O exception occured during
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="startEntity(java.lang.String)"><!-- --></A><H3>
startEntity</H3>
<PRE>
public void <B>startEntity</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report the beginning of some internal and external XML entities.
<p>The reporting of parameter entities (including
the external DTD subset) is optional, and SAX2 drivers that
support LexicalHandler may not support it; you can use the
<code
>http://xml.org/sax/features/lexical-handler/parameter-entities</code>
feature to query or control the reporting of parameter entities.</p>
<p>General entities are reported with their regular names,
parameter entities have '%' prepended to their names, and
the external DTD subset has the pseudo-entity name "[dtd]".</p>
<p>When a SAX2 driver is providing these events, all other
events must be properly nested within start/end entity
events. There is no additional requirement that events from
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html"><CODE>DeclHandler</CODE></A>
or
<A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A> be
properly ordered.</p>
<p>Note that skipped entities will be reported through the
<A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)"><CODE>skippedEntity</CODE></A>
event, which is part of the ContentHandler interface.</p>
<p>Because of the streaming event model that SAX uses, some
entity boundaries cannot be reported under any
circumstances:</p>
<ul>
<li>general entities within attribute values</li>
<li>parameter entities within declarations</li>
</ul>
<p>These will be silently expanded, with no indication of where
the original entity boundaries were.</p>
<p>Note also that the boundaries of character references (which
are not really entities anyway) are not reported.</p>
<p>All start/endEntity events must be properly nested.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)">startEntity</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it
is a parameter
entity, the name will begin with '%', and if it is the
external DTD subset, it will be
"[dtd]".<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)"><CODE>LexicalHandler.endEntity(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String,
java.lang.String)"><CODE>DeclHandler.internalEntityDecl(java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DeclHandler.externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endEntity(java.lang.String)"><!-- --></A><H3>
endEntity</H3>
<PRE>
public void <B>endEntity</B>(java.lang.String name)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report the end of an entity.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)">endEntity</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity that is
ending.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)"><CODE>LexicalHandler.startEntity(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3>
setDocumentLocator</H3>
<PRE>
public void <B>setDocumentLocator</B>(<A
HREF="../../../../org/xml/sax/Locator.html">Locator</A> locator)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive an object for locating the origin of SAX document events.
<p>SAX parsers are strongly encouraged (though not absolutely
required) to supply a locator: if it does so, it must supply
the locator to the application by invoking this method before
invoking any of the other methods in the ContentHandler
interface.</p>
<p>The locator allows the application to determine the end
position of any document-related event, even if the parser is
not reporting an error. Typically, the application will
use this information for reporting its own errors (such as
character content that does not match an application's
business rules). The information returned by the locator
is probably not sufficient for use with a search engine.</p>
<p>Note that the locator will return correct information only
during the invocation of the events in this interface. The
application should not attempt to use it at any other time.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locator</CODE> - An object that can return
the location of
any SAX document event.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3>
skippedEntity</H3>
<PRE>
public void <B>skippedEntity</B>(java.lang.String name)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of a skipped entity.
<p>The Parser will invoke this method once for each entity
skipped. Non-validating processors may skip entities if they
have not seen the declarations (because, for example, the
entity was declared in an external DTD subset). All processors
may skip external entities, depending on the values of the
<code>http://xml.org/sax/features/external-general-entities</code>
and the
<code>http://xml.org/sax/features/external-parameter-entities</code>
properties.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#skippedEntity(java.lang.String)">skippedEntity</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the skipped entity.
If it is a
parameter entity, the name will begin with '%', and if
it is the external DTD subset, it will be the string
"[dtd]".<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="startPrefixMapping(java.lang.String, java.lang.String)"><!--
--></A><H3>
startPrefixMapping</H3>
<PRE>
public void <B>startPrefixMapping</B>(java.lang.String prefix,
java.lang.String uri)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Begin the scope of a prefix-URI Namespace mapping.
<p>The information from this event is not necessary for
normal Namespace processing: the SAX XML reader will
automatically replace prefixes for element and attribute
names when the <code>http://xml.org/sax/features/namespaces</code>
feature is <var>true</var> (the default).</p>
<p>There are cases, however, when applications need to
use prefixes in character data or in attribute values,
where they cannot safely be expanded automatically; the
start/endPrefixMapping event supplies the information
to the application to expand prefixes in those contexts
itself, if necessary.</p>
<p>Note that start/endPrefixMapping events are not
guaranteed to be properly nested relative to each-other:
all startPrefixMapping events will occur before the
corresponding <A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event,
and all <A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>endPrefixMapping</CODE></A>
events will occur after the corresponding <A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event, but
their order is not otherwise
guaranteed.</p>
<p>There should never be start/endPrefixMapping events for the
"xml" prefix, since it is predeclared and immutable.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Namespace prefix being
declared.<DD><CODE>uri</CODE> - The Namespace URI the prefix is mapped
to.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>ContentHandler.endPrefixMapping(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>ContentHandler.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endPrefixMapping(java.lang.String)"><!-- --></A><H3>
endPrefixMapping</H3>
<PRE>
public void <B>endPrefixMapping</B>(java.lang.String prefix)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>End the scope of a prefix-URI mapping.
<p>See <A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>startPrefixMapping</CODE></A> for
details. This event will always occur after the corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event, but the
order of
<A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)"><CODE>endPrefixMapping</CODE></A>
events is not otherwise
guaranteed.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix that was being
mapping.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
client may throw
an exception during processing.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#startPrefixMapping(java.lang.String,
java.lang.String)"><CODE>ContentHandler.startPrefixMapping(java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startDTD(java.lang.String, java.lang.String, java.lang.String)"><!--
--></A><H3>
startDTD</H3>
<PRE>
public void <B>startDTD</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report the start of DTD declarations, if any.
<p>This method is intended to report the beginning of the
DOCTYPE declaration; if the document has no DOCTYPE declaration,
this method will not be invoked.</p>
<p>All declarations reported through
<A
HREF="../../../../org/xml/sax/DTDHandler.html"><CODE>DTDHandler</CODE></A> or
<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html"><CODE>DeclHandler</CODE></A>
events must appear
between the startDTD and <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()"><CODE>endDTD</CODE></A>
events.
Declarations are assumed to belong to the internal DTD subset
unless they appear between <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)"><CODE>startEntity</CODE></A>
and <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endEntity(java.lang.String)"><CODE>endEntity</CODE></A>
events. Comments and
processing instructions from the DTD should also be reported
between the startDTD and endDTD events, in their original
order of (logical) occurrence; they are not required to
appear in their correct locations relative to DTDHandler
or DeclHandler events, however.</p>
<p>Note that the start/endDTD events will appear within
the start/endDocument events from ContentHandler and
before the first
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A>
event.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)">startDTD</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The document type
name.<DD><CODE>publicId</CODE> - The declared public identifier for the
external DTD subset, or null if none was
declared.<DD><CODE>systemId</CODE> - The declared system identifier for the
external DTD subset, or null if none was
declared.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an
exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()"><CODE>LexicalHandler.endDTD()</CODE></A>,
<A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startEntity(java.lang.String)"><CODE>LexicalHandler.startEntity(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endDTD()"><!-- --></A><H3>
endDTD</H3>
<PRE>
public void <B>endDTD</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report the end of DTD declarations.
<p>This method is intended to report the end of the
DOCTYPE declaration; if the document has no DOCTYPE declaration,
this method will not be invoked.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#endDTD()">endDTD</A></CODE>
in interface <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html#startDTD(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>LexicalHandler.startDTD(java.lang.String,
java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="elementDecl(java.lang.String, java.lang.String)"><!-- --></A><H3>
elementDecl</H3>
<PRE>
public void <B>elementDecl</B>(java.lang.String name,
java.lang.String model)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></B></DD>
<DD>Report an element type declaration.
<p>The content model will consist of the string "EMPTY", the
string "ANY", or a parenthesised group, optionally followed
by an occurrence indicator. The model will be normalized so
that all parameter entities are fully resolved and all whitespace
is removed,and will include the enclosing parentheses. Other
normalization (such as removing redundant parentheses or
simplifying occurrence indicators) is at the discretion of the
parser.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.DeclHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>model</CODE> - The content model as a normalized
string.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="attributeDecl(java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
attributeDecl</H3>
<PRE>
public void <B>attributeDecl</B>(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></B></DD>
<DD>Report an attribute type declaration.
<p>Only the effective (first) declaration for an attribute will
be reported. The type will be one of the strings "CDATA",
"ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY",
"ENTITIES", a parenthesized token group with
the separator "|" and all whitespace removed, or the word
"NOTATION" followed by a space followed by a parenthesized
token group with all whitespace removed.</p>
<p>Any parameter entities in the attribute value will be
expanded, but general entities will not.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.DeclHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>eName</CODE> - The name of the associated
element.<DD><CODE>aName</CODE> - The name of the
attribute.<DD><CODE>type</CODE> - A string representing the attribute
type.<DD><CODE>valueDefault</CODE> - A string representing the attribute default
("#IMPLIED", "#REQUIRED", or "#FIXED") or null if
none of these applies.<DD><CODE>value</CODE> - A string representing
the attribute's default value,
or null if there is none.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="internalEntityDecl(java.lang.String, java.lang.String)"><!--
--></A><H3>
internalEntityDecl</H3>
<PRE>
public void <B>internalEntityDecl</B>(java.lang.String name,
java.lang.String value)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></B></DD>
<DD>Report an internal entity declaration.
<p>Only the effective (first) declaration for each entity
will be reported. All parameter entities in the value
will be expanded, but general entities will not.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.DeclHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it
is a parameter
entity, the name will begin with '%'.<DD><CODE>value</CODE> - The
replacement text of the entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DeclHandler.externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="externalEntityDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
externalEntityDecl</H3>
<PRE>
public void <B>externalEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></B></DD>
<DD>Report a parsed external entity declaration.
<p>Only the effective (first) declaration for each entity
will be reported.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)">externalEntityDecl</A></CODE> in
interface <CODE><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.DeclHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity. If it
is a parameter
entity, the name will begin with '%'.<DD><CODE>publicId</CODE> - The
declared public identifier of the entity, or
null if none was declared.<DD><CODE>systemId</CODE> - The declared
system identifier of the entity.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ext/DeclHandler.html#internalEntityDecl(java.lang.String,
java.lang.String)"><CODE>DeclHandler.internalEntityDecl(java.lang.String,
java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="unparsedEntityDecl(java.lang.String, java.lang.String,
java.lang.String, java.lang.String)"><!-- --></A><H3>
unparsedEntityDecl</H3>
<PRE>
public void <B>unparsedEntityDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></B></DD>
<DD>Receive notification of an unparsed entity declaration event.
<p>Note that the notation name corresponds to a notation
reported by the <A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)"><CODE>notationDecl</CODE></A> event.
It is up to the application to record the entity for later
reference, if necessary.</p>
<p>If the system identifier is a URL, the parser must resolve it
fully before passing it to the application.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE> in interface <CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.xml.sax.DTDHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The unparsed entity's
name.<DD><CODE>publicId</CODE> - The entity's public identifier, or null if none
was given.<DD><CODE>systemId</CODE> - The entity's system
identifier.<DD><CODE>notation</CODE> - name The name of the associated
notation.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>DTDHandler.notationDecl(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="notationDecl(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
notationDecl</H3>
<PRE>
public void <B>notationDecl</B>(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></B></DD>
<DD>Receive notification of a notation declaration event.
<p>It is up to the application to record the notation for later
reference, if necessary.</p>
<p>At least one of publicId and systemId must be non-null.
If a system identifier is present, and it is a URL, the SAX
parser must resolve it fully before passing it to the
application through this event.</p>
<p>There is no guarantee that the notation declaration will be
reported before any unparsed entities that use it.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A></CODE> in interface
<CODE><A
HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.xml.sax.DTDHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The notation
name.<DD><CODE>publicId</CODE> - The notation's public identifier, or null if
none was given.<DD><CODE>systemId</CODE> - The notation's system
identifier, or null if
none was given.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DTDHandler.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)"><CODE>DTDHandler.unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="serializeNode(org.w3c.dom.Node)"><!-- --></A><H3>
serializeNode</H3>
<PRE>
protected void <B>serializeNode</B>(<A
HREF="../../../../org/w3c/dom/Node.html">Node</A> node)
throws java.io.IOException</PRE>
<DL>
<DD>Serialize the DOM node. This method is shared across XML, HTML and XHTML
serializers and the differences are masked out in a separate <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeElement(org.w3c.dom.Element)"><CODE>serializeElement(org.w3c.dom.Element)</CODE></A>.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - The node to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeElement(org.w3c.dom.Element)"><CODE>serializeElement(org.w3c.dom.Element)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="content()"><!-- --></A><H3>
content</H3>
<PRE>
protected org.apache.xml.serialize.ElementState <B>content</B>()
throws
java.io.IOException</PRE>
<DL>
<DD>Must be called by a method about to print any type of content.
If the element was just opened, the opening tag is closed and
will be matched to a closing tag. Returns the current element
state with <tt>empty</tt> and <tt>afterElement</tt> set to false.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current element
state<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O exception
occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="characters(java.lang.String)"><!-- --></A><H3>
characters</H3>
<PRE>
protected void <B>characters</B>(java.lang.String text)
throws java.io.IOException</PRE>
<DL>
<DD>Called to print the text contents in the prevailing element format.
Since this method is capable of printing text as CDATA, it is used
for that purpose as well. White space handling is determined by the
current element state. In addition, the output format can dictate
whether the text is printed as CDATA or unescaped.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to
print<DD><CODE>unescaped</CODE> - True is should print
unescaped<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="getEntityRef(int)"><!-- --></A><H3>
getEntityRef</H3>
<PRE>
protected abstract java.lang.String <B>getEntityRef</B>(int ch)</PRE>
<DL>
<DD>Returns the suitable entity reference for this character value,
or null if no such entity exists. Calling this method with <tt>'&'</tt>
will return <tt>"&amp;"</tt>.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - Character
value<DT><B>Returns:</B><DD>Character entity name, or null</DL>
</DD>
</DL>
<HR>
<A NAME="serializeElement(org.w3c.dom.Element)"><!-- --></A><H3>
serializeElement</H3>
<PRE>
protected abstract void <B>serializeElement</B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serializee the DOM element. The element is serialized based on
the serializer's method (XML, HTML, XHTML).<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="serializePreRoot()"><!-- --></A><H3>
serializePreRoot</H3>
<PRE>
protected void <B>serializePreRoot</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Comments and PIs cannot be serialized before the root element,
because the root element serializes the document type, which
generally comes first. Instead such PIs and comments are
accumulated inside a vector and serialized by calling this
method. Will be called when the root element is serialized
and when the document finished serializing.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O exception
occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="printText(char[], int, int, boolean, boolean)"><!-- --></A><H3>
printText</H3>
<PRE>
protected final void <B>printText</B>(char[] chars,
int start,
int length,
boolean preserveSpace,
boolean unescaped)
throws java.io.IOException</PRE>
<DL>
<DD>Called to print additional text with whitespace handling.
If spaces are preserved, the text is printed as if by calling
<CODE>#printText(String)</CODE> with a call to <CODE>#breakLine</CODE>
for each new line. If spaces are not preserved, the text is
broken at space boundaries if longer than the line width;
Multiple spaces are printed as such, but spaces at beginning
of line are removed.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to
print<DD><CODE>preserveSpace</CODE> - Space preserving
flag<DD><CODE>unescaped</CODE> - Print unescaped</DL>
</DD>
</DL>
<HR>
<A NAME="printText(java.lang.String, boolean, boolean)"><!-- --></A><H3>
printText</H3>
<PRE>
protected final void <B>printText</B>(java.lang.String text,
boolean preserveSpace,
boolean unescaped)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="printDoctypeURL(java.lang.String)"><!-- --></A><H3>
printDoctypeURL</H3>
<PRE>
protected void <B>printDoctypeURL</B>(java.lang.String url)
throws java.io.IOException</PRE>
<DL>
<DD>Print a document type public or system identifier URL.
Encapsulates the URL in double quotes, escapes non-printing
characters and print it equivalent to <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(char[],
int, int, boolean, boolean)"><CODE>printText(char[], int, int, boolean,
boolean)</CODE></A>.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>url</CODE> - The document type url to
print</DL>
</DD>
</DL>
<HR>
<A NAME="printEscaped(int)"><!-- --></A><H3>
printEscaped</H3>
<PRE>
protected void <B>printEscaped</B>(int ch)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="printEscaped(java.lang.String)"><!-- --></A><H3>
printEscaped</H3>
<PRE>
protected void <B>printEscaped</B>(java.lang.String source)
throws java.io.IOException</PRE>
<DL>
<DD>Escapes a string so it may be printed as text content or attribute
value. Non printable characters are escaped using character references.
Where the format specifies a deault entity reference, that reference
is used (e.g. <tt>&lt;</tt>).<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The string to escape</DL>
</DD>
</DL>
<HR>
<A NAME="getElementState()"><!-- --></A><H3>
getElementState</H3>
<PRE>
protected org.apache.xml.serialize.ElementState <B>getElementState</B>()</PRE>
<DL>
<DD>Return the state of the current element.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Current element state</DL>
</DD>
</DL>
<HR>
<A NAME="enterElementState(java.lang.String, java.lang.String,
java.lang.String, boolean)"><!-- --></A><H3>
enterElementState</H3>
<PRE>
protected org.apache.xml.serialize.ElementState
<B>enterElementState</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
boolean preserveSpace)</PRE>
<DL>
<DD>Enter a new element state for the specified element.
Tag name and space preserving is specified, element
state is initially empty.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Current element state, or null</DL>
</DD>
</DL>
<HR>
<A NAME="leaveElementState()"><!-- --></A><H3>
leaveElementState</H3>
<PRE>
protected org.apache.xml.serialize.ElementState
<B>leaveElementState</B>()</PRE>
<DL>
<DD>Leave the current element state and return to the
state of the parent element. If this was the root
element, return to the state of the document.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Previous element state</DL>
</DD>
</DL>
<HR>
<A NAME="isDocumentState()"><!-- --></A><H3>
isDocumentState</H3>
<PRE>
protected boolean <B>isDocumentState</B>()</PRE>
<DL>
<DD>Returns true if in the state of the document.
Returns true before entering any element and after
leaving the root element.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if in the state of the document</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefix(java.lang.String)"><!-- --></A><H3>
getPrefix</H3>
<PRE>
protected java.lang.String
<B>getPrefix</B>(java.lang.String namespaceURI)</PRE>
<DL>
<DD>Returns the namespace prefix for the specified URI.
If the URI has been mapped to a prefix, returns the
prefix, otherwise returns null.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace
URI<DT><B>Returns:</B><DD>The namespace prefix if known, or null</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="BaseMarkupSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/DOMSerializer.html
Index: DOMSerializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface DOMSerializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/apache/xml/serialize/Serializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DOMSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Interface DOMSerializer</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>DOMSerializer</B></DL>
<P>
Interface for a DOM serializer implementation.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:40 $</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html#serialize(org.w3c.dom.Document)">serialize</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
<BR>
Serializes the
DOM document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A></B>(<A
HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> frag)</CODE>
<BR>
Serializes the
DOM document fragment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html#serialize(org.w3c.dom.Element)">serialize</A></B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
<BR>
Serialized the
DOM element.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="serialize(org.w3c.dom.Element)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)
throws java.io.IOException</PRE>
<DL>
<DD>Serialized the DOM element. Throws an exception only if
an I/O exception occured while serializing.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(org.w3c.dom.Document)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)
throws java.io.IOException</PRE>
<DL>
<DD>Serializes the DOM document. Throws an exception only if
an I/O exception occured while serializing.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(org.w3c.dom.DocumentFragment)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A
HREF="../../../../org/w3c/dom/DocumentFragment.html">DocumentFragment</A> frag)
throws java.io.IOException</PRE>
<DL>
<DD>Serializes the DOM document fragment. Throws an exception
only if an I/O exception occured while serializing.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>frag</CODE> - The document fragment to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../org/apache/xml/serialize/Serializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="DOMSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/EncodingInfo.html
Index: EncodingInfo.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class EncodingInfo
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/apache/xml/serialize/HTMLdtd.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="EncodingInfo.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class EncodingInfo</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.EncodingInfo</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html">SieveEncodingInfo</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>EncodingInfo</B><DT>extends java.lang.Object</DL>
<P>
This class represents an encoding.
<P>
<DL>
<DT><B>Version: </B><DD>$Id: EncodingInfo.html,v 1.1 2001/05/22 22:06:41
neilg Exp $</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#EncodingInfo(java.lang.String,
int)">EncodingInfo</A></B>(java.lang.String mimeName,
int lastPrintable)</CODE>
<BR>
Creates new
<code>EncodingInfo</code> instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#EncodingInfo(java.lang.String,
java.lang.String, int)">EncodingInfo</A></B>(java.lang.String mimeName,
java.lang.String javaName,
int lastPrintable)</CODE>
<BR>
Creates new
<code>EncodingInfo</code> instance.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#getName()">getName</A></B>()</CODE>
<BR>
Returns a MIME
charset name of this encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.Writer</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#getWriter(java.io.OutputStream)">getWriter</A></B>(java.io.OutputStream output)</CODE>
<BR>
Returns a writer
for this encoding based on
an output stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#isPrintable(int)">isPrintable</A></B>(int ch)</CODE>
<BR>
Checks whether
the specified character is printable or not.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="EncodingInfo(java.lang.String, java.lang.String, int)"><!--
--></A><H3>
EncodingInfo</H3>
<PRE>
public <B>EncodingInfo</B>(java.lang.String mimeName,
java.lang.String javaName,
int lastPrintable)</PRE>
<DL>
<DD>Creates new <code>EncodingInfo</code> instance.</DL>
<HR>
<A NAME="EncodingInfo(java.lang.String, int)"><!-- --></A><H3>
EncodingInfo</H3>
<PRE>
public <B>EncodingInfo</B>(java.lang.String mimeName,
int lastPrintable)</PRE>
<DL>
<DD>Creates new <code>EncodingInfo</code> instance.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Returns a MIME charset name of this encoding.</DL>
<HR>
<A NAME="getWriter(java.io.OutputStream)"><!-- --></A><H3>
getWriter</H3>
<PRE>
public java.io.Writer <B>getWriter</B>(java.io.OutputStream output)
throws java.io.UnsupportedEncodingException</PRE>
<DL>
<DD>Returns a writer for this encoding based on
an output stream.<DD><DL>
<DT><B>Returns:</B><DD>A suitable
writer<DT><B>Throws:</B><DD><CODE>java.io.UnsupportedEncodingException</CODE> -
There is no convertor
to support this encoding</DL>
</DD>
</DL>
<HR>
<A NAME="isPrintable(int)"><!-- --></A><H3>
isPrintable</H3>
<PRE>
public boolean <B>isPrintable</B>(int ch)</PRE>
<DL>
<DD>Checks whether the specified character is printable or not.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - a code point (0-0x10ffff)</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/apache/xml/serialize/HTMLdtd.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="EncodingInfo.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/HTMLSerializer.html
Index: HTMLSerializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class HTMLSerializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/xml/serialize/HTMLdtd.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HTMLSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class HTMLSerializer</H2>
<PRE>
java.lang.Object
|
+--<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">org.apache.xml.serialize.BaseMarkupSerializer</A>
|
+--<B>org.apache.xml.serialize.HTMLSerializer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html">XHTMLSerializer</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>HTMLSerializer</B><DT>extends <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DL>
<P>
Implements an HTML/XHTML serializer supporting both DOM and SAX
pretty serializing. HTML/XHTML mode is determined in the
constructor. For usage instructions see <A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A>.
<p>
If an output stream is used, the encoding is taken from the
output format (defaults to <tt>UTF-8</tt>). If a writer is
used, make sure the writer uses the same encoding (if applies)
as specified in the output format.
<p>
The serializer supports both DOM and SAX. DOM serializing is done
by calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)"><CODE>BaseMarkupSerializer.serialize(org.w3c.dom.Element)</CODE></A>
and SAX serializing is done by firing
SAX events and using the serializer as a document handler.
<p>
If an I/O exception occurs while serializing, the serializer
will not throw an exception directly, but only throw it
at the end of serializing (either DOM or SAX's <A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A>.
<p>
For elements that are not specified as whitespace preserving,
the serializer will potentially break long text lines at space
boundaries, indent lines, and serialize elements on separate
lines. Line terminators will be regarded as spaces, and
spaces at beginning of line will be stripped.
<p>
XHTML is slightly different than HTML:
<ul>
<li>Element/attribute names are lower case and case matters
<li>Attributes must specify value, even if empty string
<li>Empty elements must have '/' in empty tag
<li>Contents of SCRIPT and STYLE elements serialized as CDATA
</ul>
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:42 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#XHTMLNamespace">XHTMLNamespace</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<A
NAME="fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypePublicId">_docTypePublicId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypeSystemId">_docTypeSystemId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_format">_format</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_indenting">_indenting</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_prefixes">_prefixes</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_printer">_printer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started">_started</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> </CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#HTMLSerializer()">HTMLSerializer</A></B>()</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#HTMLSerializer(boolean,
org.apache.xml.serialize.OutputFormat)">HTMLSerializer</A></B>(boolean xhtml,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
HTML/XHTML serializer depending on the value of
<tt>xhtml</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> </CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#HTMLSerializer(org.apache.xml.serialize.OutputFormat)">HTMLSerializer</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> </CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#HTMLSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)">HTMLSerializer</A></B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer that writes to the specified output
stream using the specified output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> </CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#HTMLSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)">HTMLSerializer</A></B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer that writes to the specified writer
using the specified output format.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#characters(char[],
int, int)">characters</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
Receive
notification of character data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#characters(java.lang.String)">characters</A></B>(java.lang.String text)</CODE>
<BR>
Called to print
the text contents in the prevailing element format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String tagName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElementIO(java.lang.String,
java.lang.String,
java.lang.String)">endElementIO</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#escapeURI(java.lang.String)">escapeURI</A></B>(java.lang.String uri)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#getEntityRef(int)">getEntityRef</A></B>(int ch)</CODE>
<BR>
Returns the
suitable entity reference for this character value,
or null if no such entity exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
<BR>
Called to
serialize a DOM element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Specifies an
output format for this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startDocument(java.lang.String)">startDocument</A></B>(java.lang.String rootTagName)</CODE>
<BR>
Called to
serialize the document's DOCTYPE by the root element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String tagName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> attrs)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attrs)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
</TABLE>
<A
NAME="methods_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asContentHandler()">asContentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDocumentHandler()">asDocumentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDOMSerializer()">asDOMSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(char[],
int, int)">comment</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(java.lang.String)">comment</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#content()">content</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endCDATA()">endCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDocument()">endDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDTD()">endDTD</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endEntity(java.lang.String)">endEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endNonEscaping()">endNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPreserving()">endPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#enterElementState(java.lang.String,
java.lang.String, java.lang.String, boolean)">enterElementState</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)">externalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getElementState()">getElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getPrefix(java.lang.String)">getPrefix</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#isDocumentState()">isDocumentState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#leaveElementState()">leaveElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#prepare()">prepare</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printDoctypeURL(java.lang.String)">printDoctypeURL</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(int)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(java.lang.String)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(char[],
int, int, boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(java.lang.String,
boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstructionIO(java.lang.String,
java.lang.String)">processingInstructionIO</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#reset()">reset</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Document)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeNode(org.w3c.dom.Node)">serializeNode</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()">serializePreRoot</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#skippedEntity(java.lang.String)">skippedEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startCDATA()">startCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDocument()">startDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)">startDTD</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startEntity(java.lang.String)">startEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startNonEscaping()">startNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPreserving()">startPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XHTMLNamespace"><!-- --></A><H3>
XHTMLNamespace</H3>
<PRE>
public static java.lang.String <B>XHTMLNamespace</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="HTMLSerializer(boolean, org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
HTMLSerializer</H3>
<PRE>
protected <B>HTMLSerializer</B>(boolean xhtml,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new HTML/XHTML serializer depending on the value of
<tt>xhtml</tt>. The serializer cannot be used without calling
<CODE>#init</CODE> first.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>xhtml</CODE> - True if XHTML serializing</DL>
</DD>
</DL>
<HR>
<A NAME="HTMLSerializer()"><!-- --></A><H3>
HTMLSerializer</H3>
<PRE>
public <B>HTMLSerializer</B>()</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<HR>
<A NAME="HTMLSerializer(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
HTMLSerializer</H3>
<PRE>
public <B>HTMLSerializer</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<HR>
<A NAME="HTMLSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
HTMLSerializer</H3>
<PRE>
public <B>HTMLSerializer</B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer that writes to the specified writer
using the specified output format. If <tt>format</tt> is null,
will use a default output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - The writer to
use<DD><CODE>format</CODE> - The output format to use, null for the default</DL>
</DD>
</DL>
<HR>
<A NAME="HTMLSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
HTMLSerializer</H3>
<PRE>
public <B>HTMLSerializer</B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer that writes to the specified output
stream using the specified output format. If <tt>format</tt>
is null, will use a default output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>output</CODE> - The output stream to
use<DD><CODE>format</CODE> - The output format to use, null for the default</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setOutputFormat(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
setOutputFormat</H3>
<PRE>
public void <B>setOutputFormat</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies an output format for this serializer. It the
serializer has already been associated with an output format,
it will switch to the new format. This method should not be
called while the serializer is in the process of serializing
a document.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.apache.xml.serialize.Serializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The output format to use</DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attrs)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event for
every startElement event
(even when the element is empty). All of the element's content will be
reported, in order, before the corresponding endElement
event.</p>
<p>This event allows up to three name components for each
element:</p>
<ol>
<li>the Namespace URI;</li>
<li>the local name; and</li>
<li>the qualified (prefixed) name.</li>
</ol>
<p>Any or all of these may be provided, depending on the
values of the <var>http://xml.org/sax/features/namespaces</var>
and the <var>http://xml.org/sax/features/namespace-prefixes</var>
properties:</p>
<ul>
<li>the Namespace URI and local name are required when
the namespaces property is <var>true</var> (the default), and are
optional when the namespaces property is <var>false</var> (if one is
specified, both must be);</li>
<li>the qualified name is required when the namespace-prefixes property
is <var>true</var>, and is optional when the namespace-prefixes property
is <var>false</var> (the default).</li>
</ul>
<p>Note that the attribute list provided will contain only
attributes with explicit values (specified or defaulted):
#IMPLIED attributes will be omitted. The attribute list
will contain attributes used for Namespace declarations
(xmlns* attributes) only if the
<code>http://xml.org/sax/features/namespace-prefixes</code>
property is true (it is false by default, and support for a
true value is optional).</p><DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified name (with prefix),
or the
empty string if qualified names are not
available.<DD><CODE>atts</CODE> - The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event for every
endElement
event (even when the element is empty).</p>
<p>For information on the names, see startElement.</p><DD>Following copied
from interface: <CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified XML 1.0 name (with
prefix), or the
empty string if qualified names are not
available.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="endElementIO(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElementIO</H3>
<PRE>
public void <B>endElementIO</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] chars,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of character data.
<p>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity so that the Locator
provides useful information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p>
<p>Note that some parsers will report whitespace in element
content using the <A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ignorableWhitespace</CODE></A>
method rather than this one (validating parsers <em>must</em>
do so).</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(char[],
int, int)">characters</A></CODE> in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int,
int)</CODE></A>,
<A HREF="../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!--
--></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String tagName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> attrs)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
endElement() event for every startElement() event (even when the
element is empty). All of the element's content will be
reported, in order, before the corresponding endElement()
event.</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached. Note that the attribute list provided will
contain only attributes with explicit values (specified or
defaulted): #IMPLIED attributes will be omitted.</p><DD>Following copied
from interface: <CODE>org.xml.sax.DocumentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>atts</CODE> - The attributes attached to the element, if
any.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>DocumentHandler.endElement(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String tagName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></B></DD>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
startElement() event for every endElement() event (even when the
element is empty).</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached to the name.</p><DD>Following copied from interface:
<CODE>org.xml.sax.DocumentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="startDocument(java.lang.String)"><!-- --></A><H3>
startDocument</H3>
<PRE>
protected void <B>startDocument</B>(java.lang.String rootTagName)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serialize the document's DOCTYPE by the root element.
The document type declaration must name the root element,
but the root element is only known when that element is serialized,
and not at the start of the document.
<p>
This method will check if it has not been called before (<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started"><CODE>BaseMarkupSerializer._started</CODE></A>),
will serialize the document type declaration, and will serialize all
pre-root comments and PIs that were accumulated in the document
(see <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()"><CODE>BaseMarkupSerializer.serializePreRoot()</CODE></A>).
Pre-root will be serialized even if
this is not the first root element of the document.</DL>
<HR>
<A NAME="serializeElement(org.w3c.dom.Element)"><!-- --></A><H3>
serializeElement</H3>
<PRE>
protected void <B>serializeElement</B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serialize a DOM element. Equivalent to calling <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement(java.lang.String, java.lang.String,
java.lang.String, org.xml.sax.Attributes)</CODE></A>, <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A> and serializing everything
inbetween, but better optimized.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="characters(java.lang.String)"><!-- --></A><H3>
characters</H3>
<PRE>
protected void <B>characters</B>(java.lang.String text)
throws java.io.IOException</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></B></DD>
<DD>Called to print the text contents in the prevailing element format.
Since this method is capable of printing text as CDATA, it is used
for that purpose as well. White space handling is determined by the
current element state. In addition, the output format can dictate
whether the text is printed as CDATA or unescaped.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(java.lang.String)">characters</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to
print<DD><CODE>unescaped</CODE> - True is should print
unescaped<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="getEntityRef(int)"><!-- --></A><H3>
getEntityRef</H3>
<PRE>
protected java.lang.String <B>getEntityRef</B>(int ch)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></B></DD>
<DD>Returns the suitable entity reference for this character value,
or null if no such entity exists. Calling this method with <tt>'&'</tt>
will return <tt>"&amp;"</tt>.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getEntityRef(int)">getEntityRef</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - Character
value<DT><B>Returns:</B><DD>Character entity name, or null</DL>
</DD>
</DL>
<HR>
<A NAME="escapeURI(java.lang.String)"><!-- --></A><H3>
escapeURI</H3>
<PRE>
protected java.lang.String <B>escapeURI</B>(java.lang.String uri)</PRE>
<DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/xml/serialize/HTMLdtd.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HTMLSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/HTMLdtd.html
Index: HTMLdtd.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class HTMLdtd
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HTMLdtd.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class HTMLdtd</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.HTMLdtd</B>
</PRE>
<HR>
<DL>
<DT>public final class <B>HTMLdtd</B><DT>extends java.lang.Object</DL>
<P>
Utility class for accessing information specific to HTML documents.
The HTML DTD is expressed as three utility function groups. Two methods
allow for checking whether an element requires an open tag on printing
(<A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isEmptyTag(java.lang.String)"><CODE>isEmptyTag(java.lang.String)</CODE></A>)
or on parsing (<A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isOptionalClosing(java.lang.String)"><CODE>isOptionalClosing(java.lang.String)</CODE></A>).
<P>
Two other methods translate character references from name to value and
from value to name. A small entities resource is loaded into memory the
first time any of these methods is called for fast and efficient access.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:43 $</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#HTMLPublicId">HTMLPublicId</A></B></CODE>
<BR>
Public identifier
for HTML document type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#HTMLSystemId">HTMLSystemId</A></B></CODE>
<BR>
System identifier
for HTML document type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#XHTMLPublicId">XHTMLPublicId</A></B></CODE>
<BR>
Public identifier
for XHTML document type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#XHTMLSystemId">XHTMLSystemId</A></B></CODE>
<BR>
System identifier
for XHTML document type.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#HTMLdtd()">HTMLdtd</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#charFromName(java.lang.String)">charFromName</A></B>(java.lang.String name)</CODE>
<BR>
Returns the value
of an HTML character reference by its name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#fromChar(int)">fromChar</A></B>(int value)</CODE>
<BR>
Returns the name
of an HTML character reference based on its character
value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isBoolean(java.lang.String,
java.lang.String)">isBoolean</A></B>(java.lang.String tagName,
java.lang.String attrName)</CODE>
<BR>
Returns true if
the specified attribute is a boolean and should be
printed without the value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isClosing(java.lang.String,
java.lang.String)">isClosing</A></B>(java.lang.String tagName,
java.lang.String openTag)</CODE>
<BR>
Returns true if
the opening of one element (<tt>tagName</tt>) implies
the closing of another open element (<tt>openTag</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isElementContent(java.lang.String)">isElementContent</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
element is declared to have element content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isEmptyTag(java.lang.String)">isEmptyTag</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
element is declared to be empty.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isOnlyOpening(java.lang.String)">isOnlyOpening</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
element's closing tag is generally not printed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isOptionalClosing(java.lang.String)">isOptionalClosing</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
element's closing tag is optional and need not
exist.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isPreserveSpace(java.lang.String)">isPreserveSpace</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
element's textual contents preserves spaces.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html#isURI(java.lang.String,
java.lang.String)">isURI</A></B>(java.lang.String tagName,
java.lang.String attrName)</CODE>
<BR>
Returns true if
the specified attribute it a URI and should be
escaped appropriately.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="HTMLPublicId"><!-- --></A><H3>
HTMLPublicId</H3>
<PRE>
public static final java.lang.String <B>HTMLPublicId</B></PRE>
<DL>
<DD>Public identifier for HTML document type.</DL>
<HR>
<A NAME="HTMLSystemId"><!-- --></A><H3>
HTMLSystemId</H3>
<PRE>
public static final java.lang.String <B>HTMLSystemId</B></PRE>
<DL>
<DD>System identifier for HTML document type.</DL>
<HR>
<A NAME="XHTMLPublicId"><!-- --></A><H3>
XHTMLPublicId</H3>
<PRE>
public static final java.lang.String <B>XHTMLPublicId</B></PRE>
<DL>
<DD>Public identifier for XHTML document type.</DL>
<HR>
<A NAME="XHTMLSystemId"><!-- --></A><H3>
XHTMLSystemId</H3>
<PRE>
public static final java.lang.String <B>XHTMLSystemId</B></PRE>
<DL>
<DD>System identifier for XHTML document type.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="HTMLdtd()"><!-- --></A><H3>
HTMLdtd</H3>
<PRE>
public <B>HTMLdtd</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="isEmptyTag(java.lang.String)"><!-- --></A><H3>
isEmptyTag</H3>
<PRE>
public static boolean <B>isEmptyTag</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if element is declared to be empty. HTML elements are
defines as empty in the DTD, not by the document syntax.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element tag name (upper
case)<DT><B>Returns:</B><DD>True if element is empty</DL>
</DD>
</DL>
<HR>
<A NAME="isElementContent(java.lang.String)"><!-- --></A><H3>
isElementContent</H3>
<PRE>
public static boolean
<B>isElementContent</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if element is declared to have element content.
Whitespaces appearing inside element content will be ignored,
other text will simply report an error.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element tag name (upper
case)<DT><B>Returns:</B><DD>True if element content</DL>
</DD>
</DL>
<HR>
<A NAME="isPreserveSpace(java.lang.String)"><!-- --></A><H3>
isPreserveSpace</H3>
<PRE>
public static boolean
<B>isPreserveSpace</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if element's textual contents preserves spaces.
This only applies to PRE and TEXTAREA, all other HTML elements
do not preserve space.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element tag name (upper
case)<DT><B>Returns:</B><DD>True if element's text content preserves spaces</DL>
</DD>
</DL>
<HR>
<A NAME="isOptionalClosing(java.lang.String)"><!-- --></A><H3>
isOptionalClosing</H3>
<PRE>
public static boolean
<B>isOptionalClosing</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if element's closing tag is optional and need not
exist. An error will not be reported for such elements if they
are not closed. For example, <tt>LI</tt> is most often not closed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element tag name (upper
case)<DT><B>Returns:</B><DD>True if closing tag implied</DL>
</DD>
</DL>
<HR>
<A NAME="isOnlyOpening(java.lang.String)"><!-- --></A><H3>
isOnlyOpening</H3>
<PRE>
public static boolean
<B>isOnlyOpening</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if element's closing tag is generally not printed.
For example, <tt>LI</tt> should not print the closing tag.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element tag name (upper
case)<DT><B>Returns:</B><DD>True if only opening tag should be printed</DL>
</DD>
</DL>
<HR>
<A NAME="isClosing(java.lang.String, java.lang.String)"><!-- --></A><H3>
isClosing</H3>
<PRE>
public static boolean <B>isClosing</B>(java.lang.String tagName,
java.lang.String openTag)</PRE>
<DL>
<DD>Returns true if the opening of one element (<tt>tagName</tt>) implies
the closing of another open element (<tt>openTag</tt>). For example,
every opening <tt>LI</tt> will close the previously open <tt>LI</tt>,
and every opening <tt>BODY</tt> will close the previously open
<tt>HEAD</tt>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The newly opened
element<DD><CODE>openTag</CODE> - The already opened
element<DT><B>Returns:</B><DD>True if closing tag closes opening tag</DL>
</DD>
</DL>
<HR>
<A NAME="isURI(java.lang.String, java.lang.String)"><!-- --></A><H3>
isURI</H3>
<PRE>
public static boolean <B>isURI</B>(java.lang.String tagName,
java.lang.String attrName)</PRE>
<DL>
<DD>Returns true if the specified attribute it a URI and should be
escaped appropriately. In HTML URIs are escaped differently
than normal attributes.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element's tag
name<DD><CODE>attrName</CODE> - The attribute's name</DL>
</DD>
</DL>
<HR>
<A NAME="isBoolean(java.lang.String, java.lang.String)"><!-- --></A><H3>
isBoolean</H3>
<PRE>
public static boolean <B>isBoolean</B>(java.lang.String tagName,
java.lang.String attrName)</PRE>
<DL>
<DD>Returns true if the specified attribute is a boolean and should be
printed without the value. This applies to attributes that are true
if they exist, such as selected (OPTION/INPUT).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element's tag
name<DD><CODE>attrName</CODE> - The attribute's name</DL>
</DD>
</DL>
<HR>
<A NAME="charFromName(java.lang.String)"><!-- --></A><H3>
charFromName</H3>
<PRE>
public static int <B>charFromName</B>(java.lang.String name)</PRE>
<DL>
<DD>Returns the value of an HTML character reference by its name. If the
reference is not found or was not defined as a character reference,
returns EOF (-1).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of character
reference<DT><B>Returns:</B><DD>Character code or EOF (-1)</DL>
</DD>
</DL>
<HR>
<A NAME="fromChar(int)"><!-- --></A><H3>
fromChar</H3>
<PRE>
public static java.lang.String <B>fromChar</B>(int value)</PRE>
<DL>
<DD>Returns the name of an HTML character reference based on its character
value. Only valid for entities defined from character references. If no
such character value was defined, return null.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Character value of
entity<DT><B>Returns:</B><DD>Entity's name or null</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HTMLdtd.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/LineSeparator.html
Index: LineSeparator.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class LineSeparator
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/apache/xml/serialize/Method.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="LineSeparator.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class LineSeparator</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.LineSeparator</B>
</PRE>
<HR>
<DL>
<DT>public final class <B>LineSeparator</B><DT>extends java.lang.Object</DL>
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:43 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html#Macintosh">Macintosh</A></B></CODE>
<BR>
Line separator
for Macintosh systems (<tt>\r</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html#Unix">Unix</A></B></CODE>
<BR>
Line separator
for Unix systems (<tt>\n</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html#Web">Web</A></B></CODE>
<BR>
Line separator
for the Web (<tt>\n</tt>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html#Windows">Windows</A></B></CODE>
<BR>
Line separator
for Windows systems (<tt>\r\n</tt>).</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html#LineSeparator()">LineSeparator</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="Unix"><!-- --></A><H3>
Unix</H3>
<PRE>
public static final java.lang.String <B>Unix</B></PRE>
<DL>
<DD>Line separator for Unix systems (<tt>\n</tt>).</DL>
<HR>
<A NAME="Windows"><!-- --></A><H3>
Windows</H3>
<PRE>
public static final java.lang.String <B>Windows</B></PRE>
<DL>
<DD>Line separator for Windows systems (<tt>\r\n</tt>).</DL>
<HR>
<A NAME="Macintosh"><!-- --></A><H3>
Macintosh</H3>
<PRE>
public static final java.lang.String <B>Macintosh</B></PRE>
<DL>
<DD>Line separator for Macintosh systems (<tt>\r</tt>).</DL>
<HR>
<A NAME="Web"><!-- --></A><H3>
Web</H3>
<PRE>
public static final java.lang.String <B>Web</B></PRE>
<DL>
<DD>Line separator for the Web (<tt>\n</tt>).</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="LineSeparator()"><!-- --></A><H3>
LineSeparator</H3>
<PRE>
public <B>LineSeparator</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/apache/xml/serialize/Method.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="LineSeparator.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/Method.html
Index: Method.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class Method
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Method.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class Method</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.Method</B>
</PRE>
<HR>
<DL>
<DT>public final class <B>Method</B><DT>extends java.lang.Object</DL>
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:47 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Method.html#FOP">FOP</A></B></CODE>
<BR>
The output method
for FO documents as PDF.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Method.html#HTML">HTML</A></B></CODE>
<BR>
The output method
for HTML documents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Method.html#TEXT">TEXT</A></B></CODE>
<BR>
The output method
for text documents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Method.html#XHTML">XHTML</A></B></CODE>
<BR>
The output method
for HTML documents as XHTML.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Method.html#XML">XML</A></B></CODE>
<BR>
The output method
for XML documents.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Method.html#Method()">Method</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XML"><!-- --></A><H3>
XML</H3>
<PRE>
public static final java.lang.String <B>XML</B></PRE>
<DL>
<DD>The output method for XML documents.</DL>
<HR>
<A NAME="HTML"><!-- --></A><H3>
HTML</H3>
<PRE>
public static final java.lang.String <B>HTML</B></PRE>
<DL>
<DD>The output method for HTML documents.</DL>
<HR>
<A NAME="XHTML"><!-- --></A><H3>
XHTML</H3>
<PRE>
public static final java.lang.String <B>XHTML</B></PRE>
<DL>
<DD>The output method for HTML documents as XHTML.</DL>
<HR>
<A NAME="TEXT"><!-- --></A><H3>
TEXT</H3>
<PRE>
public static final java.lang.String <B>TEXT</B></PRE>
<DL>
<DD>The output method for text documents.</DL>
<HR>
<A NAME="FOP"><!-- --></A><H3>
FOP</H3>
<PRE>
public static final java.lang.String <B>FOP</B></PRE>
<DL>
<DD>The output method for FO documents as PDF.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="Method()"><!-- --></A><H3>
Method</H3>
<PRE>
public <B>Method</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Method.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/OutputFormat.DTD.html
Index: OutputFormat.DTD.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class OutputFormat.DTD
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/apache/xml/serialize/Printer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.DTD.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class OutputFormat.DTD</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.OutputFormat.DTD</B>
</PRE>
<DL>
<DT><B>Enclosing class: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A></DD>
</DL>
<HR>
<DL>
<DT>public static class <B>OutputFormat.DTD</B><DT>extends
java.lang.Object</DL>
<P>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html#HTMLPublicId">HTMLPublicId</A></B></CODE>
<BR>
Public identifier
for HTML document type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html#HTMLSystemId">HTMLSystemId</A></B></CODE>
<BR>
System identifier
for HTML document type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html#XHTMLPublicId">XHTMLPublicId</A></B></CODE>
<BR>
Public identifier
for XHTML document type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html#XHTMLSystemId">XHTMLSystemId</A></B></CODE>
<BR>
System identifier
for XHTML document type.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html#OutputFormat.DTD()">OutputFormat.DTD</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="HTMLPublicId"><!-- --></A><H3>
HTMLPublicId</H3>
<PRE>
public static final java.lang.String <B>HTMLPublicId</B></PRE>
<DL>
<DD>Public identifier for HTML document type.</DL>
<HR>
<A NAME="HTMLSystemId"><!-- --></A><H3>
HTMLSystemId</H3>
<PRE>
public static final java.lang.String <B>HTMLSystemId</B></PRE>
<DL>
<DD>System identifier for HTML document type.</DL>
<HR>
<A NAME="XHTMLPublicId"><!-- --></A><H3>
XHTMLPublicId</H3>
<PRE>
public static final java.lang.String <B>XHTMLPublicId</B></PRE>
<DL>
<DD>Public identifier for XHTML document type.</DL>
<HR>
<A NAME="XHTMLSystemId"><!-- --></A><H3>
XHTMLSystemId</H3>
<PRE>
public static final java.lang.String <B>XHTMLSystemId</B></PRE>
<DL>
<DD>System identifier for XHTML document type.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="OutputFormat.DTD()"><!-- --></A><H3>
OutputFormat.DTD</H3>
<PRE>
public <B>OutputFormat.DTD</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html"><B>PREV
CLASS</B></A>
<A HREF="../../../../org/apache/xml/serialize/Printer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.DTD.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/OutputFormat.Defaults.html
Index: OutputFormat.Defaults.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class OutputFormat.Defaults
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.Defaults.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class OutputFormat.Defaults</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.OutputFormat.Defaults</B>
</PRE>
<DL>
<DT><B>Enclosing class: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A></DD>
</DL>
<HR>
<DL>
<DT>public static class <B>OutputFormat.Defaults</B><DT>extends
java.lang.Object</DL>
<P>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html#Encoding">Encoding</A></B></CODE>
<BR>
The default
encoding for Web documents it UTF-8.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html#Indent">Indent</A></B></CODE>
<BR>
If indentation is
turned on, the default identation
level is 4.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html#LineWidth">LineWidth</A></B></CODE>
<BR>
The default line
width at which to break long lines
when identing.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html#OutputFormat.Defaults()">OutputFormat.Defaults</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="Indent"><!-- --></A><H3>
Indent</H3>
<PRE>
public static final int <B>Indent</B></PRE>
<DL>
<DD>If indentation is turned on, the default identation
level is 4.<DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>OutputFormat.setIndenting(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="Encoding"><!-- --></A><H3>
Encoding</H3>
<PRE>
public static final java.lang.String <B>Encoding</B></PRE>
<DL>
<DD>The default encoding for Web documents it UTF-8.<DD><DL>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getEncoding()"><CODE>OutputFormat.getEncoding()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="LineWidth"><!-- --></A><H3>
LineWidth</H3>
<PRE>
public static final int <B>LineWidth</B></PRE>
<DL>
<DD>The default line width at which to break long lines
when identing. This is set to 72.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="OutputFormat.Defaults()"><!-- --></A><H3>
OutputFormat.Defaults</H3>
<PRE>
public <B>OutputFormat.Defaults</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.Defaults.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/OutputFormat.html
Index: OutputFormat.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class OutputFormat
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/xml/serialize/Method.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A
HREF="#inner_class_summary">INNER</A> | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class OutputFormat</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.OutputFormat</B>
</PRE>
<HR>
<DL>
<DT>public class <B>OutputFormat</B><DT>extends java.lang.Object</DL>
<P>
Specifies an output format to control the serializer. Based on the
XSLT specification for output format, plus additional parameters.
Used to select the suitable serializer and determine how the
document should be formatted on output.
<p>
The two interesting constructors are:
<ul>
<li><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#OutputFormat(java.lang.String,
java.lang.String,
boolean)"><CODE>OutputFormat(String,String,boolean)</CODE></A> creates a format
for the specified method (XML, HTML, Text, etc), encoding and indentation
<li><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#OutputFormat(org.w3c.dom.Document,
java.lang.String,
boolean)"><CODE>OutputFormat(Document,String,boolean)</CODE></A> creates a
format
compatible with the document type (XML, HTML, Text, etc), encoding and
indentation
</ul>
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:49 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/Method.html"><CODE>Method</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html"><CODE>LineSeparator</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<A NAME="inner_class_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Inner Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static class</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html">OutputFormat.Defaults</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static class</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html">OutputFormat.DTD</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#OutputFormat()">OutputFormat</A></B>()</CODE>
<BR>
Constructs a new
output format with the default values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#OutputFormat(org.w3c.dom.Document)">OutputFormat</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
<BR>
Constructs a new
output format with the proper method,
document type identifiers and media type for the specified
document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#OutputFormat(org.w3c.dom.Document,
java.lang.String, boolean)">OutputFormat</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc,
java.lang.String encoding,
boolean indenting)</CODE>
<BR>
Constructs a new
output format with the proper method,
document type identifiers and media type for the specified
document, and with the specified encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#OutputFormat(java.lang.String,
java.lang.String, boolean)">OutputFormat</A></B>(java.lang.String method,
java.lang.String encoding,
boolean indenting)</CODE>
<BR>
Constructs a new
output format with the default values for
the specified method and encoding.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getCDataElements()">getCDataElements</A></B>()</CODE>
<BR>
Returns a list of
all the elements whose text node children
should be output as CDATA, or null if no such elements were
specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getDoctypePublic()">getDoctypePublic</A></B>()</CODE>
<BR>
Returns the
specified document type public identifier,
or null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getDoctypeSystem()">getDoctypeSystem</A></B>()</CODE>
<BR>
Returns the
specified document type system identifier,
or null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getEncoding()">getEncoding</A></B>()</CODE>
<BR>
Returns the
specified encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getEncodingInfo()">getEncodingInfo</A></B>()</CODE>
<BR>
Returns an
<code>EncodingInfo<code> instance for the encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getIndent()">getIndent</A></B>()</CODE>
<BR>
Returns the
indentation specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getIndenting()">getIndenting</A></B>()</CODE>
<BR>
Returns true if
indentation was specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> char</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getLastPrintable()">getLastPrintable</A></B>()</CODE>
<BR>
Returns the last
printable character based on the selected
encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getLineSeparator()">getLineSeparator</A></B>()</CODE>
<BR>
Returns a
specific line separator to use.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getLineWidth()">getLineWidth</A></B>()</CODE>
<BR>
Return the
selected line width for breaking up long lines.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getMediaType()">getMediaType</A></B>()</CODE>
<BR>
Returns the
specified media type, or null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getMethod()">getMethod</A></B>()</CODE>
<BR>
Returns the
method specified for this output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getNonEscapingElements()">getNonEscapingElements</A></B>()</CODE>
<BR>
Returns a list of
all the elements whose text node children
should be output unescaped (no character references), or null
if no such elements were specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getOmitComments()">getOmitComments</A></B>()</CODE>
<BR>
Returns true if
comments should be ommited.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getOmitDocumentType()">getOmitDocumentType</A></B>()</CODE>
<BR>
Returns true if
the DOCTYPE declaration should
be ommited.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getOmitXMLDeclaration()">getOmitXMLDeclaration</A></B>()</CODE>
<BR>
Returns true if
the XML document declaration should
be ommited.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getPreserveSpace()">getPreserveSpace</A></B>()</CODE>
<BR>
Returns true if
the default behavior for this format is to
preserve spaces.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getStandalone()">getStandalone</A></B>()</CODE>
<BR>
Returns true if
the document type is standalone.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getVersion()">getVersion</A></B>()</CODE>
<BR>
Returns the
version for this output method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#isCDataElement(java.lang.String)">isCDataElement</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
the text node children of the given elements
should be output as CDATA.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#isNonEscapingElement(java.lang.String)">isNonEscapingElement</A></B>(java.lang.String tagName)</CODE>
<BR>
Returns true if
the text node children of the given elements
should be output unescaped.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setCDataElements(java.lang.String[])">setCDataElements</A></B>(java.lang.String[] cdataElements)</CODE>
<BR>
Sets the list of
elements for which text node children
should be output as CDATA.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setDoctype(java.lang.String,
java.lang.String)">setDoctype</A></B>(java.lang.String publicId,
java.lang.String systemId)</CODE>
<BR>
Sets the document
type public and system identifiers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setEncoding(org.apache.xml.serialize.EncodingInfo)">setEncoding</A></B>(<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A> encInfo)</CODE>
<BR>
Sets the encoding
for this output method with an <code>EncodingInfo</code>
instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
<BR>
Sets the encoding
for this output method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndent(int)">setIndent</A></B>(int indent)</CODE>
<BR>
Sets the
indentation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)">setIndenting</A></B>(boolean on)</CODE>
<BR>
Sets the
indentation on and off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setLineSeparator(java.lang.String)">setLineSeparator</A></B>(java.lang.String lineSeparator)</CODE>
<BR>
Sets the line
separator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setLineWidth(int)">setLineWidth</A></B>(int lineWidth)</CODE>
<BR>
Sets the line
width.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setMediaType(java.lang.String)">setMediaType</A></B>(java.lang.String mediaType)</CODE>
<BR>
Sets the media
type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setMethod(java.lang.String)">setMethod</A></B>(java.lang.String method)</CODE>
<BR>
Sets the method
for this output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setNonEscapingElements(java.lang.String[])">setNonEscapingElements</A></B>(java.lang.String[] nonEscapingElements)</CODE>
<BR>
Sets the list of
elements for which text node children
should be output unescaped (no character references).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setOmitComments(boolean)">setOmitComments</A></B>(boolean omit)</CODE>
<BR>
Sets comment
omitting on and off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setOmitDocumentType(boolean)">setOmitDocumentType</A></B>(boolean omit)</CODE>
<BR>
Sets DOCTYPE
declaration omitting on and off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setOmitXMLDeclaration(boolean)">setOmitXMLDeclaration</A></B>(boolean omit)</CODE>
<BR>
Sets XML
declaration omitting on and off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setPreserveSpace(boolean)">setPreserveSpace</A></B>(boolean preserve)</CODE>
<BR>
Sets space
preserving as the default behavior.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setStandalone(boolean)">setStandalone</A></B>(boolean standalone)</CODE>
<BR>
Sets document DTD
standalone.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setVersion(java.lang.String)">setVersion</A></B>(java.lang.String version)</CODE>
<BR>
Sets the version
for this output method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichDoctypePublic(org.w3c.dom.Document)">whichDoctypePublic</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
<BR>
Returns the
document type public identifier
specified for this document, or null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichDoctypeSystem(org.w3c.dom.Document)">whichDoctypeSystem</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
<BR>
Returns the
document type system identifier
specified for this document, or null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichMediaType(java.lang.String)">whichMediaType</A></B>(java.lang.String method)</CODE>
<BR>
Returns the
suitable media format for a document
output with the specified method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichMethod(org.w3c.dom.Document)">whichMethod</A></B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</CODE>
<BR>
Determine the
output method for the specified document.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="OutputFormat()"><!-- --></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>()</PRE>
<DL>
<DD>Constructs a new output format with the default values.</DL>
<HR>
<A NAME="OutputFormat(java.lang.String, java.lang.String, boolean)"><!--
--></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>(java.lang.String method,
java.lang.String encoding,
boolean indenting)</PRE>
<DL>
<DD>Constructs a new output format with the default values for
the specified method and encoding. If <tt>indent</tt>
is true, the document will be pretty printed with the default
indentation level and default line wrapping.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> - The specified output
method<DD><CODE>encoding</CODE> - The specified
encoding<DD><CODE>indenting</CODE> - True for pretty printing<DT><B>See Also:
</B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>setIndenting(boolean)</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setMethod(java.lang.String)"><CODE>setMethod(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="OutputFormat(org.w3c.dom.Document)"><!-- --></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</PRE>
<DL>
<DD>Constructs a new output format with the proper method,
document type identifiers and media type for the specified
document.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document to output<DT><B>See
Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichMethod(org.w3c.dom.Document)"><CODE>whichMethod(org.w3c.dom.Document)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="OutputFormat(org.w3c.dom.Document, java.lang.String, boolean)"><!--
--></A><H3>
OutputFormat</H3>
<PRE>
public <B>OutputFormat</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc,
java.lang.String encoding,
boolean indenting)</PRE>
<DL>
<DD>Constructs a new output format with the proper method,
document type identifiers and media type for the specified
document, and with the specified encoding. If <tt>indent</tt>
is true, the document will be pretty printed with the default
indentation level and default line wrapping.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document to
output<DD><CODE>encoding</CODE> - The specified
encoding<DD><CODE>indenting</CODE> - True for pretty printing<DT><B>See Also:
</B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setEncoding(java.lang.String)"><CODE>setEncoding(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>setIndenting(boolean)</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichMethod(org.w3c.dom.Document)"><CODE>whichMethod(org.w3c.dom.Document)</CODE></A></DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getMethod()"><!-- --></A><H3>
getMethod</H3>
<PRE>
public java.lang.String <B>getMethod</B>()</PRE>
<DL>
<DD>Returns the method specified for this output format.
Typically the method will be <tt>xml</tt>, <tt>html</tt>
or <tt>text</tt>, but it might be other values.
If no method was specified, null will be returned
and the most suitable method will be determined for
the document by calling <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichMethod(org.w3c.dom.Document)"><CODE>whichMethod(org.w3c.dom.Document)</CODE></A>.<DD><DL>
<DT><B>Returns:</B><DD>The specified output method, or null</DL>
</DD>
</DL>
<HR>
<A NAME="setMethod(java.lang.String)"><!-- --></A><H3>
setMethod</H3>
<PRE>
public void <B>setMethod</B>(java.lang.String method)</PRE>
<DL>
<DD>Sets the method for this output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> - The output method, or
null<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getMethod()"><CODE>getMethod()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getVersion()"><!-- --></A><H3>
getVersion</H3>
<PRE>
public java.lang.String <B>getVersion</B>()</PRE>
<DL>
<DD>Returns the version for this output method.
If no version was specified, will return null
and the default version number will be used.
If the serializerr does not support that particular
version, it should default to a supported version.<DD><DL>
<DT><B>Returns:</B><DD>The specified method version, or null</DL>
</DD>
</DL>
<HR>
<A NAME="setVersion(java.lang.String)"><!-- --></A><H3>
setVersion</H3>
<PRE>
public void <B>setVersion</B>(java.lang.String version)</PRE>
<DL>
<DD>Sets the version for this output method.
For XML the value would be "1.0", for HTML
it would be "4.0".<DD><DL>
<DT><B>Parameters:</B><DD><CODE>version</CODE> - The output method version,
or null<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getVersion()"><CODE>getVersion()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getIndent()"><!-- --></A><H3>
getIndent</H3>
<PRE>
public int <B>getIndent</B>()</PRE>
<DL>
<DD>Returns the indentation specified. If no indentation
was specified, zero is returned and the document
should not be indented.<DD><DL>
<DT><B>Returns:</B><DD>The indentation or zero<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>setIndenting(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getIndenting()"><!-- --></A><H3>
getIndenting</H3>
<PRE>
public boolean <B>getIndenting</B>()</PRE>
<DL>
<DD>Returns true if indentation was specified.</DL>
<HR>
<A NAME="setIndent(int)"><!-- --></A><H3>
setIndent</H3>
<PRE>
public void <B>setIndent</B>(int indent)</PRE>
<DL>
<DD>Sets the indentation. The document will not be
indented if the indentation is set to zero.
Calling <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>setIndenting(boolean)</CODE></A>
will reset this
value to zero (off) or the default (on).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>indent</CODE> - The indentation, or zero</DL>
</DD>
</DL>
<HR>
<A NAME="setIndenting(boolean)"><!-- --></A><H3>
setIndenting</H3>
<PRE>
public void <B>setIndenting</B>(boolean on)</PRE>
<DL>
<DD>Sets the indentation on and off. When set on, the default
indentation level and default line wrapping is used
(see <CODE>#DEFAULT_INDENT</CODE> and <CODE>#DEFAULT_LINE_WIDTH</CODE>).
To specify a different indentation level or line wrapping,
use <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndent(int)"><CODE>setIndent(int)</CODE></A>
and <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setLineWidth(int)"><CODE>setLineWidth(int)</CODE></A>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>on</CODE> - True if indentation should be
on</DL>
</DD>
</DL>
<HR>
<A NAME="getEncoding()"><!-- --></A><H3>
getEncoding</H3>
<PRE>
public java.lang.String <B>getEncoding</B>()</PRE>
<DL>
<DD>Returns the specified encoding. If no encoding was
specified, the default is always "UTF-8".<DD><DL>
<DT><B>Returns:</B><DD>The encoding</DL>
</DD>
</DL>
<HR>
<A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
setEncoding</H3>
<PRE>
public void <B>setEncoding</B>(java.lang.String encoding)</PRE>
<DL>
<DD>Sets the encoding for this output method. If no
encoding was specified, the default is always "UTF-8".
Make sure the encoding is compatible with the one
used by the <CODE>Writer</CODE>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>encoding</CODE> - The encoding, or
null<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getEncoding()"><CODE>getEncoding()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setEncoding(org.apache.xml.serialize.EncodingInfo)"><!-- --></A><H3>
setEncoding</H3>
<PRE>
public void <B>setEncoding</B>(<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A> encInfo)</PRE>
<DL>
<DD>Sets the encoding for this output method with an <code>EncodingInfo</code>
instance.</DL>
<HR>
<A NAME="getEncodingInfo()"><!-- --></A><H3>
getEncodingInfo</H3>
<PRE>
public <A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A>
<B>getEncodingInfo</B>()</PRE>
<DL>
<DD>Returns an <code>EncodingInfo<code> instance for the encoding.<DD><DL>
<DT><B>See Also: </B><DD><CODE>setEncoding</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getMediaType()"><!-- --></A><H3>
getMediaType</H3>
<PRE>
public java.lang.String <B>getMediaType</B>()</PRE>
<DL>
<DD>Returns the specified media type, or null.
To determine the media type based on the
document type, use <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#whichMediaType(java.lang.String)"><CODE>whichMediaType(java.lang.String)</CODE></A>.<DD><DL>
<DT><B>Returns:</B><DD>The specified media type, or null</DL>
</DD>
</DL>
<HR>
<A NAME="setMediaType(java.lang.String)"><!-- --></A><H3>
setMediaType</H3>
<PRE>
public void <B>setMediaType</B>(java.lang.String mediaType)</PRE>
<DL>
<DD>Sets the media type.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mediaType</CODE> - The specified media
type<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getMediaType()"><CODE>getMediaType()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setDoctype(java.lang.String, java.lang.String)"><!-- --></A><H3>
setDoctype</H3>
<PRE>
public void <B>setDoctype</B>(java.lang.String publicId,
java.lang.String systemId)</PRE>
<DL>
<DD>Sets the document type public and system identifiers.
Required only if the DOM Document or SAX events do not
specify the document type, and one must be present in
the serialized document. Any document type specified
by the DOM Document or SAX events will override these
values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>publicId</CODE> - The public identifier, or
null<DD><CODE>systemId</CODE> - The system identifier, or null</DL>
</DD>
</DL>
<HR>
<A NAME="getDoctypePublic()"><!-- --></A><H3>
getDoctypePublic</H3>
<PRE>
public java.lang.String <B>getDoctypePublic</B>()</PRE>
<DL>
<DD>Returns the specified document type public identifier,
or null.</DL>
<HR>
<A NAME="getDoctypeSystem()"><!-- --></A><H3>
getDoctypeSystem</H3>
<PRE>
public java.lang.String <B>getDoctypeSystem</B>()</PRE>
<DL>
<DD>Returns the specified document type system identifier,
or null.</DL>
<HR>
<A NAME="getOmitComments()"><!-- --></A><H3>
getOmitComments</H3>
<PRE>
public boolean <B>getOmitComments</B>()</PRE>
<DL>
<DD>Returns true if comments should be ommited.
The default is false.</DL>
<HR>
<A NAME="setOmitComments(boolean)"><!-- --></A><H3>
setOmitComments</H3>
<PRE>
public void <B>setOmitComments</B>(boolean omit)</PRE>
<DL>
<DD>Sets comment omitting on and off.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>omit</CODE> - True if comments should be
ommited</DL>
</DD>
</DL>
<HR>
<A NAME="getOmitDocumentType()"><!-- --></A><H3>
getOmitDocumentType</H3>
<PRE>
public boolean <B>getOmitDocumentType</B>()</PRE>
<DL>
<DD>Returns true if the DOCTYPE declaration should
be ommited. The default is false.</DL>
<HR>
<A NAME="setOmitDocumentType(boolean)"><!-- --></A><H3>
setOmitDocumentType</H3>
<PRE>
public void <B>setOmitDocumentType</B>(boolean omit)</PRE>
<DL>
<DD>Sets DOCTYPE declaration omitting on and off.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>omit</CODE> - True if DOCTYPE declaration
should be ommited</DL>
</DD>
</DL>
<HR>
<A NAME="getOmitXMLDeclaration()"><!-- --></A><H3>
getOmitXMLDeclaration</H3>
<PRE>
public boolean <B>getOmitXMLDeclaration</B>()</PRE>
<DL>
<DD>Returns true if the XML document declaration should
be ommited. The default is false.</DL>
<HR>
<A NAME="setOmitXMLDeclaration(boolean)"><!-- --></A><H3>
setOmitXMLDeclaration</H3>
<PRE>
public void <B>setOmitXMLDeclaration</B>(boolean omit)</PRE>
<DL>
<DD>Sets XML declaration omitting on and off.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>omit</CODE> - True if XML declaration should
be ommited</DL>
</DD>
</DL>
<HR>
<A NAME="getStandalone()"><!-- --></A><H3>
getStandalone</H3>
<PRE>
public boolean <B>getStandalone</B>()</PRE>
<DL>
<DD>Returns true if the document type is standalone.
The default is false.</DL>
<HR>
<A NAME="setStandalone(boolean)"><!-- --></A><H3>
setStandalone</H3>
<PRE>
public void <B>setStandalone</B>(boolean standalone)</PRE>
<DL>
<DD>Sets document DTD standalone. The public and system
identifiers must be null for the document to be
serialized as standalone.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>standalone</CODE> - True if document DTD is
standalone</DL>
</DD>
</DL>
<HR>
<A NAME="getCDataElements()"><!-- --></A><H3>
getCDataElements</H3>
<PRE>
public java.lang.String[] <B>getCDataElements</B>()</PRE>
<DL>
<DD>Returns a list of all the elements whose text node children
should be output as CDATA, or null if no such elements were
specified.</DL>
<HR>
<A NAME="isCDataElement(java.lang.String)"><!-- --></A><H3>
isCDataElement</H3>
<PRE>
public boolean <B>isCDataElement</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if the text node children of the given elements
should be output as CDATA.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element's tag
name<DT><B>Returns:</B><DD>True if should serialize as CDATA</DL>
</DD>
</DL>
<HR>
<A NAME="setCDataElements(java.lang.String[])"><!-- --></A><H3>
setCDataElements</H3>
<PRE>
public void
<B>setCDataElements</B>(java.lang.String[] cdataElements)</PRE>
<DL>
<DD>Sets the list of elements for which text node children
should be output as CDATA.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cdataElements</CODE> - List of CDATA element
tag names</DL>
</DD>
</DL>
<HR>
<A NAME="getNonEscapingElements()"><!-- --></A><H3>
getNonEscapingElements</H3>
<PRE>
public java.lang.String[] <B>getNonEscapingElements</B>()</PRE>
<DL>
<DD>Returns a list of all the elements whose text node children
should be output unescaped (no character references), or null
if no such elements were specified.</DL>
<HR>
<A NAME="isNonEscapingElement(java.lang.String)"><!-- --></A><H3>
isNonEscapingElement</H3>
<PRE>
public boolean
<B>isNonEscapingElement</B>(java.lang.String tagName)</PRE>
<DL>
<DD>Returns true if the text node children of the given elements
should be output unescaped.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tagName</CODE> - The element's tag
name<DT><B>Returns:</B><DD>True if should serialize unescaped</DL>
</DD>
</DL>
<HR>
<A NAME="setNonEscapingElements(java.lang.String[])"><!-- --></A><H3>
setNonEscapingElements</H3>
<PRE>
public void
<B>setNonEscapingElements</B>(java.lang.String[] nonEscapingElements)</PRE>
<DL>
<DD>Sets the list of elements for which text node children
should be output unescaped (no character references).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nonEscapingElements</CODE> - List of
unescaped element tag names</DL>
</DD>
</DL>
<HR>
<A NAME="getLineSeparator()"><!-- --></A><H3>
getLineSeparator</H3>
<PRE>
public java.lang.String <B>getLineSeparator</B>()</PRE>
<DL>
<DD>Returns a specific line separator to use. The default is the
Web line separator (<tt>\n</tt>). A string is returned to
support double codes (CR + LF).<DD><DL>
<DT><B>Returns:</B><DD>The specified line separator</DL>
</DD>
</DL>
<HR>
<A NAME="setLineSeparator(java.lang.String)"><!-- --></A><H3>
setLineSeparator</H3>
<PRE>
public void <B>setLineSeparator</B>(java.lang.String lineSeparator)</PRE>
<DL>
<DD>Sets the line separator. The default is the Web line separator
(<tt>\n</tt>). The machine's line separator can be obtained
from the system property <tt>line.separator</tt>, but is only
useful if the document is edited on machines of the same type.
For general documents, use the Web line separator.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineSeparator</CODE> - The specified line
separator</DL>
</DD>
</DL>
<HR>
<A NAME="getPreserveSpace()"><!-- --></A><H3>
getPreserveSpace</H3>
<PRE>
public boolean <B>getPreserveSpace</B>()</PRE>
<DL>
<DD>Returns true if the default behavior for this format is to
preserve spaces. All elements that do not specify otherwise
or specify the default behavior will be formatted based on
this rule. All elements that specify space preserving will
always preserve space.</DL>
<HR>
<A NAME="setPreserveSpace(boolean)"><!-- --></A><H3>
setPreserveSpace</H3>
<PRE>
public void <B>setPreserveSpace</B>(boolean preserve)</PRE>
<DL>
<DD>Sets space preserving as the default behavior. The default is
space stripping and all elements that do not specify otherwise
or use the default value will not preserve spaces.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>preserve</CODE> - True if spaces should be
preserved</DL>
</DD>
</DL>
<HR>
<A NAME="getLineWidth()"><!-- --></A><H3>
getLineWidth</H3>
<PRE>
public int <B>getLineWidth</B>()</PRE>
<DL>
<DD>Return the selected line width for breaking up long lines.
When indenting, and only when indenting, long lines will be
broken at space boundaries based on this line width.
No line wrapping occurs if this value is zero.</DL>
<HR>
<A NAME="setLineWidth(int)"><!-- --></A><H3>
setLineWidth</H3>
<PRE>
public void <B>setLineWidth</B>(int lineWidth)</PRE>
<DL>
<DD>Sets the line width. If zero then no line wrapping will
occur. Calling <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>setIndenting(boolean)</CODE></A>
will reset this
value to zero (off) or the default (on).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineWidth</CODE> - The line width to use,
zero for default<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#getLineWidth()"><CODE>getLineWidth()</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setIndenting(boolean)"><CODE>setIndenting(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getLastPrintable()"><!-- --></A><H3>
getLastPrintable</H3>
<PRE>
public char <B>getLastPrintable</B>()</PRE>
<DL>
<DD>Returns the last printable character based on the selected
encoding. Control characters and non-printable characters
are always printed as character references.</DL>
<HR>
<A NAME="whichMethod(org.w3c.dom.Document)"><!-- --></A><H3>
whichMethod</H3>
<PRE>
public static java.lang.String <B>whichMethod</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</PRE>
<DL>
<DD>Determine the output method for the specified document.
If the document is an instance of <A
HREF="../../../../org/w3c/dom/html/HTMLDocument.html"><CODE>HTMLDocument</CODE></A>
then the method is said to be <tt>html</tt>. If the root
element is 'html' and all text nodes preceding the root
element are all whitespace, then the method is said to be
<tt>html</tt>. Otherwise the method is <tt>xml</tt>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - The document to
check<DT><B>Returns:</B><DD>The suitable method</DL>
</DD>
</DL>
<HR>
<A NAME="whichDoctypePublic(org.w3c.dom.Document)"><!-- --></A><H3>
whichDoctypePublic</H3>
<PRE>
public static java.lang.String <B>whichDoctypePublic</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</PRE>
<DL>
<DD>Returns the document type public identifier
specified for this document, or null.</DL>
<HR>
<A NAME="whichDoctypeSystem(org.w3c.dom.Document)"><!-- --></A><H3>
whichDoctypeSystem</H3>
<PRE>
public static java.lang.String <B>whichDoctypeSystem</B>(<A
HREF="../../../../org/w3c/dom/Document.html">Document</A> doc)</PRE>
<DL>
<DD>Returns the document type system identifier
specified for this document, or null.</DL>
<HR>
<A NAME="whichMediaType(java.lang.String)"><!-- --></A><H3>
whichMediaType</H3>
<PRE>
public static java.lang.String
<B>whichMediaType</B>(java.lang.String method)</PRE>
<DL>
<DD>Returns the suitable media format for a document
output with the specified method.</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/xml/serialize/Method.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="OutputFormat.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A
HREF="#inner_class_summary">INNER</A> | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/Printer.html
Index: Printer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class Printer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Printer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class Printer</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.Printer</B>
</PRE>
<HR>
<DL>
<DT>public class <B>Printer</B><DT>extends java.lang.Object</DL>
<P>
The printer is responsible for sending text to the output stream
or writer. This class performs direct writing for efficiency.
<CODE>IndentPrinter</CODE> supports indentation and line wrapping by
extending this class.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:50 $</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.io.Writer</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#_docWriter">_docWriter</A></B></CODE>
<BR>
Holds a reference
to the document writer while we are
in DTD mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.io.StringWriter</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#_dtdWriter">_dtdWriter</A></B></CODE>
<BR>
The DTD
writer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.io.IOException</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#_exception">_exception</A></B></CODE>
<BR>
Holds the
exception thrown by the serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#_format">_format</A></B></CODE>
<BR>
The output format
associated with this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.io.Writer</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#_writer">_writer</A></B></CODE>
<BR>
The writer to
which the document is written.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#Printer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)">Printer</A></B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#breakLine()">breakLine</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#breakLine(boolean)">breakLine</A></B>(boolean preserveSpace)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#enterDTD()">enterDTD</A></B>()</CODE>
<BR>
Called by any of
the DTD handlers to enter DTD mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#flush()">flush</A></B>()</CODE>
<BR>
Flush the output
stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#flushLine(boolean)">flushLine</A></B>(boolean preserveSpace)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.IOException</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#getException()">getException</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#getNextIndent()">getNextIndent</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#indent()">indent</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#leaveDTD()">leaveDTD</A></B>()</CODE>
<BR>
Called by the
root element to leave DTD mode and if any
DTD parts were printer, will return a string with their
textual content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#printSpace()">printSpace</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#printText(char)">printText</A></B>(char ch)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#printText(char[], int,
int)">printText</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#printText(java.lang.String)">printText</A></B>(java.lang.String text)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#printText(java.lang.StringBuffer)">printText</A></B>(java.lang.StringBuffer text)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#setNextIndent(int)">setNextIndent</A></B>(int indent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#setThisIndent(int)">setThisIndent</A></B>(int indent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Printer.html#unindent()">unindent</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="_format"><!-- --></A><H3>
_format</H3>
<PRE>
protected final <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A>
<B>_format</B></PRE>
<DL>
<DD>The output format associated with this serializer. This will never
be a null reference. If no format was passed to the constructor,
the default one for this document type will be used. The format
object is never changed by the serializer.</DL>
<HR>
<A NAME="_writer"><!-- --></A><H3>
_writer</H3>
<PRE>
protected java.io.Writer <B>_writer</B></PRE>
<DL>
<DD>The writer to which the document is written.</DL>
<HR>
<A NAME="_dtdWriter"><!-- --></A><H3>
_dtdWriter</H3>
<PRE>
protected java.io.StringWriter <B>_dtdWriter</B></PRE>
<DL>
<DD>The DTD writer. When we switch to DTD mode, all output is
accumulated in this DTD writer. When we switch out of it,
the output is obtained as a string. Must not be reset to
null until we're done with the document.</DL>
<HR>
<A NAME="_docWriter"><!-- --></A><H3>
_docWriter</H3>
<PRE>
protected java.io.Writer <B>_docWriter</B></PRE>
<DL>
<DD>Holds a reference to the document writer while we are
in DTD mode.</DL>
<HR>
<A NAME="_exception"><!-- --></A><H3>
_exception</H3>
<PRE>
protected java.io.IOException <B>_exception</B></PRE>
<DL>
<DD>Holds the exception thrown by the serializer. Exceptions do not cause
the serializer to quit, but are held and one is thrown at the end.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="Printer(java.io.Writer, org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
Printer</H3>
<PRE>
public <B>Printer</B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getException()"><!-- --></A><H3>
getException</H3>
<PRE>
public java.io.IOException <B>getException</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="enterDTD()"><!-- --></A><H3>
enterDTD</H3>
<PRE>
public void <B>enterDTD</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Called by any of the DTD handlers to enter DTD mode.
Once entered, all output will be accumulated in a string
that can be printed as part of the document's DTD.
This method may be called any number of time but will only
have affect the first time it's called. To exist DTD state
and get the accumulated DTD, call <A
HREF="../../../../org/apache/xml/serialize/Printer.html#leaveDTD()"><CODE>leaveDTD()</CODE></A>.</DL>
<HR>
<A NAME="leaveDTD()"><!-- --></A><H3>
leaveDTD</H3>
<PRE>
public java.lang.String <B>leaveDTD</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Called by the root element to leave DTD mode and if any
DTD parts were printer, will return a string with their
textual content.</DL>
<HR>
<A NAME="printText(java.lang.String)"><!-- --></A><H3>
printText</H3>
<PRE>
public void <B>printText</B>(java.lang.String text)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="printText(java.lang.StringBuffer)"><!-- --></A><H3>
printText</H3>
<PRE>
public void <B>printText</B>(java.lang.StringBuffer text)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="printText(char[], int, int)"><!-- --></A><H3>
printText</H3>
<PRE>
public void <B>printText</B>(char[] chars,
int start,
int length)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="printText(char)"><!-- --></A><H3>
printText</H3>
<PRE>
public void <B>printText</B>(char ch)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="printSpace()"><!-- --></A><H3>
printSpace</H3>
<PRE>
public void <B>printSpace</B>()
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="breakLine()"><!-- --></A><H3>
breakLine</H3>
<PRE>
public void <B>breakLine</B>()
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="breakLine(boolean)"><!-- --></A><H3>
breakLine</H3>
<PRE>
public void <B>breakLine</B>(boolean preserveSpace)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="flushLine(boolean)"><!-- --></A><H3>
flushLine</H3>
<PRE>
public void <B>flushLine</B>(boolean preserveSpace)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="flush()"><!-- --></A><H3>
flush</H3>
<PRE>
public void <B>flush</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Flush the output stream. Must be called when done printing
the document, otherwise some text might be buffered.</DL>
<HR>
<A NAME="indent()"><!-- --></A><H3>
indent</H3>
<PRE>
public void <B>indent</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="unindent()"><!-- --></A><H3>
unindent</H3>
<PRE>
public void <B>unindent</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="getNextIndent()"><!-- --></A><H3>
getNextIndent</H3>
<PRE>
public int <B>getNextIndent</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="setNextIndent(int)"><!-- --></A><H3>
setNextIndent</H3>
<PRE>
public void <B>setNextIndent</B>(int indent)</PRE>
<DL>
</DL>
<HR>
<A NAME="setThisIndent(int)"><!-- --></A><H3>
setThisIndent</H3>
<PRE>
public void <B>setThisIndent</B>(int indent)</PRE>
<DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Printer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/Serializer.html
Index: Serializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:05 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Interface Serializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Serializer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Interface Serializer</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DD>
</DL>
<HR>
<DL>
<DT>public interface <B>Serializer</B></DL>
<P>
Interface for a DOM serializer implementation, factory for DOM and SAX
serializers, and static methods for serializing DOM documents.
<p>
To serialize a document using SAX events, create a compatible serializer
using <CODE>#makeSAXSerializer</CODE> and pass it around as a <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>.
If an I/O error occurs while serializing, it will
be thrown by <A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A>.
The SAX serializer
may also be used as <CODE>DTDHandler</CODE>, <CODE>DeclHandler</CODE> and
<CODE>LexicalHandler</CODE>.
<p>
To serialize a DOM document or DOM element, create a compatible
serializer using <CODE>#makeSerializer</CODE> and call it's
<CODE>#serialize(Document)</CODE> or <CODE>#serialize(Element)</CODE> methods.
Both methods would produce a full XML document, to serizlie only
the portion of the document use <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html#setOmitXMLDeclaration(boolean)"><CODE>OutputFormat.setOmitXMLDeclaration(boolean)</CODE></A>
and specify no document type.
<p>
The convenience method <CODE>#serialize(Document,Writer,OutputFormat)</CODE>
creates a serializer and calls <CODE>#serizlie(Document)</CODE> on that
serialized.
<p>
The <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>
dictates what underlying serialized is used
to serialize the document based on the specified method. If the output
format or method are missing, the default is an XML serializer with
UTF-8 encoding and now indentation.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:50 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>,
<A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>,
<A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#asContentHandler()">asContentHandler</A></B>()</CODE>
<BR>
Return a <A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface into this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#asDocumentHandler()">asDocumentHandler</A></B>()</CODE>
<BR>
Return a <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface into this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#asDOMSerializer()">asDOMSerializer</A></B>()</CODE>
<BR>
Return a <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A>
interface into this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A></B>(java.io.OutputStream output)</CODE>
<BR>
Specifies an
output stream to which the document should be
serialized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A></B>(java.io.Writer output)</CODE>
<BR>
Specifies a
writer to which the document should be serialized.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Specifies an
output format for this serializer.</TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setOutputByteStream(java.io.OutputStream)"><!-- --></A><H3>
setOutputByteStream</H3>
<PRE>
public void <B>setOutputByteStream</B>(java.io.OutputStream output)</PRE>
<DL>
<DD>Specifies an output stream to which the document should be
serialized. This method should not be called while the
serializer is in the process of serializing a document.</DL>
<HR>
<A NAME="setOutputCharStream(java.io.Writer)"><!-- --></A><H3>
setOutputCharStream</H3>
<PRE>
public void <B>setOutputCharStream</B>(java.io.Writer output)</PRE>
<DL>
<DD>Specifies a writer to which the document should be serialized.
This method should not be called while the serializer is in
the process of serializing a document.</DL>
<HR>
<A NAME="setOutputFormat(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
setOutputFormat</H3>
<PRE>
public void <B>setOutputFormat</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Specifies an output format for this serializer. It the
serializer has already been associated with an output format,
it will switch to the new format. This method should not be
called while the serializer is in the process of serializing
a document.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The output format to use</DL>
</DD>
</DL>
<HR>
<A NAME="asDocumentHandler()"><!-- --></A><H3>
asDocumentHandler</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>
<B>asDocumentHandler</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Return a <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface into this serializer.
If the serializer does not support the <A
HREF="../../../../org/xml/sax/DocumentHandler.html"><CODE>DocumentHandler</CODE></A>
interface, it should return null.</DL>
<HR>
<A NAME="asContentHandler()"><!-- --></A><H3>
asContentHandler</H3>
<PRE>
public <A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>
<B>asContentHandler</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Return a <A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface into this serializer.
If the serializer does not support the <A
HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A>
interface, it should return null.</DL>
<HR>
<A NAME="asDOMSerializer()"><!-- --></A><H3>
asDOMSerializer</H3>
<PRE>
public <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>
<B>asDOMSerializer</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Return a <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A>
interface into this serializer.
If the serializer does not support the <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><CODE>DOMSerializer</CODE></A>
interface, it should return null.</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Serializer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/SerializerFactory.html
Index: SerializerFactory.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class SerializerFactory
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/xml/serialize/Printer.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SerializerFactory.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class SerializerFactory</H2>
<PRE>
java.lang.Object
|
+--<B>org.apache.xml.serialize.SerializerFactory</B>
</PRE>
<HR>
<DL>
<DT>public abstract class <B>SerializerFactory</B><DT>extends
java.lang.Object</DL>
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:51 $</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#FactoriesProperty">FactoriesProperty</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#SerializerFactory()">SerializerFactory</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html">SerializerFactory</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#getSerializerFactory(java.lang.String)">getSerializerFactory</A></B>(java.lang.String method)</CODE>
<BR>
Register a
serializer factory, keyed by the given
method string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#getSupportedMethod()">getSupportedMethod</A></B>()</CODE>
<BR>
Returns the
method supported by this factory and used to register
the factory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#makeSerializer(org.apache.xml.serialize.OutputFormat)">makeSerializer</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Create a new
serializer based on the <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#makeSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)">makeSerializer</A></B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Create a new
serializer, based on the <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>
and
using the output byte stream and the encoding specified in the
output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#makeSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)">makeSerializer</A></B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Create a new
serializer, based on the <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>
and
using the writer as the output character stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html#registerSerializerFactory(org.apache.xml.serialize.SerializerFactory)">registerSerializerFactory</A></B>(<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html">SerializerFactory</A> factory)</CODE>
<BR>
Register a
serializer factory, keyed by the given
method string.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="FactoriesProperty"><!-- --></A><H3>
FactoriesProperty</H3>
<PRE>
public static final java.lang.String <B>FactoriesProperty</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SerializerFactory()"><!-- --></A><H3>
SerializerFactory</H3>
<PRE>
public <B>SerializerFactory</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A
NAME="registerSerializerFactory(org.apache.xml.serialize.SerializerFactory)"><!--
--></A><H3>
registerSerializerFactory</H3>
<PRE>
public static void <B>registerSerializerFactory</B>(<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html">SerializerFactory</A> factory)</PRE>
<DL>
<DD>Register a serializer factory, keyed by the given
method string.</DL>
<HR>
<A NAME="getSerializerFactory(java.lang.String)"><!-- --></A><H3>
getSerializerFactory</H3>
<PRE>
public static <A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html">SerializerFactory</A>
<B>getSerializerFactory</B>(java.lang.String method)</PRE>
<DL>
<DD>Register a serializer factory, keyed by the given
method string.</DL>
<HR>
<A NAME="getSupportedMethod()"><!-- --></A><H3>
getSupportedMethod</H3>
<PRE>
protected abstract java.lang.String <B>getSupportedMethod</B>()</PRE>
<DL>
<DD>Returns the method supported by this factory and used to register
the factory. This call is required so factories can be added from
a properties file by knowing only the class name. This method is
protected, it is only required by this class but must be implemented
in derived classes.</DL>
<HR>
<A NAME="makeSerializer(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
makeSerializer</H3>
<PRE>
public abstract <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A>
<B>makeSerializer</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Create a new serializer based on the <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>.
If this method is used to create the serializer, the <A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>Serializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/Serializer.html#setOutputCharStream(java.io.Writer)"><CODE>Serializer.setOutputCharStream(java.io.Writer)</CODE></A>
methods must be called before serializing a document.</DL>
<HR>
<A NAME="makeSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
makeSerializer</H3>
<PRE>
public abstract <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A>
<B>makeSerializer</B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Create a new serializer, based on the <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>
and
using the writer as the output character stream. If this
method is used, the encoding property will be ignored.</DL>
<HR>
<A NAME="makeSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
makeSerializer</H3>
<PRE>
public abstract <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A>
<B>makeSerializer</B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)
throws
java.io.UnsupportedEncodingException</PRE>
<DL>
<DD>Create a new serializer, based on the <A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><CODE>OutputFormat</CODE></A>
and
using the output byte stream and the encoding specified in the
output format.<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.io.UnsupportedEncodingException</CODE> - The
specified encoding is
not supported</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/xml/serialize/Printer.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SerializerFactory.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#field_summary">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/SieveEncodingInfo.html
Index: SieveEncodingInfo.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class SieveEncodingInfo
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SieveEncodingInfo.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class SieveEncodingInfo</H2>
<PRE>
java.lang.Object
|
+--<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">org.apache.xml.serialize.EncodingInfo</A>
|
+--<B>org.apache.xml.serialize.SieveEncodingInfo</B>
</PRE>
<HR>
<DL>
<DT>public class <B>SieveEncodingInfo</B><DT>extends <A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A></DL>
<P>
This class represents an encoding.
<P>
<DL>
<DT><B>Version: </B><DD>$Id: SieveEncodingInfo.html,v 1.1 2001/05/22 22:06:51
neilg Exp $</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html#SieveEncodingInfo(java.lang.String,
int)">SieveEncodingInfo</A></B>(java.lang.String mimeName,
int lastPrintable)</CODE>
<BR>
Creates new
<code>SeiveEncodingInfo</code> instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html#SieveEncodingInfo(java.lang.String,
java.lang.String, int,
java.lang.String)">SieveEncodingInfo</A></B>(java.lang.String mimeName,
java.lang.String javaName,
int lastPrintable,
java.lang.String dangers)</CODE>
<BR>
Creates new
<code>SeiveEncodingInfo</code> instance.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html#isPrintable(int)">isPrintable</A></B>(int ch)</CODE>
<BR>
Checks whether
the specified character is printable or not.</TD>
</TR>
</TABLE>
<A
NAME="methods_inherited_from_class_org.apache.xml.serialize.EncodingInfo"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#getName()">getName</A>,
<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#getWriter(java.io.OutputStream)">getWriter</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SieveEncodingInfo(java.lang.String, java.lang.String, int,
java.lang.String)"><!-- --></A><H3>
SieveEncodingInfo</H3>
<PRE>
public <B>SieveEncodingInfo</B>(java.lang.String mimeName,
java.lang.String javaName,
int lastPrintable,
java.lang.String dangers)</PRE>
<DL>
<DD>Creates new <code>SeiveEncodingInfo</code> instance.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dangers</CODE> - A sorted characters that are
always printed as character references.</DL>
</DD>
</DL>
<HR>
<A NAME="SieveEncodingInfo(java.lang.String, int)"><!-- --></A><H3>
SieveEncodingInfo</H3>
<PRE>
public <B>SieveEncodingInfo</B>(java.lang.String mimeName,
int lastPrintable)</PRE>
<DL>
<DD>Creates new <code>SeiveEncodingInfo</code> instance.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="isPrintable(int)"><!-- --></A><H3>
isPrintable</H3>
<PRE>
public boolean <B>isPrintable</B>(int ch)</PRE>
<DL>
<DD>Checks whether the specified character is printable or not.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html#isPrintable(int)">isPrintable</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html">EncodingInfo</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - a code point (0-0x10ffff)</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SieveEncodingInfo.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/TextSerializer.html
Index: TextSerializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class TextSerializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="TextSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class TextSerializer</H2>
<PRE>
java.lang.Object
|
+--<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">org.apache.xml.serialize.BaseMarkupSerializer</A>
|
+--<B>org.apache.xml.serialize.TextSerializer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></DD>
</DL>
<HR>
<DL>
<DT>public final class <B>TextSerializer</B><DT>extends <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DL>
<P>
Implements a text serializer supporting both DOM and SAX
serializing. For usage instructions see <A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A>.
<p>
If an output stream is used, the encoding is taken from the
output format (defaults to <tt>UTF-8</tt>). If a writer is
used, make sure the writer uses the same encoding (if applies)
as specified in the output format.
<p>
The serializer supports both DOM and SAX. DOM serializing is done
by calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)"><CODE>BaseMarkupSerializer.serialize(org.w3c.dom.Element)</CODE></A>
and SAX serializing is done by firing
SAX events and using the serializer as a document handler.
<p>
If an I/O exception occurs while serializing, the serializer
will not throw an exception directly, but only throw it
at the end of serializing (either DOM or SAX's <A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A>.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:52 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A
NAME="fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypePublicId">_docTypePublicId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypeSystemId">_docTypeSystemId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_format">_format</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_indenting">_indenting</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_prefixes">_prefixes</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_printer">_printer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started">_started</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#TextSerializer()">TextSerializer</A></B>()</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#characters(char[],
int, int)">characters</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
Receive
notification of character data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#characters(java.lang.String,
boolean)">characters</A></B>(java.lang.String text,
boolean unescaped)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#comment(char[],
int, int)">comment</A></B>(char[] chars,
int start,
int length)</CODE>
<BR>
Report an XML
comment anywhere in the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#comment(java.lang.String)">comment</A></B>(java.lang.String text)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected org.apache.xml.serialize.ElementState</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#content()">content</A></B>()</CODE>
<BR>
Must be called by
a method about to print any type of content.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String tagName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#endElementIO(java.lang.String)">endElementIO</A></B>(java.lang.String tagName)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#getEntityRef(int)">getEntityRef</A></B>(int ch)</CODE>
<BR>
Returns the
suitable entity reference for this character value,
or null if no such entity exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></B>(java.lang.String target,
java.lang.String code)</CODE>
<BR>
Receive
notification of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
<BR>
Called to
serialize a DOM element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#serializeNode(org.w3c.dom.Node)">serializeNode</A></B>(<A
HREF="../../../../org/w3c/dom/Node.html">Node</A> node)</CODE>
<BR>
Serialize the DOM
node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Specifies an
output format for this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#startDocument(java.lang.String)">startDocument</A></B>(java.lang.String rootTagName)</CODE>
<BR>
Called to
serialize the document's DOCTYPE by the root element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String tagName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> attrs)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attrs)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
</TABLE>
<A
NAME="methods_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asContentHandler()">asContentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDocumentHandler()">asDocumentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDOMSerializer()">asDOMSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(java.lang.String)">characters</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endCDATA()">endCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDocument()">endDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDTD()">endDTD</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endEntity(java.lang.String)">endEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endNonEscaping()">endNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPreserving()">endPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#enterElementState(java.lang.String,
java.lang.String, java.lang.String, boolean)">enterElementState</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)">externalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getElementState()">getElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getPrefix(java.lang.String)">getPrefix</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#isDocumentState()">isDocumentState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#leaveElementState()">leaveElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#prepare()">prepare</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printDoctypeURL(java.lang.String)">printDoctypeURL</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(int)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(java.lang.String)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(char[],
int, int, boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(java.lang.String,
boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstructionIO(java.lang.String,
java.lang.String)">processingInstructionIO</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#reset()">reset</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Document)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()">serializePreRoot</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#skippedEntity(java.lang.String)">skippedEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startCDATA()">startCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDocument()">startDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)">startDTD</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startEntity(java.lang.String)">startEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startNonEscaping()">startNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPreserving()">startPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="TextSerializer()"><!-- --></A><H3>
TextSerializer</H3>
<PRE>
public <B>TextSerializer</B>()</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setOutputFormat(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
setOutputFormat</H3>
<PRE>
public void <B>setOutputFormat</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies an output format for this serializer. It the
serializer has already been associated with an output format,
it will switch to the new format. This method should not be
called while the serializer is in the process of serializing
a document.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.apache.xml.serialize.Serializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The output format to use</DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attrs)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event for
every startElement event
(even when the element is empty). All of the element's content will be
reported, in order, before the corresponding endElement
event.</p>
<p>This event allows up to three name components for each
element:</p>
<ol>
<li>the Namespace URI;</li>
<li>the local name; and</li>
<li>the qualified (prefixed) name.</li>
</ol>
<p>Any or all of these may be provided, depending on the
values of the <var>http://xml.org/sax/features/namespaces</var>
and the <var>http://xml.org/sax/features/namespace-prefixes</var>
properties:</p>
<ul>
<li>the Namespace URI and local name are required when
the namespaces property is <var>true</var> (the default), and are
optional when the namespaces property is <var>false</var> (if one is
specified, both must be);</li>
<li>the qualified name is required when the namespace-prefixes property
is <var>true</var>, and is optional when the namespace-prefixes property
is <var>false</var> (the default).</li>
</ul>
<p>Note that the attribute list provided will contain only
attributes with explicit values (specified or defaulted):
#IMPLIED attributes will be omitted. The attribute list
will contain attributes used for Namespace declarations
(xmlns* attributes) only if the
<code>http://xml.org/sax/features/namespace-prefixes</code>
property is true (it is false by default, and support for a
true value is optional).</p><DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified name (with prefix),
or the
empty string if qualified names are not
available.<DD><CODE>atts</CODE> - The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event for every
endElement
event (even when the element is empty).</p>
<p>For information on the names, see startElement.</p><DD>Following copied
from interface: <CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified XML 1.0 name (with
prefix), or the
empty string if qualified names are not
available.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!--
--></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String tagName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> attrs)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
endElement() event for every startElement() event (even when the
element is empty). All of the element's content will be
reported, in order, before the corresponding endElement()
event.</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached. Note that the attribute list provided will
contain only attributes with explicit values (specified or
defaulted): #IMPLIED attributes will be omitted.</p><DD>Following copied
from interface: <CODE>org.xml.sax.DocumentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>atts</CODE> - The attributes attached to the element, if
any.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>DocumentHandler.endElement(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String tagName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></B></DD>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
startElement() event for every endElement() event (even when the
element is empty).</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached to the name.</p><DD>Following copied from interface:
<CODE>org.xml.sax.DocumentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="endElementIO(java.lang.String)"><!-- --></A><H3>
endElementIO</H3>
<PRE>
public void <B>endElementIO</B>(java.lang.String tagName)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="processingInstruction(java.lang.String, java.lang.String)"><!--
--></A><H3>
processingInstruction</H3>
<PRE>
public void <B>processingInstruction</B>(java.lang.String target,
java.lang.String code)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of a processing instruction.
<p>The Parser will invoke this method once for each processing
instruction found: note that processing instructions may occur
before or after the main document element.</p>
<p>A SAX parser must never report an XML declaration (XML 1.0,
section 2.8) or a text declaration (XML 1.0, section 4.3.1)
using this method.</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A></CODE> in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The processing instruction
target.<DD><CODE>data</CODE> - The processing instruction data, or null if
none was supplied. The data does not include any
whitespace separating it from the
target.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="comment(java.lang.String)"><!-- --></A><H3>
comment</H3>
<PRE>
public void <B>comment</B>(java.lang.String text)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(java.lang.String)">comment</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="comment(char[], int, int)"><!-- --></A><H3>
comment</H3>
<PRE>
public void <B>comment</B>(char[] chars,
int start,
int length)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></B></DD>
<DD>Report an XML comment anywhere in the document.
<p>This callback will be used for comments inside or outside the
document element, including comments in the external DTD
subset (if read). Comments in the DTD must be properly
nested inside start/endDTD and start/endEntity events (if
used).</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(char[],
int, int)">comment</A></CODE> in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ext.LexicalHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - An array holding the characters
in the comment.<DD><CODE>start</CODE> - The starting position in the
array.<DD><CODE>length</CODE> - The number of characters to use from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - The
application may raise an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="characters(char[], int, int)"><!-- --></A><H3>
characters</H3>
<PRE>
public void <B>characters</B>(char[] chars,
int start,
int length)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of character data.
<p>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity so that the Locator
provides useful information.</p>
<p>The application must not attempt to read from the array
outside of the specified range.</p>
<p>Note that some parsers will report whitespace in element
content using the <A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ignorableWhitespace</CODE></A>
method rather than this one (validating parsers <em>must</em>
do so).</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(char[],
int, int)">characters</A></CODE> in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters from the XML
document.<DD><CODE>start</CODE> - The start position in the
array.<DD><CODE>length</CODE> - The number of characters to read from the
array.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#ignorableWhitespace(char[],
int, int)"><CODE>ContentHandler.ignorableWhitespace(char[], int,
int)</CODE></A>,
<A HREF="../../../../org/xml/sax/Locator.html"><CODE>Locator</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="characters(java.lang.String, boolean)"><!-- --></A><H3>
characters</H3>
<PRE>
protected void <B>characters</B>(java.lang.String text,
boolean unescaped)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="startDocument(java.lang.String)"><!-- --></A><H3>
startDocument</H3>
<PRE>
protected void <B>startDocument</B>(java.lang.String rootTagName)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serialize the document's DOCTYPE by the root element.
<p>
This method will check if it has not been called before (<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started"><CODE>BaseMarkupSerializer._started</CODE></A>),
will serialize the document type declaration, and will serialize all
pre-root comments and PIs that were accumulated in the document
(see <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()"><CODE>BaseMarkupSerializer.serializePreRoot()</CODE></A>).
Pre-root will be serialized even if
this is not the first root element of the document.</DL>
<HR>
<A NAME="serializeElement(org.w3c.dom.Element)"><!-- --></A><H3>
serializeElement</H3>
<PRE>
protected void <B>serializeElement</B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serialize a DOM element. Equivalent to calling <A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement(java.lang.String, java.lang.String,
java.lang.String, org.xml.sax.Attributes)</CODE></A>, <A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A> and serializing everything
inbetween, but better optimized.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="serializeNode(org.w3c.dom.Node)"><!-- --></A><H3>
serializeNode</H3>
<PRE>
protected void <B>serializeNode</B>(<A
HREF="../../../../org/w3c/dom/Node.html">Node</A> node)
throws java.io.IOException</PRE>
<DL>
<DD>Serialize the DOM node. This method is unique to the Text
serializer.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeNode(org.w3c.dom.Node)">serializeNode</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - The node to serialize</DL>
</DD>
</DL>
<HR>
<A NAME="content()"><!-- --></A><H3>
content</H3>
<PRE>
protected org.apache.xml.serialize.ElementState <B>content</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></B></DD>
<DD>Must be called by a method about to print any type of content.
If the element was just opened, the opening tag is closed and
will be matched to a closing tag. Returns the current element
state with <tt>empty</tt> and <tt>afterElement</tt> set to false.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#content()">content</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Returns:</B><DD>The current element
state<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O exception
occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="getEntityRef(int)"><!-- --></A><H3>
getEntityRef</H3>
<PRE>
protected java.lang.String <B>getEntityRef</B>(int ch)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></B></DD>
<DD>Returns the suitable entity reference for this character value,
or null if no such entity exists. Calling this method with <tt>'&'</tt>
will return <tt>"&amp;"</tt>.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getEntityRef(int)">getEntityRef</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - Character
value<DT><B>Returns:</B><DD>Character entity name, or null</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="TextSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/XHTMLSerializer.html
Index: XHTMLSerializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class XHTMLSerializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XHTMLSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#fields_inherited_from_class_org.apache.xml.serialize.HTMLSerializer">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class XHTMLSerializer</H2>
<PRE>
java.lang.Object
|
+--<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">org.apache.xml.serialize.BaseMarkupSerializer</A>
|
+--<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html">org.apache.xml.serialize.HTMLSerializer</A>
|
+--<B>org.apache.xml.serialize.XHTMLSerializer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></DD>
</DL>
<HR>
<DL>
<DT>public final class <B>XHTMLSerializer</B><DT>extends <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html">HTMLSerializer</A></DL>
<P>
Implements an XHTML serializer supporting both DOM and SAX
pretty serializing. For usage instructions see either <A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html"><CODE>BaseMarkupSerializer</CODE></A>.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:53 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A
NAME="fields_inherited_from_class_org.apache.xml.serialize.HTMLSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html">HTMLSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#XHTMLNamespace">XHTMLNamespace</A></CODE></TD>
</TR>
</TABLE>
<A
NAME="fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypePublicId">_docTypePublicId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypeSystemId">_docTypeSystemId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_format">_format</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_indenting">_indenting</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_prefixes">_prefixes</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_printer">_printer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started">_started</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html#XHTMLSerializer()">XHTMLSerializer</A></B>()</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html#XHTMLSerializer(org.apache.xml.serialize.OutputFormat)">XHTMLSerializer</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html#XHTMLSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)">XHTMLSerializer</A></B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer that writes to the specified output
stream using the specified output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html#XHTMLSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)">XHTMLSerializer</A></B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer that writes to the specified writer
using the specified output format.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Specifies an
output format for this serializer.</TD>
</TR>
</TABLE>
<A
NAME="methods_inherited_from_class_org.apache.xml.serialize.HTMLSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html">HTMLSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#characters(char[],
int, int)">characters</A>, <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#characters(java.lang.String)">characters</A>,
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElement(java.lang.String)">endElement</A>,
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElement(java.lang.String,
java.lang.String, java.lang.String)">endElement</A>, <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#endElementIO(java.lang.String,
java.lang.String, java.lang.String)">endElementIO</A>, <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#escapeURI(java.lang.String)">escapeURI</A>,
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#getEntityRef(int)">getEntityRef</A>,
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A>,
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startDocument(java.lang.String)">startDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A>, <A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></CODE></TD>
</TR>
</TABLE>
<A
NAME="methods_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asContentHandler()">asContentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDocumentHandler()">asDocumentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDOMSerializer()">asDOMSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(char[],
int, int)">comment</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(java.lang.String)">comment</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#content()">content</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endCDATA()">endCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDocument()">endDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDTD()">endDTD</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endEntity(java.lang.String)">endEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endNonEscaping()">endNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPreserving()">endPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#enterElementState(java.lang.String,
java.lang.String, java.lang.String, boolean)">enterElementState</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)">externalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getElementState()">getElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getPrefix(java.lang.String)">getPrefix</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#isDocumentState()">isDocumentState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#leaveElementState()">leaveElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#prepare()">prepare</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printDoctypeURL(java.lang.String)">printDoctypeURL</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(int)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(java.lang.String)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(char[],
int, int, boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(java.lang.String,
boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstructionIO(java.lang.String,
java.lang.String)">processingInstructionIO</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#reset()">reset</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Document)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeNode(org.w3c.dom.Node)">serializeNode</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()">serializePreRoot</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#skippedEntity(java.lang.String)">skippedEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startCDATA()">startCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDocument()">startDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)">startDTD</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startEntity(java.lang.String)">startEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startNonEscaping()">startNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPreserving()">startPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XHTMLSerializer()"><!-- --></A><H3>
XHTMLSerializer</H3>
<PRE>
public <B>XHTMLSerializer</B>()</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<HR>
<A NAME="XHTMLSerializer(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
XHTMLSerializer</H3>
<PRE>
public <B>XHTMLSerializer</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<HR>
<A NAME="XHTMLSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
XHTMLSerializer</H3>
<PRE>
public <B>XHTMLSerializer</B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer that writes to the specified writer
using the specified output format. If <tt>format</tt> is null,
will use a default output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - The writer to
use<DD><CODE>format</CODE> - The output format to use, null for the default</DL>
</DD>
</DL>
<HR>
<A NAME="XHTMLSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
XHTMLSerializer</H3>
<PRE>
public <B>XHTMLSerializer</B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer that writes to the specified output
stream using the specified output format. If <tt>format</tt>
is null, will use a default output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>output</CODE> - The output stream to
use<DD><CODE>format</CODE> - The output format to use, null for the default</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setOutputFormat(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
setOutputFormat</H3>
<PRE>
public void <B>setOutputFormat</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies an output format for this serializer. It the
serializer has already been associated with an output format,
it will switch to the new format. This method should not be
called while the serializer is in the process of serializing
a document.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html">HTMLSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.apache.xml.serialize.Serializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The output format to use</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html"><B>PREV
CLASS</B></A>
<A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html"><B>NEXT
CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XHTMLSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#fields_inherited_from_class_org.apache.xml.serialize.HTMLSerializer">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/XMLSerializer.html
Index: XMLSerializer.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:18:06 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Class XMLSerializer
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xml.serialize</FONT>
<BR>
Class XMLSerializer</H2>
<PRE>
java.lang.Object
|
+--<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">org.apache.xml.serialize.BaseMarkupSerializer</A>
|
+--<B>org.apache.xml.serialize.XMLSerializer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>, <A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>, <A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>, <A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>, <A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></DD>
</DL>
<HR>
<DL>
<DT>public final class <B>XMLSerializer</B><DT>extends <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></DL>
<P>
Implements an XML serializer supporting both DOM and SAX pretty
serializing. For usage instructions see <A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A>.
<p>
If an output stream is used, the encoding is taken from the
output format (defaults to <tt>UTF-8</tt>). If a writer is
used, make sure the writer uses the same encoding (if applies)
as specified in the output format.
<p>
The serializer supports both DOM and SAX. DOM serializing is done
by calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)"><CODE>BaseMarkupSerializer.serialize(org.w3c.dom.Element)</CODE></A>
and SAX serializing is done by firing
SAX events and using the serializer as a document handler.
<p>
If an I/O exception occurs while serializing, the serializer
will not throw an exception directly, but only throw it
at the end of serializing (either DOM or SAX's <A
HREF="../../../../org/xml/sax/DocumentHandler.html#endDocument()"><CODE>DocumentHandler.endDocument()</CODE></A>.
<p>
For elements that are not specified as whitespace preserving,
the serializer will potentially break long text lines at space
boundaries, indent lines, and serialize elements on separate
lines. Line terminators will be regarded as spaces, and
spaces at beginning of line will be stripped.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.1 $ $Date: 2001/05/22 22:06:53 $</DD>
<DT><B>See Also: </B><DD><A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><CODE>Serializer</CODE></A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A
NAME="fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypePublicId">_docTypePublicId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_docTypeSystemId">_docTypeSystemId</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_format">_format</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_indenting">_indenting</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_prefixes">_prefixes</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_printer">_printer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started">_started</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#XMLSerializer()">XMLSerializer</A></B>()</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#XMLSerializer(org.apache.xml.serialize.OutputFormat)">XMLSerializer</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#XMLSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)">XMLSerializer</A></B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer that writes to the specified output
stream using the specified output format.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#XMLSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)">XMLSerializer</A></B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Constructs a new
serializer that writes to the specified writer
using the specified output format.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#endElement(java.lang.String)">endElement</A></B>(java.lang.String tagName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)">endElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)</CODE>
<BR>
Receive
notification of the end of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#endElementIO(java.lang.String,
java.lang.String,
java.lang.String)">endElementIO</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#getEntityRef(int)">getEntityRef</A></B>(int ch)</CODE>
<BR>
Returns the
suitable entity reference for this character value,
or null if no such entity exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)</CODE>
<BR>
Called to
serialize a DOM element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</CODE>
<BR>
Specifies an
output format for this serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#startDocument(java.lang.String)">startDocument</A></B>(java.lang.String rootTagName)</CODE>
<BR>
Called to
serialize the document's DOCTYPE by the root element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#startElement(java.lang.String,
org.xml.sax.AttributeList)">startElement</A></B>(java.lang.String tagName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> attrs)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)">startElement</A></B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attrs)</CODE>
<BR>
Receive
notification of the beginning of an element.</TD>
</TR>
</TABLE>
<A
NAME="methods_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer"><!--
--></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asContentHandler()">asContentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDocumentHandler()">asDocumentHandler</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#asDOMSerializer()">asDOMSerializer</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#attributeDecl(java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
java.lang.String)">attributeDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(char[],
int, int)">characters</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#characters(java.lang.String)">characters</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(char[],
int, int)">comment</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#comment(java.lang.String)">comment</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#content()">content</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#elementDecl(java.lang.String,
java.lang.String)">elementDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endCDATA()">endCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDocument()">endDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endDTD()">endDTD</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endEntity(java.lang.String)">endEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endNonEscaping()">endNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#endPreserving()">endPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#enterElementState(java.lang.String,
java.lang.String, java.lang.String, boolean)">enterElementState</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#externalEntityDecl(java.lang.String,
java.lang.String, java.lang.String)">externalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getElementState()">getElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getPrefix(java.lang.String)">getPrefix</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#ignorableWhitespace(char[],
int, int)">ignorableWhitespace</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#internalEntityDecl(java.lang.String,
java.lang.String)">internalEntityDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#isDocumentState()">isDocumentState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#leaveElementState()">leaveElementState</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#notationDecl(java.lang.String,
java.lang.String, java.lang.String)">notationDecl</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#prepare()">prepare</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printDoctypeURL(java.lang.String)">printDoctypeURL</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(int)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printEscaped(java.lang.String)">printEscaped</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(char[],
int, int, boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#printText(java.lang.String,
boolean, boolean)">printText</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstruction(java.lang.String,
java.lang.String)">processingInstruction</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#processingInstructionIO(java.lang.String,
java.lang.String)">processingInstructionIO</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#reset()">reset</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Document)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.DocumentFragment)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serialize(org.w3c.dom.Element)">serialize</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeNode(org.w3c.dom.Node)">serializeNode</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()">serializePreRoot</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)">setOutputByteStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)">setOutputCharStream</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#skippedEntity(java.lang.String)">skippedEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startCDATA()">startCDATA</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDocument()">startDocument</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startDTD(java.lang.String,
java.lang.String, java.lang.String)">startDTD</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startEntity(java.lang.String)">startEntity</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startNonEscaping()">startNonEscaping</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPrefixMapping(java.lang.String,
java.lang.String)">startPrefixMapping</A>, <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#startPreserving()">startPreserving</A>,
<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#unparsedEntityDecl(java.lang.String,
java.lang.String, java.lang.String,
java.lang.String)">unparsedEntityDecl</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="XMLSerializer()"><!-- --></A><H3>
XMLSerializer</H3>
<PRE>
public <B>XMLSerializer</B>()</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<HR>
<A NAME="XMLSerializer(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
XMLSerializer</H3>
<PRE>
public <B>XMLSerializer</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer. The serializer cannot be used without
calling <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputCharStream(java.io.Writer)"><CODE>BaseMarkupSerializer.setOutputCharStream(java.io.Writer)</CODE></A>
or <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputByteStream(java.io.OutputStream)"><CODE>BaseMarkupSerializer.setOutputByteStream(java.io.OutputStream)</CODE></A>
first.</DL>
<HR>
<A NAME="XMLSerializer(java.io.Writer,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
XMLSerializer</H3>
<PRE>
public <B>XMLSerializer</B>(java.io.Writer writer,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer that writes to the specified writer
using the specified output format. If <tt>format</tt> is null,
will use a default output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - The writer to
use<DD><CODE>format</CODE> - The output format to use, null for the default</DL>
</DD>
</DL>
<HR>
<A NAME="XMLSerializer(java.io.OutputStream,
org.apache.xml.serialize.OutputFormat)"><!-- --></A><H3>
XMLSerializer</H3>
<PRE>
public <B>XMLSerializer</B>(java.io.OutputStream output,
<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD>Constructs a new serializer that writes to the specified output
stream using the specified output format. If <tt>format</tt>
is null, will use a default output format.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>output</CODE> - The output stream to
use<DD><CODE>format</CODE> - The output format to use, null for the default</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setOutputFormat(org.apache.xml.serialize.OutputFormat)"><!--
--></A><H3>
setOutputFormat</H3>
<PRE>
public void <B>setOutputFormat</B>(<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html">OutputFormat</A> format)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A></CODE></B></DD>
<DD>Specifies an output format for this serializer. It the
serializer has already been associated with an output format,
it will switch to the new format. This method should not be
called while the serializer is in the process of serializing
a document.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#setOutputFormat(org.apache.xml.serialize.OutputFormat)">setOutputFormat</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from interface:
<CODE>org.apache.xml.serialize.Serializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The output format to use</DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
<A
HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> attrs)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement</CODE></A> event for
every startElement event
(even when the element is empty). All of the element's content will be
reported, in order, before the corresponding endElement
event.</p>
<p>This event allows up to three name components for each
element:</p>
<ol>
<li>the Namespace URI;</li>
<li>the local name; and</li>
<li>the qualified (prefixed) name.</li>
</ol>
<p>Any or all of these may be provided, depending on the
values of the <var>http://xml.org/sax/features/namespaces</var>
and the <var>http://xml.org/sax/features/namespace-prefixes</var>
properties:</p>
<ul>
<li>the Namespace URI and local name are required when
the namespaces property is <var>true</var> (the default), and are
optional when the namespaces property is <var>false</var> (if one is
specified, both must be);</li>
<li>the qualified name is required when the namespace-prefixes property
is <var>true</var>, and is optional when the namespace-prefixes property
is <var>false</var> (the default).</li>
</ul>
<p>Note that the attribute list provided will contain only
attributes with explicit values (specified or defaulted):
#IMPLIED attributes will be omitted. The attribute list
will contain attributes used for Namespace declarations
(xmlns* attributes) only if the
<code>http://xml.org/sax/features/namespace-prefixes</code>
property is true (it is false by default, and support for a
true value is optional).</p><DD>Following copied from interface:
<CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified name (with prefix),
or the
empty string if qualified names are not
available.<DD><CODE>atts</CODE> - The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/ContentHandler.html#endElement(java.lang.String,
java.lang.String,
java.lang.String)"><CODE>ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/Attributes.html"><CODE>Attributes</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></B></DD>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
<A
HREF="../../../../org/xml/sax/ContentHandler.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement</CODE></A> event for every
endElement
event (even when the element is empty).</p>
<p>For information on the names, see startElement.</p><DD>Following copied
from interface: <CODE>org.xml.sax.ContentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The Namespace URI, or the empty
string if the
element has no Namespace URI or if Namespace
processing is not being performed.<DD><CODE>localName</CODE> - The
local name (without prefix), or the
empty string if Namespace processing is not being
performed.<DD><CODE>qName</CODE> - The qualified XML 1.0 name (with
prefix), or the
empty string if qualified names are not
available.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="endElementIO(java.lang.String, java.lang.String,
java.lang.String)"><!-- --></A><H3>
endElementIO</H3>
<PRE>
public void <B>endElementIO</B>(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
throws java.io.IOException</PRE>
<DL>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.AttributeList)"><!--
--></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(java.lang.String tagName,
<A
HREF="../../../../org/xml/sax/AttributeList.html">AttributeList</A> attrs)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></B></DD>
<DD>Receive notification of the beginning of an element.
<p>The Parser will invoke this method at the beginning of every
element in the XML document; there will be a corresponding
endElement() event for every startElement() event (even when the
element is empty). All of the element's content will be
reported, in order, before the corresponding endElement()
event.</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached. Note that the attribute list provided will
contain only attributes with explicit values (specified or
defaulted): #IMPLIED attributes will be omitted.</p><DD>Following copied
from interface: <CODE>org.xml.sax.DocumentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name.<DD><CODE>atts</CODE> - The attributes attached to the element, if
any.<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.<DT><B>See Also: </B><DD><A
HREF="../../../../org/xml/sax/DocumentHandler.html#endElement(java.lang.String)"><CODE>DocumentHandler.endElement(java.lang.String)</CODE></A>,
<A
HREF="../../../../org/xml/sax/AttributeList.html"><CODE>AttributeList</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>(java.lang.String tagName)
throws <A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A></CODE></B></DD>
<DD>Receive notification of the end of an element.
<p>The SAX parser will invoke this method at the end of every
element in the XML document; there will be a corresponding
startElement() event for every endElement() event (even when the
element is empty).</p>
<p>If the element name has a namespace prefix, the prefix will
still be attached to the name.</p><DD>Following copied from interface:
<CODE>org.xml.sax.DocumentHandler</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The element type
name<DT><B>Throws:</B><DD><CODE><A
HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></CODE> - Any
SAX exception, possibly
wrapping another exception.</DL>
</DD>
</DL>
<HR>
<A NAME="startDocument(java.lang.String)"><!-- --></A><H3>
startDocument</H3>
<PRE>
protected void <B>startDocument</B>(java.lang.String rootTagName)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serialize the document's DOCTYPE by the root element.
The document type declaration must name the root element,
but the root element is only known when that element is serialized,
and not at the start of the document.
<p>
This method will check if it has not been called before (<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#_started"><CODE>BaseMarkupSerializer._started</CODE></A>),
will serialize the document type declaration, and will serialize all
pre-root comments and PIs that were accumulated in the document
(see <A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializePreRoot()"><CODE>BaseMarkupSerializer.serializePreRoot()</CODE></A>).
Pre-root will be serialized even if
this is not the first root element of the document.</DL>
<HR>
<A NAME="serializeElement(org.w3c.dom.Element)"><!-- --></A><H3>
serializeElement</H3>
<PRE>
protected void <B>serializeElement</B>(<A
HREF="../../../../org/w3c/dom/Element.html">Element</A> elem)
throws java.io.IOException</PRE>
<DL>
<DD>Called to serialize a DOM element. Equivalent to calling <A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#startElement(java.lang.String,
java.lang.String, java.lang.String,
org.xml.sax.Attributes)"><CODE>startElement(java.lang.String, java.lang.String,
java.lang.String, org.xml.sax.Attributes)</CODE></A>, <A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html#endElement(java.lang.String,
java.lang.String, java.lang.String)"><CODE>endElement(java.lang.String,
java.lang.String, java.lang.String)</CODE></A> and serializing everything
inbetween, but better optimized.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#serializeElement(org.w3c.dom.Element)">serializeElement</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - The element to
serialize<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - An I/O
exception occured while
serializing</DL>
</DD>
</DL>
<HR>
<A NAME="getEntityRef(int)"><!-- --></A><H3>
getEntityRef</H3>
<PRE>
protected java.lang.String <B>getEntityRef</B>(int ch)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></B></DD>
<DD>Returns the suitable entity reference for this character value,
or null if no such entity exists. Calling this method with <tt>'&'</tt>
will return <tt>"&amp;"</tt>.<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html#getEntityRef(int)">getEntityRef</A></CODE>
in class <CODE><A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html">BaseMarkupSerializer</A></CODE></DL>
</DD>
<DD>Following copied from class:
<CODE>org.apache.xml.serialize.BaseMarkupSerializer</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ch</CODE> - Character
value<DT><B>Returns:</B><DD>Character entity name, or null</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html"><B>PREV
CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLSerializer.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A
HREF="#fields_inherited_from_class_org.apache.xml.serialize.BaseMarkupSerializer">FIELD</A> | <A
HREF="#constructor_summary">CONSTR</A> | <A
HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A
HREF="#constructor_detail">CONSTR</A> | <A
HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/package-frame.html
Index: package-frame.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.apache.xml.serialize
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../../../org/apache/xml/serialize/package-summary.html"
TARGET="classFrame">org.apache.xml.serialize</A></FONT>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Interfaces</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="DOMSerializer.html" TARGET="classFrame"><I>DOMSerializer</I></A>
<BR>
<A HREF="Serializer.html"
TARGET="classFrame"><I>Serializer</I></A></FONT></TD>
</TR>
</TABLE>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="BaseMarkupSerializer.html"
TARGET="classFrame">BaseMarkupSerializer</A>
<BR>
<A HREF="EncodingInfo.html" TARGET="classFrame">EncodingInfo</A>
<BR>
<A HREF="HTMLdtd.html" TARGET="classFrame">HTMLdtd</A>
<BR>
<A HREF="HTMLSerializer.html" TARGET="classFrame">HTMLSerializer</A>
<BR>
<A HREF="LineSeparator.html" TARGET="classFrame">LineSeparator</A>
<BR>
<A HREF="Method.html" TARGET="classFrame">Method</A>
<BR>
<A HREF="OutputFormat.html" TARGET="classFrame">OutputFormat</A>
<BR>
<A HREF="OutputFormat.Defaults.html"
TARGET="classFrame">OutputFormat.Defaults</A>
<BR>
<A HREF="OutputFormat.DTD.html" TARGET="classFrame">OutputFormat.DTD</A>
<BR>
<A HREF="Printer.html" TARGET="classFrame">Printer</A>
<BR>
<A HREF="SerializerFactory.html" TARGET="classFrame">SerializerFactory</A>
<BR>
<A HREF="SieveEncodingInfo.html" TARGET="classFrame">SieveEncodingInfo</A>
<BR>
<A HREF="TextSerializer.html" TARGET="classFrame">TextSerializer</A>
<BR>
<A HREF="XHTMLSerializer.html" TARGET="classFrame">XHTMLSerializer</A>
<BR>
<A HREF="XMLSerializer.html" TARGET="classFrame">XMLSerializer</A></FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/package-summary.html
Index: package-summary.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: Package org.apache.xml.serialize
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xerces/parsers/package-summary.html"><B>PREV
PACKAGE</B></A>
<A HREF="../../../../org/w3c/dom/package-summary.html"><B>NEXT
PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<H2>
Package org.apache.xml.serialize
</H2>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Interface Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="DOMSerializer.html"><I>DOMSerializer</I></A></B></TD>
<TD>Interface for a DOM serializer implementation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Serializer.html"><I>Serializer</I></A></B></TD>
<TD>Interface for a DOM serializer implementation, factory for DOM and SAX
serializers, and static methods for serializing DOM documents.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="BaseMarkupSerializer.html">BaseMarkupSerializer</A></B></TD>
<TD>Base class for a serializer supporting both DOM and SAX pretty
serializing of XML/HTML/XHTML documents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="EncodingInfo.html">EncodingInfo</A></B></TD>
<TD>This class represents an encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="HTMLdtd.html">HTMLdtd</A></B></TD>
<TD>Utility class for accessing information specific to HTML documents.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="HTMLSerializer.html">HTMLSerializer</A></B></TD>
<TD>Implements an HTML/XHTML serializer supporting both DOM and SAX
pretty serializing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="LineSeparator.html">LineSeparator</A></B></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Method.html">Method</A></B></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="OutputFormat.html">OutputFormat</A></B></TD>
<TD>Specifies an output format to control the serializer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="OutputFormat.Defaults.html">OutputFormat.Defaults</A></B></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="OutputFormat.DTD.html">OutputFormat.DTD</A></B></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Printer.html">Printer</A></B></TD>
<TD>The printer is responsible for sending text to the output stream
or writer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="SerializerFactory.html">SerializerFactory</A></B></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A
HREF="SieveEncodingInfo.html">SieveEncodingInfo</A></B></TD>
<TD>This class represents an encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="TextSerializer.html">TextSerializer</A></B></TD>
<TD>Implements a text serializer supporting both DOM and SAX
serializing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="XHTMLSerializer.html">XHTMLSerializer</A></B></TD>
<TD>Implements an XHTML serializer supporting both DOM and SAX
pretty serializing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="XMLSerializer.html">XMLSerializer</A></B></TD>
<TD>Implements an XML serializer supporting both DOM and SAX pretty
serializing.</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-tree.html"><FONT
CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xerces/parsers/package-summary.html"><B>PREV
PACKAGE</B></A>
<A HREF="../../../../org/w3c/dom/package-summary.html"><B>NEXT
PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
1.1
xml-site/targets/xerces-j/apiDocs/org/apache/xml/serialize/package-tree.html
Index: package-tree.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue May 22 11:17:57 EDT 2001 -->
<TITLE>
Xerces 1.4.0 API: org.apache.xml.serialize Class Hierarchy
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"
TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xerces/parsers/package-tree.html"><B>PREV</B></A>
<A
HREF="../../../../org/w3c/dom/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
Hierarchy For Package org.apache.xml.serialize
</H2>
</CENTER>
<DL>
<DT><B>Package Hierarchies: </B><DD><A
HREF="../../../../overview-tree.html">All Packages</A></DL>
<HR>
<H2>
Class Hierarchy
</H2>
<UL>
<LI TYPE="circle">class java.lang.Object<UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/BaseMarkupSerializer.html"><B>BaseMarkupSerializer</B></A>
(implements org.xml.sax.<A
HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A>,
org.xml.sax.ext.<A
HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A>,
org.xml.sax.<A
HREF="../../../../org/xml/sax/DocumentHandler.html">DocumentHandler</A>,
org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html">DOMSerializer</A>,
org.xml.sax.<A HREF="../../../../org/xml/sax/DTDHandler.html">DTDHandler</A>,
org.xml.sax.ext.<A
HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A>,
org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/Serializer.html">Serializer</A>)
<UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/HTMLSerializer.html"><B>HTMLSerializer</B></A><UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/XHTMLSerializer.html"><B>XHTMLSerializer</B></A></UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/TextSerializer.html"><B>TextSerializer</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/XMLSerializer.html"><B>XMLSerializer</B></A></UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/EncodingInfo.html"><B>EncodingInfo</B></A><UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/SieveEncodingInfo.html"><B>SieveEncodingInfo</B></A></UL>
<LI TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/HTMLdtd.html"><B>HTMLdtd</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/LineSeparator.html"><B>LineSeparator</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/Method.html"><B>Method</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.html"><B>OutputFormat</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.Defaults.html"><B>OutputFormat.Defaults</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/OutputFormat.DTD.html"><B>OutputFormat.DTD</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/Printer.html"><B>Printer</B></A><LI
TYPE="circle">class org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/SerializerFactory.html"><B>SerializerFactory</B></A></UL>
</UL>
<H2>
Interface Hierarchy
</H2>
<UL>
<LI TYPE="circle">interface org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/DOMSerializer.html"><B>DOMSerializer</B></A><LI
TYPE="circle">interface org.apache.xml.serialize.<A
HREF="../../../../org/apache/xml/serialize/Serializer.html"><B>Serializer</B></A></UL>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../overview-summary.html"><FONT
CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="package-summary.html"><FONT
CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT
CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT
CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../deprecated-list.html"><FONT
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../index-files/index-1.html"><FONT
CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A
HREF="../../../../help-doc.html"><FONT
CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Xerces 1.4.0</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A
HREF="../../../../org/apache/xerces/parsers/package-tree.html"><B>PREV</B></A>
<A
HREF="../../../../org/w3c/dom/package-tree.html"><B>NEXT</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="package-tree.html" TARGET="_top"><B>NO
FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]