<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Sat Dec 04 05:26:49 UTC 2010 --> <TITLE> XMLWriterImpl </TITLE> <META NAME="date" CONTENT="2010-12-04"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="XMLWriterImpl"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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-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/ws/jaxme/impl/ValidationEventImpl.html" title="class in org.apache.ws.jaxme.impl"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/ws/jaxme/impl/XMLWriterImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="XMLWriterImpl.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | 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> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.apache.ws.jaxme.impl</FONT> <BR> Class XMLWriterImpl</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.ws.jaxme.impl.XMLWriterImpl</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme">XMLWriter</A>, org.xml.sax.ContentHandler</DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/ws/jaxme/impl/CharSetXMLWriter.html" title="class in org.apache.ws.jaxme.impl">CharSetXMLWriter</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/OrderedAttributeXMLWriter.html" title="class in org.apache.ws.jaxme.impl">OrderedAttributeXMLWriter</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/PassThroughXMLWriter.html" title="class in org.apache.ws.jaxme.impl">PassThroughXMLWriter</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>XMLWriterImpl</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme">XMLWriter</A></DL> </PRE> <P> <p>A simple serializer for XML documents.</p> <P> <P> <DL> <DT><B>Author:</B></DT> <DD><a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a></DD> </DL> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html#XMLWriterImpl()">XMLWriterImpl</A></B>()</CODE> <BR> Creates a new JaxbXmlSerializer</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </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/ws/jaxme/impl/XMLWriterImpl.html#canEncode(char)">canEncode</A></B>(char c)</CODE> <BR> Returns whether the XMLWriter can encode the character <code>c</code> without an escape sequence like &#ddd;.</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/ws/jaxme/impl/XMLWriterImpl.html#characters(char[], int, int)">characters</A></B>(char[] ch, int start, int length)</CODE> <BR> Inserts a string of characters into 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/ws/jaxme/impl/XMLWriterImpl.html#endDocument()">endDocument</A></B>()</CODE> <BR> This method finishs the handlers action.</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/ws/jaxme/impl/XMLWriterImpl.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 qName)</CODE> <BR> Terminates 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/ws/jaxme/impl/XMLWriterImpl.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A></B>(java.lang.String prefix)</CODE> <BR> Terminates use of a namespace prefix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.xml.sax.Locator</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html#getDocumentLocator()">getDocumentLocator</A></B>()</CODE> <BR> Returns the locator</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html" title="class in org.apache.ws.jaxme.impl">JMMarshallerImpl</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html#getMarshaller()">getMarshaller</A></B>()</CODE> <BR> Returns the JaxbXMLSerializers Marshaller.</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/ws/jaxme/impl/XMLWriterImpl.html#getWriter()">getWriter</A></B>()</CODE> <BR> Returns the JaxbXMLSerializers 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/ws/jaxme/impl/XMLWriterImpl.html#ignorableWhitespace(char[], int, int)">ignorableWhitespace</A></B>(char[] ch, int start, int length)</CODE> <BR> Calls the character method with the same arguments.</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/ws/jaxme/impl/XMLWriterImpl.html#init(org.apache.ws.jaxme.impl.JMMarshallerImpl)">init</A></B>(<A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html" title="class in org.apache.ws.jaxme.impl">JMMarshallerImpl</A> pMarshaller)</CODE> <BR> Sets the JaxbXMLSerializers Marshaller.</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/ws/jaxme/impl/XMLWriterImpl.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A></B>(java.lang.String target, java.lang.String data)</CODE> <BR> Inserts 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/ws/jaxme/impl/XMLWriterImpl.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A></B>(org.xml.sax.Locator pLocator)</CODE> <BR> Sets the locator.</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/ws/jaxme/impl/XMLWriterImpl.html#setWriter(java.io.Writer)">setWriter</A></B>(java.io.Writer pWriter)</CODE> <BR> Sets the JaxbXMLSerializers 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/ws/jaxme/impl/XMLWriterImpl.html#skippedEntity(java.lang.String)">skippedEntity</A></B>(java.lang.String ent)</CODE> <BR> Not actually implemented, because I don't know how to skip 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/ws/jaxme/impl/XMLWriterImpl.html#startDocument()">startDocument</A></B>()</CODE> <BR> Starts 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/ws/jaxme/impl/XMLWriterImpl.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 qName, org.xml.sax.Attributes attr)</CODE> <BR> Starts a new 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/ws/jaxme/impl/XMLWriterImpl.html#startPrefixMapping(java.lang.String, java.lang.String)">startPrefixMapping</A></B>(java.lang.String prefix, java.lang.String namespaceURI)</CODE> <BR> Starts use of a namespace prefix.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="XMLWriterImpl()"><!-- --></A><H3> XMLWriterImpl</H3> <PRE> public <B>XMLWriterImpl</B>()</PRE> <DL> <DD>Creates a new JaxbXmlSerializer <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="init(org.apache.ws.jaxme.impl.JMMarshallerImpl)"><!-- --></A><H3> init</H3> <PRE> public void <B>init</B>(<A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html" title="class in org.apache.ws.jaxme.impl">JMMarshallerImpl</A> pMarshaller) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><p>Sets the JaxbXMLSerializers Marshaller.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html#init(org.apache.ws.jaxme.impl.JMMarshallerImpl)">init</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme">XMLWriter</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getMarshaller()"><!-- --></A><H3> getMarshaller</H3> <PRE> public <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html" title="class in org.apache.ws.jaxme.impl">JMMarshallerImpl</A> <B>getMarshaller</B>()</PRE> <DL> <DD><p>Returns the JaxbXMLSerializers Marshaller.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setWriter(java.io.Writer)"><!-- --></A><H3> setWriter</H3> <PRE> public void <B>setWriter</B>(java.io.Writer pWriter) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><p>Sets the JaxbXMLSerializers Writer.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html#setWriter(java.io.Writer)">setWriter</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme">XMLWriter</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getWriter()"><!-- --></A><H3> getWriter</H3> <PRE> public java.io.Writer <B>getWriter</B>()</PRE> <DL> <DD><p>Returns the JaxbXMLSerializers Writer.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setDocumentLocator(org.xml.sax.Locator)"><!-- --></A><H3> setDocumentLocator</H3> <PRE> public void <B>setDocumentLocator</B>(org.xml.sax.Locator pLocator)</PRE> <DL> <DD>Sets the locator. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>setDocumentLocator</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pLocator</CODE> - A locator for use in case of errors<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html#getDocumentLocator()"><CODE>getDocumentLocator()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getDocumentLocator()"><!-- --></A><H3> getDocumentLocator</H3> <PRE> public org.xml.sax.Locator <B>getDocumentLocator</B>()</PRE> <DL> <DD>Returns the locator <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>A locator previously set with setDocumentLocator or null.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html#setDocumentLocator(org.xml.sax.Locator)"><CODE>setDocumentLocator(org.xml.sax.Locator)</CODE></A></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 namespaceURI) throws org.xml.sax.SAXException</PRE> <DL> <DD><p>Starts use of a namespace prefix.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>startPrefixMapping</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI<DD><CODE>prefix</CODE> - The prefix <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Not actually thrown, just for compliance to the interface specification.</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 org.xml.sax.SAXException</PRE> <DL> <DD><p>Terminates use of a namespace prefix.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>endPrefixMapping</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix being abandoned. <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Not actually thrown, just for compliance to the interface specification.</DL> </DD> </DL> <HR> <A NAME="startDocument()"><!-- --></A><H3> startDocument</H3> <PRE> public void <B>startDocument</B>() throws org.xml.sax.SAXException</PRE> <DL> <DD><p>Starts a document.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>startDocument</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Not actually thrown, just for compliance to the interface specification.</DL> </DD> </DL> <HR> <A NAME="endDocument()"><!-- --></A><H3> endDocument</H3> <PRE> public void <B>endDocument</B>() throws org.xml.sax.SAXException</PRE> <DL> <DD><p>This method finishs the handlers action. After calling endDocument you may start a new action by calling startDocument again.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>endDocument</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Not actually thrown, just for compliance to the interface specification.</DL> </DD> </DL> <HR> <A NAME="ignorableWhitespace(char[], int, int)"><!-- --></A><H3> ignorableWhitespace</H3> <PRE> public void <B>ignorableWhitespace</B>(char[] ch, int start, int length) throws org.xml.sax.SAXException</PRE> <DL> <DD>Calls the character method with the same arguments. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>ignorableWhitespace</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ch</CODE> - A string of whitespace characters being inserted into the document.<DD><CODE>start</CODE> - The index of the first character.<DD><CODE>length</CODE> - The number of characters. <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Thrown in case of an IOException.</DL> </DD> </DL> <HR> <A NAME="characters(char[], int, int)"><!-- --></A><H3> characters</H3> <PRE> public void <B>characters</B>(char[] ch, int start, int length) throws org.xml.sax.SAXException</PRE> <DL> <DD>Inserts a string of characters into the document. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>characters</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ch</CODE> - The characters being inserted. A substring, to be precise.<DD><CODE>start</CODE> - Index of the first character<DD><CODE>length</CODE> - Number of characters being inserted <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Thrown in case of an IOException</DL> </DD> </DL> <HR> <A NAME="canEncode(char)"><!-- --></A><H3> canEncode</H3> <PRE> public boolean <B>canEncode</B>(char c)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html#canEncode(char)">XMLWriter</A></CODE></B></DD> <DD><p>Returns whether the XMLWriter can encode the character <code>c</code> without an escape sequence like &#ddd;.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html#canEncode(char)">canEncode</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme">XMLWriter</A></CODE></DL> </DD> <DD><DL> </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 qName) throws org.xml.sax.SAXException</PRE> <DL> <DD><p>Terminates an element.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>endElement</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI, if any, or null<DD><CODE>localName</CODE> - The local name, without prefix, or null<DD><CODE>qName</CODE> - The qualified name, including a prefix, or null <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Thrown in case of an IOException.</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 qName, org.xml.sax.Attributes attr) throws org.xml.sax.SAXException</PRE> <DL> <DD>Starts a new element. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>startElement</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - The namespace URI, if any, or null<DD><CODE>localName</CODE> - The local name, without prefix, or null<DD><CODE>qName</CODE> - The qualified name, including a prefix, or null<DD><CODE>attr</CODE> - The element attributes <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Thrown in case of an IOException.</DL> </DD> </DL> <HR> <A NAME="skippedEntity(java.lang.String)"><!-- --></A><H3> skippedEntity</H3> <PRE> public void <B>skippedEntity</B>(java.lang.String ent) throws org.xml.sax.SAXException</PRE> <DL> <DD>Not actually implemented, because I don't know how to skip entities. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>skippedEntity</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ent</CODE> - The entity being skipped. <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Not actually thrown, just for compliance to the interface specification.</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 data) throws org.xml.sax.SAXException</PRE> <DL> <DD>Inserts a processing instruction. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE>processingInstruction</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>target</CODE> - The PI target<DD><CODE>data</CODE> - The PI data <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</CODE> - Thrown in case of an IOException</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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-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/ws/jaxme/impl/ValidationEventImpl.html" title="class in org.apache.ws.jaxme.impl"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/ws/jaxme/impl/XMLWriterImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="XMLWriterImpl.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | 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> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>