| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:57 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class SerializerBase
|
| </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="class-use/SerializerBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-all.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>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xml/serializer/OutputPropertyUtils.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/serializer/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="SerializerBase.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | 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.serializer</FONT>
|
| <BR>
|
| Class SerializerBase</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xml.serializer.SerializerBase</B>
|
| </PRE>
|
| <DL>
|
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xml/serializer/ToSAXHandler.html">ToSAXHandler</A>, <A HREF="../../../../org/apache/xml/serializer/ToStream.html">ToStream</A>, <A HREF="../../../../org/apache/xml/serializer/ToUnknownStream.html">ToUnknownStream</A></DD>
|
| </DL>
|
| <HR>
|
| <DL>
|
| <DT>public abstract class <B>SerializerBase</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A>, org.apache.xml.serializer.SerializerConstants</DL>
|
|
|
| <P>
|
| This class acts as a base class for the XML "serializers" |
| and the stream serializers. |
| It contains a number of common fields and methods.
|
| <P>
|
| <DL>
|
| <DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </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/serializer/SerializerBase.html#PKG_NAME">PKG_NAME</A></B></CODE>
|
|
|
| <BR>
|
| The name of the package that this class is in.</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/serializer/SerializerBase.html#PKG_PATH">PKG_PATH</A></B></CODE>
|
|
|
| <BR>
|
| The same as the name of the package that this class is in |
| except that '.' are replaced with '/'.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== 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/serializer/SerializerBase.html#addAttribute(java.lang.String, java.lang.String)">addAttribute</A></B>(java.lang.String name, |
| java.lang.String value)</CODE>
|
|
|
| <BR>
|
| Adds the given attribute to the set of collected attributes, |
| but only if there is a currently open 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/serializer/SerializerBase.html#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">addAttribute</A></B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String rawName, |
| java.lang.String type, |
| java.lang.String value)</CODE>
|
|
|
| <BR>
|
| This method adds an attribute the the current element, |
| but should not be used for an xsl:attribute child.</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/serializer/SerializerBase.html#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)">addAttribute</A></B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String rawName, |
| java.lang.String type, |
| java.lang.String value, |
| boolean XSLAttribute)</CODE>
|
|
|
| <BR>
|
| Adds the given attribute to the set of collected attributes , but only if |
| there is a currently open element.</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/serializer/SerializerBase.html#addAttributeAlways(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)">addAttributeAlways</A></B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String rawName, |
| java.lang.String type, |
| java.lang.String value, |
| boolean XSLAttribute)</CODE>
|
|
|
| <BR>
|
| Adds the given attribute to the set of attributes, even if there is |
| no currently open 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/serializer/SerializerBase.html#addAttributes(org.xml.sax.Attributes)">addAttributes</A></B>(<A HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
|
|
|
| <BR>
|
| Add the given attributes to the currently collected ones.</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/serializer/SerializerBase.html#addXSLAttribute(java.lang.String, java.lang.String, java.lang.String)">addXSLAttribute</A></B>(java.lang.String name, |
| java.lang.String value, |
| java.lang.String uri)</CODE>
|
|
|
| <BR>
|
| Adds the given xsl:attribute to the set of collected attributes, |
| but only if there is a currently open element.</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/serializer/SerializerBase.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> java.lang.Object</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/SerializerBase.html#asDOM3Serializer()">asDOM3Serializer</A></B>()</CODE>
|
|
|
| <BR>
|
| Return a <A HREF="../../../../org/apache/xml/serializer/DOM3Serializer.html"><CODE>DOM3Serializer</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/serializer/DOMSerializer.html">DOMSerializer</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/SerializerBase.html#asDOMSerializer()">asDOMSerializer</A></B>()</CODE>
|
|
|
| <BR>
|
| Return a <A HREF="../../../../org/apache/xml/serializer/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/serializer/SerializerBase.html#characters(org.w3c.dom.Node)">characters</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> node)</CODE>
|
|
|
| <BR>
|
| This method gets the nodes value as a String and uses that String as if |
| it were an input character notification.</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/serializer/SerializerBase.html#close()">close</A></B>()</CODE>
|
|
|
| <BR>
|
| Flush and close the underlying java.io.Writer.</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/serializer/SerializerBase.html#comment(java.lang.String)">comment</A></B>(java.lang.String data)</CODE>
|
|
|
| <BR>
|
| Receive notification of a comment.</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/serializer/SerializerBase.html#documentIsEmpty()">documentIsEmpty</A></B>()</CODE>
|
|
|
| <BR>
|
| Return true if nothing has been sent to this result tree yet.</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/serializer/SerializerBase.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/serializer/SerializerBase.html#entityReference(java.lang.String)">entityReference</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Entity reference event.</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/serializer/SerializerBase.html#error(org.xml.sax.SAXParseException)">error</A></B>(<A HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exc)</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/serializer/SerializerBase.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A></B>(<A HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exc)</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/serializer/SerializerBase.html#fireEndEntity(java.lang.String)">fireEndEntity</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| To fire off end entity trace event</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/serializer/SerializerBase.html#getDoctypePublic()">getDoctypePublic</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns the previously set value of the value to be used as the public |
| identifier in the document type declaration (DTD).</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/serializer/SerializerBase.html#getDoctypeSystem()">getDoctypeSystem</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns the previously set value of the value to be used |
| as the system identifier in the document type declaration (DTD).</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/serializer/SerializerBase.html#getEncoding()">getEncoding</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns the character encoding to be used in the output document.</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/serializer/SerializerBase.html#getIndent()">getIndent</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/serializer/SerializerBase.html#getIndentAmount()">getIndentAmount</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/serializer/SerializerBase.html#getMediaType()">getMediaType</A></B>()</CODE>
|
|
|
| <BR>
|
| Gets the mediatype the media-type or MIME type associated with the output |
| document.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/serializer/NamespaceMappings.html">NamespaceMappings</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/SerializerBase.html#getNamespaceMappings()">getNamespaceMappings</A></B>()</CODE>
|
|
|
| <BR>
|
| Some users of the serializer may need the current namespace mappings</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/serializer/SerializerBase.html#getNamespaceURI(java.lang.String, boolean)">getNamespaceURI</A></B>(java.lang.String qname, |
| boolean isElement)</CODE>
|
|
|
| <BR>
|
| Returns the URI of an element or attribute.</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/serializer/SerializerBase.html#getNamespaceURIFromPrefix(java.lang.String)">getNamespaceURIFromPrefix</A></B>(java.lang.String prefix)</CODE>
|
|
|
| <BR>
|
| Returns the URI of prefix (if any)</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/serializer/SerializerBase.html#getOmitXMLDeclaration()">getOmitXMLDeclaration</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/serializer/SerializerBase.html#getOutputProperty(java.lang.String)">getOutputProperty</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Get the value of an output property, |
| the explicit value, if any, otherwise the |
| default value, if any, otherwise 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/serializer/SerializerBase.html#getOutputPropertyDefault(java.lang.String)">getOutputPropertyDefault</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Get the default value of an xsl:output property, |
| which would be null only if no default value exists |
| for the property.</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/serializer/SerializerBase.html#getOutputPropertyNonDefault(java.lang.String)">getOutputPropertyNonDefault</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Get the value of an output property, |
| not the default value.</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/serializer/SerializerBase.html#getPrefix(java.lang.String)">getPrefix</A></B>(java.lang.String namespaceURI)</CODE>
|
|
|
| <BR>
|
| Returns the prefix currently pointing to the given URI (if any).</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/serializer/SerializerBase.html#getStandalone()">getStandalone</A></B>()</CODE>
|
|
|
| <BR>
|
| Gets the XSL standalone attribute</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/SerializerBase.html#getTransformer()">getTransformer</A></B>()</CODE>
|
|
|
| <BR>
|
| Gets the transformer associated with this serializer</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/serializer/SerializerBase.html#getVersion()">getVersion</A></B>()</CODE>
|
|
|
| <BR>
|
| Gets the version of the 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/serializer/SerializerBase.html#namespaceAfterStartElement(java.lang.String, java.lang.String)">namespaceAfterStartElement</A></B>(java.lang.String uri, |
| java.lang.String prefix)</CODE>
|
|
|
| <BR>
|
| This method is used when a prefix/uri namespace mapping |
| is indicated after the element was started with a |
| startElement() and before and endElement().</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/serializer/SerializerBase.html#notationDecl(java.lang.String, java.lang.String, java.lang.String)">notationDecl</A></B>(java.lang.String arg0, |
| java.lang.String arg1, |
| java.lang.String arg2)</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/serializer/SerializerBase.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/serializer/SerializerBase.html#setDoctype(java.lang.String, java.lang.String)">setDoctype</A></B>(java.lang.String doctypeSystem, |
| java.lang.String doctypePublic)</CODE>
|
|
|
| <BR>
|
| Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties</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/serializer/SerializerBase.html#setDoctypePublic(java.lang.String)">setDoctypePublic</A></B>(java.lang.String doctypePublic)</CODE>
|
|
|
| <BR>
|
| Set the value coming from the xsl:output doctype-public stylesheet attribute.</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/serializer/SerializerBase.html#setDoctypeSystem(java.lang.String)">setDoctypeSystem</A></B>(java.lang.String doctypeSystem)</CODE>
|
|
|
| <BR>
|
| Set the value coming from the xsl:output doctype-system stylesheet attribute.</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/serializer/SerializerBase.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/serializer/SerializerBase.html#setDTDEntityExpansion(boolean)">setDTDEntityExpansion</A></B>(boolean expand)</CODE>
|
|
|
| <BR>
|
| If set to false the serializer does not expand DTD entities, |
| but leaves them as is, the default value is true.</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/serializer/SerializerBase.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
|
|
|
| <BR>
|
| Sets the character encoding coming from the xsl:output encoding stylesheet attribute.</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/serializer/SerializerBase.html#setIndent(boolean)">setIndent</A></B>(boolean doIndent)</CODE>
|
|
|
| <BR>
|
| Sets the value coming from the xsl:output indent stylesheet |
| attribute.</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/serializer/SerializerBase.html#setIndentAmount(int)">setIndentAmount</A></B>(int m_indentAmount)</CODE>
|
|
|
| <BR>
|
| Sets the indentation amount.</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/serializer/SerializerBase.html#setMediaType(java.lang.String)">setMediaType</A></B>(java.lang.String mediaType)</CODE>
|
|
|
| <BR>
|
| Sets the value coming from the xsl:output media-type stylesheet attribute.</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/serializer/SerializerBase.html#setNamespaceMappings(org.apache.xml.serializer.NamespaceMappings)">setNamespaceMappings</A></B>(<A HREF="../../../../org/apache/xml/serializer/NamespaceMappings.html">NamespaceMappings</A> mappings)</CODE>
|
|
|
| <BR>
|
| Used only by TransformerSnapshotImpl to restore the serialization |
| to a previous state.</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/serializer/SerializerBase.html#setOmitXMLDeclaration(boolean)">setOmitXMLDeclaration</A></B>(boolean b)</CODE>
|
|
|
| <BR>
|
| Sets the value coming from the xsl:output omit-xml-declaration stylesheet attribute</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/serializer/SerializerBase.html#setOutputProperty(java.lang.String, java.lang.String)">setOutputProperty</A></B>(java.lang.String name, |
| java.lang.String val)</CODE>
|
|
|
| <BR>
|
| Set the value for the output property, typically from |
| an xsl:output element, but this does not change what |
| the default value is.</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/serializer/SerializerBase.html#setOutputPropertyDefault(java.lang.String, java.lang.String)">setOutputPropertyDefault</A></B>(java.lang.String name, |
| java.lang.String val)</CODE>
|
|
|
| <BR>
|
| Set the default value for an output property, but this does |
| not impact any explicitly set value.</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/serializer/SerializerBase.html#setSourceLocator(javax.xml.transform.SourceLocator)">setSourceLocator</A></B>(<A HREF="../../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> locator)</CODE>
|
|
|
| <BR>
|
| This method is used to set the source locator, which might be used to |
| generated an error message.</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/serializer/SerializerBase.html#setStandalone(java.lang.String)">setStandalone</A></B>(java.lang.String standalone)</CODE>
|
|
|
| <BR>
|
| Sets the value coming from the xsl:output standalone stylesheet attribute.</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/serializer/SerializerBase.html#setTransformer(javax.xml.transform.Transformer)">setTransformer</A></B>(<A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A> t)</CODE>
|
|
|
| <BR>
|
| Sets the transformer associated with 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/serializer/SerializerBase.html#setVersion(java.lang.String)">setVersion</A></B>(java.lang.String version)</CODE>
|
|
|
| <BR>
|
| Sets the value coming from the xsl:output version attribute.</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/serializer/SerializerBase.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/serializer/SerializerBase.html#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">unparsedEntityDecl</A></B>(java.lang.String arg0, |
| java.lang.String arg1, |
| java.lang.String arg2, |
| java.lang.String arg3)</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/serializer/SerializerBase.html#warning(org.xml.sax.SAXParseException)">warning</A></B>(<A HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exc)</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>equals,
|
| 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="PKG_NAME"><!-- --></A><H3>
|
| PKG_NAME</H3>
|
| <PRE>
|
| public static final java.lang.String <B>PKG_NAME</B></PRE>
|
| <DL>
|
| <DD>The name of the package that this class is in. |
| <p> |
| Not a public API.</DL>
|
| <HR>
|
|
|
| <A NAME="PKG_PATH"><!-- --></A><H3>
|
| PKG_PATH</H3>
|
| <PRE>
|
| public static final java.lang.String <B>PKG_PATH</B></PRE>
|
| <DL>
|
| <DD>The same as the name of the package that this class is in |
| except that '.' are replaced with '/'. |
| <p> |
| Not a public API.</DL>
|
|
|
| <!-- ========= 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="comment(java.lang.String)"><!-- --></A><H3>
|
| comment</H3>
|
| <PRE>
|
| public void <B>comment</B>(java.lang.String data) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Receive notification of a comment.<DD><DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedLexicalHandler.html#comment(java.lang.String)"><CODE>ExtendedLexicalHandler.comment(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>Receive an object for locating the origin of SAX document events.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>locator</CODE> - An object that can return the location of any SAX document |
| event. |
| |
| 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 DocumentHandler |
| 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></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
|
| addAttribute</H3>
|
| <PRE>
|
| public void <B>addAttribute</B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String rawName, |
| java.lang.String type, |
| java.lang.String value, |
| boolean XSLAttribute) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Adds the given attribute to the set of collected attributes , but only if |
| there is a currently open element. |
| |
| An element is currently open if a startElement() notification has |
| occured but the start of the element has not yet been written to the |
| output. In the stream case this means that we have not yet been forced |
| to close the elements opening tag by another notification, such as a |
| character notification.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the URI of the attribute<DD><CODE>localName</CODE> - the local name of the attribute<DD><CODE>rawName</CODE> - the qualified name of the attribute<DD><CODE>type</CODE> - the type of the attribute (probably CDATA)<DD><CODE>value</CODE> - the value of the attribute<DD><CODE>XSLAttribute</CODE> - true if this attribute is coming from an xsl:attriute element<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedContentHandler.html#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><CODE>ExtendedContentHandler.addAttribute(String, String, String, String, String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="addAttributeAlways(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
|
| addAttributeAlways</H3>
|
| <PRE>
|
| public boolean <B>addAttributeAlways</B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String rawName, |
| java.lang.String type, |
| java.lang.String value, |
| boolean XSLAttribute)</PRE>
|
| <DL>
|
| <DD>Adds the given attribute to the set of attributes, even if there is |
| no currently open element. This is useful if a SAX startPrefixMapping() |
| should need to add an attribute before the element name is seen.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the URI of the attribute<DD><CODE>localName</CODE> - the local name of the attribute<DD><CODE>rawName</CODE> - the qualified name of the attribute<DD><CODE>type</CODE> - the type of the attribute (probably CDATA)<DD><CODE>value</CODE> - the value of the attribute<DD><CODE>XSLAttribute</CODE> - true if this attribute is coming from an xsl:attribute element<DT><B>Returns:</B><DD>true if the attribute was added, |
| false if an existing value was replaced.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="addAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| addAttribute</H3>
|
| <PRE>
|
| public void <B>addAttribute</B>(java.lang.String name, |
| java.lang.String value)</PRE>
|
| <DL>
|
| <DD>Adds the given attribute to the set of collected attributes, |
| but only if there is a currently open element.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute's qualified name<DD><CODE>value</CODE> - the value of the attribute</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="addXSLAttribute(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| addXSLAttribute</H3>
|
| <PRE>
|
| public void <B>addXSLAttribute</B>(java.lang.String name, |
| java.lang.String value, |
| java.lang.String uri)</PRE>
|
| <DL>
|
| <DD>Adds the given xsl:attribute to the set of collected attributes, |
| but only if there is a currently open element.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute's qualified name (prefix:localName)<DD><CODE>value</CODE> - the value of the attribute<DD><CODE>uri</CODE> - the URI that the prefix of the name points to</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="addAttributes(org.xml.sax.Attributes)"><!-- --></A><H3>
|
| addAttributes</H3>
|
| <PRE>
|
| public void <B>addAttributes</B>(<A HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Add the given attributes to the currently collected ones. These |
| attributes are always added, regardless of whether on not an element |
| is currently open.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>atts</CODE> - List of attributes to add to this list</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>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>Returns:</B><DD>A <A HREF="../../../../org/xml/sax/ContentHandler.html"><CODE>ContentHandler</CODE></A> interface into this serializer, |
| or null if the serializer is not SAX 2 capable<DT><B>Throws:</B><DD>java.io.IOException - An I/O exception occured</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="endEntity(java.lang.String)"><!-- --></A><H3>
|
| endEntity</H3>
|
| <PRE>
|
| public void <B>endEntity</B>(java.lang.String name) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Report the end of an entity.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the entity that is ending.<DT><B>Throws:</B><DD><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A> - 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="close()"><!-- --></A><H3>
|
| close</H3>
|
| <PRE>
|
| public void <B>close</B>()</PRE>
|
| <DL>
|
| <DD>Flush and close the underlying java.io.Writer. This method applies to |
| ToStream serializers, not ToSAXHandler serializers.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#close()">close</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ToStream.html"><CODE>ToStream</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getEncoding()"><!-- --></A><H3>
|
| getEncoding</H3>
|
| <PRE>
|
| public java.lang.String <B>getEncoding</B>()</PRE>
|
| <DL>
|
| <DD>Returns the character encoding to be used in the output document.<DD><DL>
|
| <DT><B>Returns:</B><DD>the character encoding to be used in the output document.</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 character encoding coming from the xsl:output encoding stylesheet attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>m_encoding</CODE> - the character encoding</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOmitXMLDeclaration(boolean)"><!-- --></A><H3>
|
| setOmitXMLDeclaration</H3>
|
| <PRE>
|
| public void <B>setOmitXMLDeclaration</B>(boolean b)</PRE>
|
| <DL>
|
| <DD>Sets the value coming from the xsl:output omit-xml-declaration stylesheet attribute<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - true if the XML declaration is to be omitted from the output |
| document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOmitXMLDeclaration()"><!-- --></A><H3>
|
| getOmitXMLDeclaration</H3>
|
| <PRE>
|
| public boolean <B>getOmitXMLDeclaration</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>true if the XML declaration is to be omitted from the output |
| document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDoctypePublic()"><!-- --></A><H3>
|
| getDoctypePublic</H3>
|
| <PRE>
|
| public java.lang.String <B>getDoctypePublic</B>()</PRE>
|
| <DL>
|
| <DD>Returns the previously set value of the value to be used as the public |
| identifier in the document type declaration (DTD).<DD><DL>
|
| <DT><B>Returns:</B><DD>the public identifier to be used in the DOCTYPE declaration in the |
| output document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDoctypePublic(java.lang.String)"><!-- --></A><H3>
|
| setDoctypePublic</H3>
|
| <PRE>
|
| public void <B>setDoctypePublic</B>(java.lang.String doctypePublic)</PRE>
|
| <DL>
|
| <DD>Set the value coming from the xsl:output doctype-public stylesheet attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doctypePublic</CODE> - the public identifier to be used in the DOCTYPE |
| declaration in the output document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDoctypeSystem()"><!-- --></A><H3>
|
| getDoctypeSystem</H3>
|
| <PRE>
|
| public java.lang.String <B>getDoctypeSystem</B>()</PRE>
|
| <DL>
|
| <DD>Returns the previously set value of the value to be used |
| as the system identifier in the document type declaration (DTD).<DD><DL>
|
| <DT><B>Returns:</B><DD>the system identifier to be used in the DOCTYPE declaration in |
| the output document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDoctypeSystem(java.lang.String)"><!-- --></A><H3>
|
| setDoctypeSystem</H3>
|
| <PRE>
|
| public void <B>setDoctypeSystem</B>(java.lang.String doctypeSystem)</PRE>
|
| <DL>
|
| <DD>Set the value coming from the xsl:output doctype-system stylesheet attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doctypeSystem</CODE> - the system identifier to be used in the DOCTYPE |
| declaration in the output document.</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 doctypeSystem, |
| java.lang.String doctypePublic)</PRE>
|
| <DL>
|
| <DD>Set the value coming from the xsl:output doctype-public and doctype-system stylesheet properties<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doctypeSystem</CODE> - the system identifier to be used in the DOCTYPE |
| declaration in the output document.<DD><CODE>doctypePublic</CODE> - the public identifier to be used in the DOCTYPE |
| declaration in the output document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setStandalone(java.lang.String)"><!-- --></A><H3>
|
| setStandalone</H3>
|
| <PRE>
|
| public void <B>setStandalone</B>(java.lang.String standalone)</PRE>
|
| <DL>
|
| <DD>Sets the value coming from the xsl:output standalone stylesheet attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>standalone</CODE> - a value of "yes" indicates that the |
| <code>standalone</code> delaration is to be included in the output |
| document. This method remembers if the value was explicitly set using |
| this method, verses if the value is the default value.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStandalone()"><!-- --></A><H3>
|
| getStandalone</H3>
|
| <PRE>
|
| public java.lang.String <B>getStandalone</B>()</PRE>
|
| <DL>
|
| <DD>Gets the XSL standalone attribute<DD><DL>
|
| <DT><B>Returns:</B><DD>a value of "yes" if the <code>standalone</code> delaration is to |
| be included in the output document.<DT><B>See Also: </B><DD><CODE>XSLOutputAttributes.getStandalone()</CODE></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getIndent()"><!-- --></A><H3>
|
| getIndent</H3>
|
| <PRE>
|
| public boolean <B>getIndent</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>true if the output document should be indented to visually |
| indicate its structure.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getMediaType()"><!-- --></A><H3>
|
| getMediaType</H3>
|
| <PRE>
|
| public java.lang.String <B>getMediaType</B>()</PRE>
|
| <DL>
|
| <DD>Gets the mediatype the media-type or MIME type associated with the output |
| document.<DD><DL>
|
| <DT><B>Returns:</B><DD>the mediatype the media-type or MIME type associated with the |
| output document.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getVersion()"><!-- --></A><H3>
|
| getVersion</H3>
|
| <PRE>
|
| public java.lang.String <B>getVersion</B>()</PRE>
|
| <DL>
|
| <DD>Gets the version of the output format.<DD><DL>
|
| <DT><B>Returns:</B><DD>the version of the output format.</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 value coming from the xsl:output version attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>version</CODE> - the version of the output format.<DT><B>See Also: </B><DD><CODE>XSLOutputAttributes.setVersion(String)</CODE></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 value coming from the xsl:output media-type stylesheet attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>mediaType</CODE> - the non-null media-type or MIME type associated with the |
| output document.<DT><B>See Also: </B><DD><A HREF="../../../../javax/xml/transform/OutputKeys.html#MEDIA_TYPE"><CODE>OutputKeys.MEDIA_TYPE</CODE></A>,
|
| <CODE>XSLOutputAttributes.setMediaType(String)</CODE></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getIndentAmount()"><!-- --></A><H3>
|
| getIndentAmount</H3>
|
| <PRE>
|
| public int <B>getIndentAmount</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>the number of spaces to indent for each indentation level.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIndentAmount(int)"><!-- --></A><H3>
|
| setIndentAmount</H3>
|
| <PRE>
|
| public void <B>setIndentAmount</B>(int m_indentAmount)</PRE>
|
| <DL>
|
| <DD>Sets the indentation amount.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#setIndentAmount(int)">setIndentAmount</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A><DT><B>Parameters:</B><DD><CODE>m_indentAmount</CODE> - The m_indentAmount to set</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIndent(boolean)"><!-- --></A><H3>
|
| setIndent</H3>
|
| <PRE>
|
| public void <B>setIndent</B>(boolean doIndent)</PRE>
|
| <DL>
|
| <DD>Sets the value coming from the xsl:output indent stylesheet |
| attribute.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doIndent</CODE> - true if the output document should be indented to |
| visually indicate its structure.<DT><B>See Also: </B><DD><CODE>XSLOutputAttributes.setIndent(boolean)</CODE></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="namespaceAfterStartElement(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| namespaceAfterStartElement</H3>
|
| <PRE>
|
| public void <B>namespaceAfterStartElement</B>(java.lang.String uri, |
| java.lang.String prefix) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>This method is used when a prefix/uri namespace mapping |
| is indicated after the element was started with a |
| startElement() and before and endElement(). |
| startPrefixMapping(prefix,uri) would be used before the |
| startElement() call.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the URI of the namespace<DD><CODE>prefix</CODE> - the prefix associated with the given URI.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedContentHandler.html#namespaceAfterStartElement(java.lang.String, java.lang.String)"><CODE>ExtendedContentHandler.namespaceAfterStartElement(String, String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="asDOMSerializer()"><!-- --></A><H3>
|
| asDOMSerializer</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/serializer/DOMSerializer.html">DOMSerializer</A> <B>asDOMSerializer</B>() |
| throws java.io.IOException</PRE>
|
| <DL>
|
| <DD>Return a <A HREF="../../../../org/apache/xml/serializer/DOMSerializer.html"><CODE>DOMSerializer</CODE></A> interface into this serializer. If the |
| serializer does not support the <A HREF="../../../../org/apache/xml/serializer/DOMSerializer.html"><CODE>DOMSerializer</CODE></A> interface, it should |
| return null.<DD><DL>
|
| <DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/xml/serializer/DOMSerializer.html"><CODE>DOMSerializer</CODE></A> interface into this serializer, or null |
| if the serializer is not DOM capable<DT><B>Throws:</B><DD>java.io.IOException - An I/O exception occured<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/Serializer.html#asDOMSerializer()"><CODE>Serializer.asDOMSerializer()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNamespaceMappings()"><!-- --></A><H3>
|
| getNamespaceMappings</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/serializer/NamespaceMappings.html">NamespaceMappings</A> <B>getNamespaceMappings</B>()</PRE>
|
| <DL>
|
| <DD>Some users of the serializer may need the current namespace mappings<DD><DL>
|
| <DT><B>Returns:</B><DD>the current namespace mappings (prefix/uri)<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedContentHandler.html#getNamespaceMappings()"><CODE>ExtendedContentHandler.getNamespaceMappings()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getPrefix(java.lang.String)"><!-- --></A><H3>
|
| getPrefix</H3>
|
| <PRE>
|
| public java.lang.String <B>getPrefix</B>(java.lang.String namespaceURI)</PRE>
|
| <DL>
|
| <DD>Returns the prefix currently pointing to the given URI (if any).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - the uri of the namespace in question<DT><B>Returns:</B><DD>a prefix pointing to the given URI (if any).<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedContentHandler.html#getPrefix(java.lang.String)"><CODE>ExtendedContentHandler.getPrefix(String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNamespaceURI(java.lang.String, boolean)"><!-- --></A><H3>
|
| getNamespaceURI</H3>
|
| <PRE>
|
| public java.lang.String <B>getNamespaceURI</B>(java.lang.String qname, |
| boolean isElement)</PRE>
|
| <DL>
|
| <DD>Returns the URI of an element or attribute. Note that default namespaces |
| do not apply directly to attributes.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>qname</CODE> - a qualified name<DD><CODE>isElement</CODE> - true if the qualified name is the name of |
| an element.<DT><B>Returns:</B><DD>returns the namespace URI associated with the qualified name.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNamespaceURIFromPrefix(java.lang.String)"><!-- --></A><H3>
|
| getNamespaceURIFromPrefix</H3>
|
| <PRE>
|
| public java.lang.String <B>getNamespaceURIFromPrefix</B>(java.lang.String prefix)</PRE>
|
| <DL>
|
| <DD>Returns the URI of prefix (if any)<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the prefix whose URI is searched for<DT><B>Returns:</B><DD>the namespace URI currently associated with the |
| prefix, null if the prefix is undefined.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="entityReference(java.lang.String)"><!-- --></A><H3>
|
| entityReference</H3>
|
| <PRE>
|
| public void <B>entityReference</B>(java.lang.String name) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Entity reference event.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of entity<DT><B>Throws:</B><DD><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setTransformer(javax.xml.transform.Transformer)"><!-- --></A><H3>
|
| setTransformer</H3>
|
| <PRE>
|
| public void <B>setTransformer</B>(<A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A> t)</PRE>
|
| <DL>
|
| <DD>Sets the transformer associated with this serializer<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#setTransformer(javax.xml.transform.Transformer)">setTransformer</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A><DT><B>Parameters:</B><DD><CODE>t</CODE> - the transformer associated with this serializer.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#setTransformer(javax.xml.transform.Transformer)"><CODE>SerializationHandler.setTransformer(Transformer)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTransformer()"><!-- --></A><H3>
|
| getTransformer</H3>
|
| <PRE>
|
| public <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A> <B>getTransformer</B>()</PRE>
|
| <DL>
|
| <DD>Gets the transformer associated with this serializer<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#getTransformer()">getTransformer</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A><DT><B>Returns:</B><DD>returns the transformer associated with this serializer.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#getTransformer()"><CODE>SerializationHandler.getTransformer()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="characters(org.w3c.dom.Node)"><!-- --></A><H3>
|
| characters</H3>
|
| <PRE>
|
| public void <B>characters</B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> node) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>This method gets the nodes value as a String and uses that String as if |
| it were an input character notification.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>node</CODE> - the Node to serialize<DT><B>Throws:</B><DD><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="error(org.xml.sax.SAXParseException)"><!-- --></A><H3>
|
| error</H3>
|
| <PRE>
|
| public void <B>error</B>(<A HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exc) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/ErrorHandler.html#error(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.error(SAXParseException)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fatalError(org.xml.sax.SAXParseException)"><!-- --></A><H3>
|
| fatalError</H3>
|
| <PRE>
|
| public void <B>fatalError</B>(<A HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exc) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/ErrorHandler.html#fatalError(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.fatalError(SAXParseException)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="warning(org.xml.sax.SAXParseException)"><!-- --></A><H3>
|
| warning</H3>
|
| <PRE>
|
| public void <B>warning</B>(<A HREF="../../../../org/xml/sax/SAXParseException.html">SAXParseException</A> exc) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/ErrorHandler.html#warning(org.xml.sax.SAXParseException)"><CODE>ErrorHandler.warning(SAXParseException)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fireEndEntity(java.lang.String)"><!-- --></A><H3>
|
| fireEndEntity</H3>
|
| <PRE>
|
| public void <B>fireEndEntity</B>(java.lang.String name) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>To fire off end entity trace event<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of entity</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>Receive notification of the beginning of a document. |
| This method is never a self generated call, |
| but only called externally. |
| |
| <p>The SAX parser will invoke this method only once, before any |
| other methods in this interface or in DTDHandler (except for |
| setDocumentLocator).</p><DD><DL>
|
| <DT><B>Throws:</B><DD><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A> - Any SAX exception, possibly |
| wrapping another exception.<DD><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setSourceLocator(javax.xml.transform.SourceLocator)"><!-- --></A><H3>
|
| setSourceLocator</H3>
|
| <PRE>
|
| public void <B>setSourceLocator</B>(<A HREF="../../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> locator)</PRE>
|
| <DL>
|
| <DD>This method is used to set the source locator, which might be used to |
| generated an error message.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>locator</CODE> - the source locator<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedContentHandler.html#setSourceLocator(javax.xml.transform.SourceLocator)"><CODE>ExtendedContentHandler.setSourceLocator(javax.xml.transform.SourceLocator)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setNamespaceMappings(org.apache.xml.serializer.NamespaceMappings)"><!-- --></A><H3>
|
| setNamespaceMappings</H3>
|
| <PRE>
|
| public void <B>setNamespaceMappings</B>(<A HREF="../../../../org/apache/xml/serializer/NamespaceMappings.html">NamespaceMappings</A> mappings)</PRE>
|
| <DL>
|
| <DD>Used only by TransformerSnapshotImpl to restore the serialization |
| to a previous state.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#setNamespaceMappings(org.apache.xml.serializer.NamespaceMappings)">setNamespaceMappings</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A><DT><B>Parameters:</B><DD><CODE>mappings</CODE> - NamespaceMappings</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="addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| addAttribute</H3>
|
| <PRE>
|
| public void <B>addAttribute</B>(java.lang.String uri, |
| java.lang.String localName, |
| java.lang.String rawName, |
| java.lang.String type, |
| java.lang.String value) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>This method adds an attribute the the current element, |
| but should not be used for an xsl:attribute child.<DD><DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/ExtendedContentHandler.html#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><CODE>ExtendedContentHandler.addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)</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 arg0, |
| java.lang.String arg1, |
| java.lang.String arg2) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <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></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 arg0, |
| java.lang.String arg1, |
| java.lang.String arg2, |
| java.lang.String arg3) |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <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></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDTDEntityExpansion(boolean)"><!-- --></A><H3>
|
| setDTDEntityExpansion</H3>
|
| <PRE>
|
| public void <B>setDTDEntityExpansion</B>(boolean expand)</PRE>
|
| <DL>
|
| <DD>If set to false the serializer does not expand DTD entities, |
| but leaves them as is, the default value is true.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html#setDTDEntityExpansion(boolean)">setDTDEntityExpansion</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="documentIsEmpty()"><!-- --></A><H3>
|
| documentIsEmpty</H3>
|
| <PRE>
|
| public boolean <B>documentIsEmpty</B>()</PRE>
|
| <DL>
|
| <DD>Return true if nothing has been sent to this result tree yet. |
| <p> |
| This is not a public API.<DD><DL>
|
| <DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputProperty(java.lang.String)"><!-- --></A><H3>
|
| getOutputProperty</H3>
|
| <PRE>
|
| public java.lang.String <B>getOutputProperty</B>(java.lang.String name)</PRE>
|
| <DL>
|
| <DD>Get the value of an output property, |
| the explicit value, if any, otherwise the |
| default value, if any, otherwise null.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputPropertyNonDefault(java.lang.String)"><!-- --></A><H3>
|
| getOutputPropertyNonDefault</H3>
|
| <PRE>
|
| public java.lang.String <B>getOutputPropertyNonDefault</B>(java.lang.String name)</PRE>
|
| <DL>
|
| <DD>Get the value of an output property, |
| not the default value. If there is a default |
| value, but no non-default value this method |
| will return null. |
| <p><DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="asDOM3Serializer()"><!-- --></A><H3>
|
| asDOM3Serializer</H3>
|
| <PRE>
|
| public java.lang.Object <B>asDOM3Serializer</B>() |
| throws java.io.IOException</PRE>
|
| <DL>
|
| <DD>Return a <A HREF="../../../../org/apache/xml/serializer/DOM3Serializer.html"><CODE>DOM3Serializer</CODE></A> interface into this serializer. If the |
| serializer does not support the <A HREF="../../../../org/apache/xml/serializer/DOM3Serializer.html"><CODE>DOM3Serializer</CODE></A> interface, it should |
| return null.<DD><DL>
|
| <DT><B>Returns:</B><DD>A <A HREF="../../../../org/apache/xml/serializer/DOM3Serializer.html"><CODE>DOM3Serializer</CODE></A> interface into this serializer, or null |
| if the serializer is not DOM capable<DT><B>Throws:</B><DD>java.io.IOException - An I/O exception occured<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/Serializer.html#asDOM3Serializer()"><CODE>Serializer.asDOM3Serializer()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputPropertyDefault(java.lang.String)"><!-- --></A><H3>
|
| getOutputPropertyDefault</H3>
|
| <PRE>
|
| public java.lang.String <B>getOutputPropertyDefault</B>(java.lang.String name)</PRE>
|
| <DL>
|
| <DD>Get the default value of an xsl:output property, |
| which would be null only if no default value exists |
| for the property.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOutputProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| setOutputProperty</H3>
|
| <PRE>
|
| public void <B>setOutputProperty</B>(java.lang.String name, |
| java.lang.String val)</PRE>
|
| <DL>
|
| <DD>Set the value for the output property, typically from |
| an xsl:output element, but this does not change what |
| the default value is.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOutputPropertyDefault(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| setOutputPropertyDefault</H3>
|
| <PRE>
|
| public void <B>setOutputPropertyDefault</B>(java.lang.String name, |
| java.lang.String val)</PRE>
|
| <DL>
|
| <DD>Set the default value for an output property, but this does |
| not impact any explicitly set value.<DD><DL>
|
| </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="class-use/SerializerBase.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-all.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>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xml/serializer/OutputPropertyUtils.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/serializer/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="SerializerBase.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|