<!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> JMMarshallerImpl </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="JMMarshallerImpl"; } } </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/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/ws/jaxme/impl/JMPIImpl.html" title="class in org.apache.ws.jaxme.impl"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/ws/jaxme/impl/JMMarshallerImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="JMMarshallerImpl.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <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 JMMarshallerImpl</H2> <PRE> java.lang.Object <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl">org.apache.ws.jaxme.impl.JMControllerImpl</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.ws.jaxme.impl.JMMarshallerImpl</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A>, <A HREF="../../../../../org/apache/ws/jaxme/JMMarshaller.html" title="interface in org.apache.ws.jaxme">JMMarshaller</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>JMMarshallerImpl</B><DT>extends <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl">JMControllerImpl</A><DT>implements <A HREF="../../../../../org/apache/ws/jaxme/JMMarshaller.html" title="interface in org.apache.ws.jaxme">JMMarshaller</A></DL> </PRE> <P> <DL> <DT><B>Version:</B></DT> <DD>$Id: JMMarshallerImpl.java 232067 2005-03-10 10:14:08Z jochen $</DD> <DT><B>Author:</B></DT> <DD><a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a></DD> </DL> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_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>Field Summary</B></FONT></TH> </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/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXB_ENCODING">DEFAULT_JAXB_ENCODING</A></B></CODE> <BR> Default value for <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING"><CODE>Marshaller.JAXB_ENCODING</CODE></A>.</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/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_SEPARATOR">DEFAULT_JAXME_INDENTATION_SEPARATOR</A></B></CODE> <BR> Default value for <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_INDENTATION_SEPARATOR"><CODE>JAXME_INDENTATION_SEPARATOR</CODE></A>.</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/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_STRING">DEFAULT_JAXME_INDENTATION_STRING</A></B></CODE> <BR> Default value for <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_INDENTATION_STRING"><CODE>JAXME_INDENTATION_STRING</CODE></A>: Two blanks.</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/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_INDENTATION_SEPARATOR">JAXME_INDENTATION_SEPARATOR</A></B></CODE> <BR> Property name for setting the String used as a line separator in the formatted output.</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/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_INDENTATION_STRING">JAXME_INDENTATION_STRING</A></B></CODE> <BR> Property name for setting the String used to indent the formatted output by one level.</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/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_XML_DECLARATION">JAXME_XML_DECLARATION</A></B></CODE> <BR> Property name for choosing whether the marshalled output should contain an XML declaration.</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/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_XML_WRITER">JAXME_XML_WRITER</A></B></CODE> <BR> Property name for a SAX <CODE>ContentHandler</CODE> which is able to marshal a SAX stream into a character stream.</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_org.apache.ws.jaxme.impl.JMControllerImpl"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class org.apache.ws.jaxme.impl.<A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl">JMControllerImpl</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#eventHandler">eventHandler</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#JAXME_DATATYPE_CONVERTER">JAXME_DATATYPE_CONVERTER</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#JAXME_FORMAT_DATE">JAXME_FORMAT_DATE</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#JAXME_FORMAT_DATETIME">JAXME_FORMAT_DATETIME</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#JAXME_FORMAT_TIME">JAXME_FORMAT_TIME</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#JAXME_PRIVATE">JAXME_PRIVATE</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_javax.xml.bind.Marshaller"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface javax.xml.bind.<A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING">JAXB_ENCODING</A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_FORMATTED_OUTPUT">JAXB_FORMATTED_OUTPUT</A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION">JAXB_NO_NAMESPACE_SCHEMA_LOCATION</A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION">JAXB_SCHEMA_LOCATION</A></CODE></TD> </TR> </TABLE> <!-- ======== 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/JMMarshallerImpl.html#JMMarshallerImpl()">JMMarshallerImpl</A></B>()</CODE> <BR> </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> javax.xml.bind.annotation.adapters.XmlAdapter</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getAdapter(java.lang.Class)">getAdapter</A></B>(java.lang.Class type)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> javax.xml.bind.attachment.AttachmentMarshaller</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getAttachmentMarshaller()">getAttachmentMarshaller</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/ws/jaxme/impl/JMMarshallerImpl.html#getEncoding()">getEncoding</A></B>()</CODE> <BR> Returns the controllers encoding; to be used in marshalling.</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/ws/jaxme/impl/JMMarshallerImpl.html#getIndentation()">getIndentation</A></B>()</CODE> <BR> Returns whether XML documents generated by the controller ought to be formatted.</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/ws/jaxme/impl/JMMarshallerImpl.html#getIndentationSeparator()">getIndentationSeparator</A></B>()</CODE> <BR> Returns the string used as a line separator.</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/ws/jaxme/impl/JMMarshallerImpl.html#getIndentationString()">getIndentationString</A></B>()</CODE> <BR> Returns the string used to indent one level.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> Listener</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getListener()">getListener</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> org.w3c.dom.Node</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getNode(java.lang.Object)">getNode</A></B>(java.lang.Object contentTree)</CODE> <BR> Returns a DOM view of the given JAXB object.</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/ws/jaxme/impl/JMMarshallerImpl.html#getNoNamespaceSchemaLocation()">getNoNamespaceSchemaLocation</A></B>()</CODE> <BR> Returns the schema location.</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/ws/jaxme/impl/JMMarshallerImpl.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String pProperty)</CODE> <BR> Returns the value for property <code>pProperty</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> javax.xml.validation.Schema</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getSchema()">getSchema</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/ws/jaxme/impl/JMMarshallerImpl.html#getSchemaLocation()">getSchemaLocation</A></B>()</CODE> <BR> Returns the schema location.</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/ws/jaxme/impl/JMMarshallerImpl.html#getXmlDeclaration()">getXmlDeclaration</A></B>()</CODE> <BR> Returns whether the methods <code>marshal(Object, Writer)</code> and <code>marshal(Object, OutputStream)</code> ought to emit an XML declaration.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.Class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getXMLWriterClass()">getXMLWriterClass</A></B>()</CODE> <BR> Returns the controllers class implementing <A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme"><CODE>XMLWriter</CODE></A>.</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/JMMarshallerImpl.html#marshal(java.lang.Object, org.xml.sax.ContentHandler)">marshal</A></B>(java.lang.Object pObject, org.xml.sax.ContentHandler pHandler)</CODE> <BR> Marshals the given JAXB object by emitting SAX events into into the given SAX <CODE>ContentHandler</CODE>.</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/JMMarshallerImpl.html#marshal(java.lang.Object, java.io.File)">marshal</A></B>(java.lang.Object jaxbElement, java.io.File output)</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/ws/jaxme/impl/JMMarshallerImpl.html#marshal(java.lang.Object, org.w3c.dom.Node)">marshal</A></B>(java.lang.Object pObject, org.w3c.dom.Node pNode)</CODE> <BR> Marshals the given JAXB object by creating a DOM tree below the given node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#marshal(java.lang.Object, java.io.OutputStream)">marshal</A></B>(java.lang.Object pObject, java.io.OutputStream pStream)</CODE> <BR> Marshals the given JAXB object <code>pObject</code> and serializes it into the byte stream <code>pTarget</code>.</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/JMMarshallerImpl.html#marshal(java.lang.Object, javax.xml.transform.Result)">marshal</A></B>(java.lang.Object pObject, javax.xml.transform.Result pResult)</CODE> <BR> Marshals the given JAXB object <code>pObject</code> to the <CODE>Result</CODE> <code>pTarget</code>.</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/JMMarshallerImpl.html#marshal(java.lang.Object, java.io.Writer)">marshal</A></B>(java.lang.Object pObject, java.io.Writer pWriter)</CODE> <BR> Marshals the given JAXB object <code>pObject</code> and serializes it into the character stream <code>pTarget</code>.</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/JMMarshallerImpl.html#marshal(java.lang.Object, javax.xml.stream.XMLEventWriter)">marshal</A></B>(java.lang.Object jaxbElement, javax.xml.stream.XMLEventWriter writer)</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/ws/jaxme/impl/JMMarshallerImpl.html#marshal(java.lang.Object, javax.xml.stream.XMLStreamWriter)">marshal</A></B>(java.lang.Object jaxbElement, javax.xml.stream.XMLStreamWriter writer)</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/ws/jaxme/impl/JMMarshallerImpl.html#setAdapter(java.lang.Class, javax.xml.bind.annotation.adapters.XmlAdapter)">setAdapter</A></B>(java.lang.Class type, javax.xml.bind.annotation.adapters.XmlAdapter adapter)</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/ws/jaxme/impl/JMMarshallerImpl.html#setAdapter(javax.xml.bind.annotation.adapters.XmlAdapter)">setAdapter</A></B>(javax.xml.bind.annotation.adapters.XmlAdapter adapter)</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/ws/jaxme/impl/JMMarshallerImpl.html#setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller)">setAttachmentMarshaller</A></B>(javax.xml.bind.attachment.AttachmentMarshaller am)</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/ws/jaxme/impl/JMMarshallerImpl.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String pEncoding)</CODE> <BR> Sets the controllers encoding; to be used in marshalling.</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/JMMarshallerImpl.html#setIndentation(boolean)">setIndentation</A></B>(boolean pIndentation)</CODE> <BR> Sets whether XML documents generated by the controller ought to be formatted.</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/JMMarshallerImpl.html#setIndentationSeparator(java.lang.String)">setIndentationSeparator</A></B>(java.lang.String pStr)</CODE> <BR> Sets the string used as a line separator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setIndentationString(java.lang.String)">setIndentationString</A></B>(java.lang.String pStr)</CODE> <BR> Sets the string used to indent one level.</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/JMMarshallerImpl.html#setListener(Listener)">setListener</A></B>(Listener listener)</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/ws/jaxme/impl/JMMarshallerImpl.html#setNoNamespaceSchemaLocation(java.lang.String)">setNoNamespaceSchemaLocation</A></B>(java.lang.String pValue)</CODE> <BR> Sets the schema location without namespace.</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/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String pProperty, java.lang.Object pValue)</CODE> <BR> Sets the property <code>pProperty</code> to the value <code>pValue</code>.</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/JMMarshallerImpl.html#setSchema(javax.xml.validation.Schema)">setSchema</A></B>(javax.xml.validation.Schema schema)</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/ws/jaxme/impl/JMMarshallerImpl.html#setSchemaLocation(java.lang.String)">setSchemaLocation</A></B>(java.lang.String pValue)</CODE> <BR> Sets the schema location.</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/JMMarshallerImpl.html#setXmlDeclaration(boolean)">setXmlDeclaration</A></B>(boolean pDeclaration)</CODE> <BR> Sets whether the methods <code>marshal(Object, Writer)</code> and <code>marshal(Object, OutputStream)</code> ought to emit an XML declaration.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setXMLWriterClass(java.lang.Class)">setXMLWriterClass</A></B>(java.lang.Class pClass)</CODE> <BR> Sets the controllers class implementing <A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme"><CODE>XMLWriter</CODE></A>.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.apache.ws.jaxme.impl.JMControllerImpl"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.apache.ws.jaxme.impl.<A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl">JMControllerImpl</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getDatatypeConverter()">getDatatypeConverter</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getDateFormat()">getDateFormat</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getDateTimeFormat()">getDateTimeFormat</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getEventHandler()">getEventHandler</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getJAXBContextImpl()">getJAXBContextImpl</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getTimeFormat()">getTimeFormat</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setDatatypeConverter(javax.xml.bind.DatatypeConverterInterface)">setDatatypeConverter</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setDateFormat(java.text.Format)">setDateFormat</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setDateTimeFormat(java.text.Format)">setDateTimeFormat</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setEventHandler(javax.xml.bind.ValidationEventHandler)">setEventHandler</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setJAXBContextImpl(org.apache.ws.jaxme.impl.JAXBContextImpl)">setJAXBContextImpl</A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setTimeFormat(java.text.Format)">setTimeFormat</A></CODE></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> <A NAME="methods_inherited_from_class_org.apache.ws.jaxme.JMMarshaller"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface org.apache.ws.jaxme.<A HREF="../../../../../org/apache/ws/jaxme/JMMarshaller.html" title="interface in org.apache.ws.jaxme">JMMarshaller</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../org/apache/ws/jaxme/JMMarshaller.html#getDatatypeConverter()">getDatatypeConverter</A>, <A HREF="../../../../../org/apache/ws/jaxme/JMMarshaller.html#getJAXBContextImpl()">getJAXBContextImpl</A>, <A HREF="../../../../../org/apache/ws/jaxme/JMMarshaller.html#setJAXBContextImpl(org.apache.ws.jaxme.impl.JAXBContextImpl)">setJAXBContextImpl</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_javax.xml.bind.Marshaller"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface javax.xml.bind.<A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#getEventHandler()">getEventHandler</A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#setEventHandler(javax.xml.bind.ValidationEventHandler)">setEventHandler</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_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>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="DEFAULT_JAXB_ENCODING"><!-- --></A><H3> DEFAULT_JAXB_ENCODING</H3> <PRE> public static final java.lang.String <B>DEFAULT_JAXB_ENCODING</B></PRE> <DL> <DD>Default value for <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING"><CODE>Marshaller.JAXB_ENCODING</CODE></A>. (UTF-8 encoding) <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.DEFAULT_JAXB_ENCODING">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEFAULT_JAXME_INDENTATION_STRING"><!-- --></A><H3> DEFAULT_JAXME_INDENTATION_STRING</H3> <PRE> public static final java.lang.String <B>DEFAULT_JAXME_INDENTATION_STRING</B></PRE> <DL> <DD>Default value for <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_INDENTATION_STRING"><CODE>JAXME_INDENTATION_STRING</CODE></A>: Two blanks. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.DEFAULT_JAXME_INDENTATION_STRING">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEFAULT_JAXME_INDENTATION_SEPARATOR"><!-- --></A><H3> DEFAULT_JAXME_INDENTATION_SEPARATOR</H3> <PRE> public static final java.lang.String <B>DEFAULT_JAXME_INDENTATION_SEPARATOR</B></PRE> <DL> <DD>Default value for <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#JAXME_INDENTATION_SEPARATOR"><CODE>JAXME_INDENTATION_SEPARATOR</CODE></A>. ("\n", Line Feed) <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.DEFAULT_JAXME_INDENTATION_SEPARATOR">Constant Field Values</A></DL> </DL> <HR> <A NAME="JAXME_INDENTATION_STRING"><!-- --></A><H3> JAXME_INDENTATION_STRING</H3> <PRE> public static final java.lang.String <B>JAXME_INDENTATION_STRING</B></PRE> <DL> <DD>Property name for setting the String used to indent the formatted output by one level. ("jaxme.indentation.string") Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_STRING"><CODE>DEFAULT_JAXME_INDENTATION_STRING</CODE></A>. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setIndentationString(java.lang.String)"><CODE>setIndentationString(java.lang.String)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getIndentationString()"><CODE>getIndentationString()</CODE></A>, <A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.JAXME_INDENTATION_STRING">Constant Field Values</A></DL> </DL> <HR> <A NAME="JAXME_INDENTATION_SEPARATOR"><!-- --></A><H3> JAXME_INDENTATION_SEPARATOR</H3> <PRE> public static final java.lang.String <B>JAXME_INDENTATION_SEPARATOR</B></PRE> <DL> <DD>Property name for setting the String used as a line separator in the formatted output. ("jaxme.indentation.separator") <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setIndentationSeparator(java.lang.String)"><CODE>setIndentationSeparator(java.lang.String)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getIndentationSeparator()"><CODE>getIndentationSeparator()</CODE></A>, <A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.JAXME_INDENTATION_SEPARATOR">Constant Field Values</A></DL> </DL> <HR> <A NAME="JAXME_XML_DECLARATION"><!-- --></A><H3> JAXME_XML_DECLARATION</H3> <PRE> public static final java.lang.String <B>JAXME_XML_DECLARATION</B></PRE> <DL> <DD>Property name for choosing whether the marshalled output should contain an XML declaration. The methods <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#marshal(java.lang.Object, java.io.OutputStream)"><CODE>marshal(Object, OutputStream)</CODE></A> and <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#marshal(java.lang.Object, java.io.Writer)"><CODE>marshal(Object, Writer)</CODE></A> recognize requests for XML declarations. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setXmlDeclaration(boolean)"><CODE>setXmlDeclaration(boolean)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getXmlDeclaration()"><CODE>getXmlDeclaration()</CODE></A>, <A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.JAXME_XML_DECLARATION">Constant Field Values</A></DL> </DL> <HR> <A NAME="JAXME_XML_WRITER"><!-- --></A><H3> JAXME_XML_WRITER</H3> <PRE> public static final java.lang.String <B>JAXME_XML_WRITER</B></PRE> <DL> <DD>Property name for a SAX <CODE>ContentHandler</CODE> which is able to marshal a SAX stream into a character stream. The property value is an instance of <CODE>Class</CODE> implementing <A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme"><CODE>XMLWriter</CODE></A>. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.ws.jaxme.impl.JMMarshallerImpl.JAXME_XML_WRITER">Constant Field Values</A></DL> </DL> <!-- ========= 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="JMMarshallerImpl()"><!-- --></A><H3> JMMarshallerImpl</H3> <PRE> public <B>JMMarshallerImpl</B>()</PRE> <DL> </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="setEncoding(java.lang.String)"><!-- --></A><H3> setEncoding</H3> <PRE> public void <B>setEncoding</B>(java.lang.String pEncoding) throws <A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></PRE> <DL> <DD>Sets the controllers encoding; to be used in marshalling. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXB_ENCODING"><CODE>DEFAULT_JAXB_ENCODING</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pEncoding</CODE> - Suggested encoding or null to restore the default <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getEncoding()"><!-- --></A><H3> getEncoding</H3> <PRE> public java.lang.String <B>getEncoding</B>()</PRE> <DL> <DD>Returns the controllers encoding; to be used in marshalling. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXB_ENCODING"><CODE>DEFAULT_JAXB_ENCODING</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setXMLWriterClass(java.lang.Class)"><!-- --></A><H3> setXMLWriterClass</H3> <PRE> public void <B>setXMLWriterClass</B>(java.lang.Class pClass) throws <A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></PRE> <DL> <DD>Sets the controllers class implementing <A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme"><CODE>XMLWriter</CODE></A>. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html" title="class in org.apache.ws.jaxme.impl"><CODE>XMLWriterImpl</CODE></A>. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pClass</CODE> - A class implementing <A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html" title="class in org.apache.ws.jaxme.impl"><CODE>XMLWriterImpl</CODE></A> or null to restore the default. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getXMLWriterClass()"><!-- --></A><H3> getXMLWriterClass</H3> <PRE> public java.lang.Class <B>getXMLWriterClass</B>()</PRE> <DL> <DD><p>Returns the controllers class implementing <A HREF="../../../../../org/apache/ws/jaxme/XMLWriter.html" title="interface in org.apache.ws.jaxme"><CODE>XMLWriter</CODE></A>. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/XMLWriterImpl.html" title="class in org.apache.ws.jaxme.impl"><CODE>XMLWriterImpl</CODE></A>.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setIndentation(boolean)"><!-- --></A><H3> setIndentation</H3> <PRE> public void <B>setIndentation</B>(boolean pIndentation)</PRE> <DL> <DD><p>Sets whether XML documents generated by the controller ought to be formatted. Defaults to true.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getIndentation()"><!-- --></A><H3> getIndentation</H3> <PRE> public boolean <B>getIndentation</B>()</PRE> <DL> <DD><p>Returns whether XML documents generated by the controller ought to be formatted. Defaults to true.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setXmlDeclaration(boolean)"><!-- --></A><H3> setXmlDeclaration</H3> <PRE> public void <B>setXmlDeclaration</B>(boolean pDeclaration)</PRE> <DL> <DD><p>Sets whether the methods <code>marshal(Object, Writer)</code> and <code>marshal(Object, OutputStream)</code> ought to emit an XML declaration.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getXmlDeclaration()"><!-- --></A><H3> getXmlDeclaration</H3> <PRE> public boolean <B>getXmlDeclaration</B>()</PRE> <DL> <DD><p>Returns whether the methods <code>marshal(Object, Writer)</code> and <code>marshal(Object, OutputStream)</code> ought to emit an XML declaration.</p> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setIndentationString(java.lang.String)"><!-- --></A><H3> setIndentationString</H3> <PRE> public void <B>setIndentationString</B>(java.lang.String pStr)</PRE> <DL> <DD><p>Sets the string used to indent one level. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_STRING"><CODE>DEFAULT_JAXME_INDENTATION_STRING</CODE></A>. Equivalent to <code>setProperty(JAXME_INDENTATION_STRING, pStr)</code>.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_STRING"><CODE>DEFAULT_JAXME_INDENTATION_STRING</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(java.lang.String, java.lang.Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getProperty(java.lang.String)"><CODE>getProperty(java.lang.String)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getIndentationString()"><!-- --></A><H3> getIndentationString</H3> <PRE> public java.lang.String <B>getIndentationString</B>()</PRE> <DL> <DD><p>Returns the string used to indent one level. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_STRING"><CODE>DEFAULT_JAXME_INDENTATION_STRING</CODE></A>. Equivalent to <code>getProperty(JAXME_INDENTATION_STRING)</code>.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_STRING"><CODE>DEFAULT_JAXME_INDENTATION_STRING</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(java.lang.String, java.lang.Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getProperty(java.lang.String)"><CODE>getProperty(java.lang.String)</CODE></A></DL> </DD> </DL> <HR> <A NAME="setIndentationSeparator(java.lang.String)"><!-- --></A><H3> setIndentationSeparator</H3> <PRE> public void <B>setIndentationSeparator</B>(java.lang.String pStr)</PRE> <DL> <DD><p>Sets the string used as a line separator. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_SEPARATOR"><CODE>DEFAULT_JAXME_INDENTATION_SEPARATOR</CODE></A>. Equivalent to <code>setProperty(JAXME_INDENTATION_SEPARATOR, pStr)</code>.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_SEPARATOR"><CODE>DEFAULT_JAXME_INDENTATION_SEPARATOR</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(java.lang.String, java.lang.Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getProperty(java.lang.String)"><CODE>getProperty(java.lang.String)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getIndentationSeparator()"><!-- --></A><H3> getIndentationSeparator</H3> <PRE> public java.lang.String <B>getIndentationSeparator</B>()</PRE> <DL> <DD><p>Returns the string used as a line separator. Defaults to <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_SEPARATOR"><CODE>DEFAULT_JAXME_INDENTATION_SEPARATOR</CODE></A>. Equivalent to <code>getProperty(JAXME_INDENTATION_SEPARATOR)</code>.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#DEFAULT_JAXME_INDENTATION_SEPARATOR"><CODE>DEFAULT_JAXME_INDENTATION_SEPARATOR</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(java.lang.String, java.lang.Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getProperty(java.lang.String)"><CODE>getProperty(java.lang.String)</CODE></A></DL> </DD> </DL> <HR> <A NAME="setSchemaLocation(java.lang.String)"><!-- --></A><H3> setSchemaLocation</H3> <PRE> public void <B>setSchemaLocation</B>(java.lang.String pValue) throws <A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></PRE> <DL> <DD><p>Sets the schema location. The marshaller will use this to create an attribute <code>xsi:schemaLocation</code>. Equivalent to <code>setProperty(JAXB_SCHEMA_LOCATION, pValue)</code>. Defaults to null, in which case the attribute isn't created.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(String, Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getSchemaLocation()"><CODE>getSchemaLocation()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getSchemaLocation()"><!-- --></A><H3> getSchemaLocation</H3> <PRE> public java.lang.String <B>getSchemaLocation</B>()</PRE> <DL> <DD><p>Returns the schema location. The marshaller will use this to create an attribute <code>xsi:schemaLocation</code>. Equivalent to <code>setProperty(JAXB_SCHEMA_LOCATION, pValue)</code>. Defaults to null, in which case the attribute isn't created.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(String, Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setSchemaLocation(java.lang.String)"><CODE>setSchemaLocation(String)</CODE></A></DL> </DD> </DL> <HR> <A NAME="setNoNamespaceSchemaLocation(java.lang.String)"><!-- --></A><H3> setNoNamespaceSchemaLocation</H3> <PRE> public void <B>setNoNamespaceSchemaLocation</B>(java.lang.String pValue) throws <A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></PRE> <DL> <DD><p>Sets the schema location without namespace. The marshaller will use this to create an attribute <code>xsi:noNamespaceSchemaLocation</code>. Equivalent to <code>setProperty(JAXB_NO_NAMESPACE_SCHEMA_LOCATION, pValue)</code>. Defaults to null, in which case the attribute isn't created.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(String, Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#getNoNamespaceSchemaLocation()"><CODE>getNoNamespaceSchemaLocation()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getNoNamespaceSchemaLocation()"><!-- --></A><H3> getNoNamespaceSchemaLocation</H3> <PRE> public java.lang.String <B>getNoNamespaceSchemaLocation</B>()</PRE> <DL> <DD><p>Returns the schema location. The marshaller will use this to create an attribute <code>xsi:noNamespaceSchemaLocation</code>. Equivalent to <code>setProperty(JAXB_SCHEMA_LOCATION, pValue)</code>. Defaults to null, in which case the attribute isn't created.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setProperty(java.lang.String, java.lang.Object)"><CODE>setProperty(String, Object)</CODE></A>, <A HREF="../../../../../org/apache/ws/jaxme/impl/JMMarshallerImpl.html#setNoNamespaceSchemaLocation(java.lang.String)"><CODE>setNoNamespaceSchemaLocation(String)</CODE></A></DL> </DD> </DL> <HR> <A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3> setProperty</H3> <PRE> public void <B>setProperty</B>(java.lang.String pProperty, java.lang.Object pValue) throws <A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setProperty(java.lang.String, java.lang.Object)">JMControllerImpl</A></CODE></B></DD> <DD>Sets the property <code>pProperty</code> to the value <code>pValue</code>. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></CODE> in class <CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl">JMControllerImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pProperty</CODE> - The property name. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></CODE> - An error occurred while processing the property.</DL> </DD> </DL> <HR> <A NAME="getProperty(java.lang.String)"><!-- --></A><H3> getProperty</H3> <PRE> public java.lang.Object <B>getProperty</B>(java.lang.String pProperty) throws <A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></PRE> <DL> <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getProperty(java.lang.String)">JMControllerImpl</A></CODE></B></DD> <DD>Returns the value for property <code>pProperty</code>. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#getProperty(java.lang.String)">getProperty</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html#getProperty(java.lang.String)">getProperty</A></CODE> in class <CODE><A HREF="../../../../../org/apache/ws/jaxme/impl/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl">JMControllerImpl</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pProperty</CODE> - The property name. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/PropertyException.html" title="class in javax.xml.bind">PropertyException</A></CODE> - An error occurred while processing the property.</DL> </DD> </DL> <HR> <A NAME="marshal(java.lang.Object, java.io.OutputStream)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object pObject, java.io.OutputStream pStream) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, java.io.OutputStream)">Marshaller</A></CODE></B></DD> <DD><p>Marshals the given JAXB object <code>pObject</code> and serializes it into the byte stream <code>pTarget</code>. Note, that serialization into a byte stream demands the use of an encoding. It may be required to set the parameter <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING"><CODE>Marshaller.JAXB_ENCODING</CODE></A>. By default the created output is formatted, which may be turned off using <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_FORMATTED_OUTPUT"><CODE>Marshaller.JAXB_FORMATTED_OUTPUT</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, java.io.OutputStream)">marshal</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pObject</CODE> - The JAXB object being marshalled.<DD><CODE>pStream</CODE> - The output byte stream. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE> - An unexpected problem occurred. This may be used, for example, to throw a nested <CODE>IOException</CODE>. <DD><CODE><A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind">MarshalException</A></CODE> - Whereever possible, one should prefer the <A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind"><CODE>MarshalException</CODE></A> over the <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind"><CODE>JAXBException</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING"><CODE>Marshaller.JAXB_ENCODING</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_FORMATTED_OUTPUT"><CODE>Marshaller.JAXB_FORMATTED_OUTPUT</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A></DL> </DD> </DL> <HR> <A NAME="marshal(java.lang.Object, org.xml.sax.ContentHandler)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object pObject, org.xml.sax.ContentHandler pHandler) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, org.xml.sax.ContentHandler)">Marshaller</A></CODE></B></DD> <DD><p>Marshals the given JAXB object by emitting SAX events into into the given SAX <CODE>ContentHandler</CODE>. This includes the events <CODE>ContentHandler.startDocument()</CODE> and <CODE>ContentHandler.endDocument()</CODE>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, org.xml.sax.ContentHandler)">marshal</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pObject</CODE> - The JAXB Object being marshalled.<DD><CODE>pHandler</CODE> - The target event handler. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE> - An unexpected problem occurred. This may be used, for example, to throw a nested <CODE>SAXException</CODE>. <DD><CODE><A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind">MarshalException</A></CODE> - Whereever possible, one should prefer the <A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind"><CODE>MarshalException</CODE></A> over the <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind"><CODE>JAXBException</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A></DL> </DD> </DL> <HR> <A NAME="marshal(java.lang.Object, java.io.Writer)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object pObject, java.io.Writer pWriter) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, java.io.Writer)">Marshaller</A></CODE></B></DD> <DD><p>Marshals the given JAXB object <code>pObject</code> and serializes it into the character stream <code>pTarget</code>. Unlike serialization to a byte stream, an encoding is not required, but a <code>Marshaller</code> may use the encoding whether to escape a character or not. Use of the <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING"><CODE>Marshaller.JAXB_ENCODING</CODE></A> property is still recommended. By default the created output is formatted, which may be turned off using <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_FORMATTED_OUTPUT"><CODE>Marshaller.JAXB_FORMATTED_OUTPUT</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, java.io.Writer)">marshal</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pObject</CODE> - The JAXB object being marshalled.<DD><CODE>pWriter</CODE> - The output character stream. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE> - An unexpected problem occurred. This may be used, for example, to throw a nested <CODE>IOException</CODE>. <DD><CODE><A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind">MarshalException</A></CODE> - Whereever possible, one should prefer the <A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind"><CODE>MarshalException</CODE></A> over the <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind"><CODE>JAXBException</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_ENCODING"><CODE>Marshaller.JAXB_ENCODING</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_FORMATTED_OUTPUT"><CODE>Marshaller.JAXB_FORMATTED_OUTPUT</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A></DL> </DD> </DL> <HR> <A NAME="marshal(java.lang.Object, org.w3c.dom.Node)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object pObject, org.w3c.dom.Node pNode) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, org.w3c.dom.Node)">Marshaller</A></CODE></B></DD> <DD><p>Marshals the given JAXB object by creating a DOM tree below the given node.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, org.w3c.dom.Node)">marshal</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pObject</CODE> - The JAXB object being marshalled.<DD><CODE>pNode</CODE> - The target node. This node must be ready to accept a child element. For example, it may be a <CODE>Document</CODE>, a <CODE>DocumentFragment</CODE>, or an <CODE>Element</CODE>. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE> - An unexpected problem occurred. This may be used, for example, to throw a nested <CODE>DOMException</CODE>. <DD><CODE><A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind">MarshalException</A></CODE> - Whereever possible, one should prefer the <A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind"><CODE>MarshalException</CODE></A> over the <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind"><CODE>JAXBException</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A></DL> </DD> </DL> <HR> <A NAME="marshal(java.lang.Object, javax.xml.transform.Result)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object pObject, javax.xml.transform.Result pResult) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, javax.xml.transform.Result)">Marshaller</A></CODE></B></DD> <DD><p>Marshals the given JAXB object <code>pObject</code> to the <CODE>Result</CODE> <code>pTarget</code>. All JAXB provider must support <CODE>DOMResult</CODE>, <CODE>SAXResult</CODE>, and <CODE>StreamResult</CODE>, which can easily be mapped to <A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, org.w3c.dom.Node)"><CODE>Marshaller.marshal(Object, org.w3c.dom.Node)</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, org.xml.sax.ContentHandler)"><CODE>Marshaller.marshal(Object, org.xml.sax.ContentHandler)</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, java.io.OutputStream)"><CODE>Marshaller.marshal(Object,java.io.OutputStream)</CODE></A>, or <A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, java.io.Writer)"><CODE>Marshaller.marshal(Object,java.io.Writer)</CODE></A>. The use of a <CODE>Result</CODE> as a target isn't portable beyond these subinterfaces.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#marshal(java.lang.Object, javax.xml.transform.Result)">marshal</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pObject</CODE> - The JAXB object being marshalled.<DD><CODE>pResult</CODE> - The <CODE>Result</CODE> being created. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE> - An unexcpected problem occurred. This may be used, for example, to throw a nested <CODE>IOException</CODE>. <DD><CODE><A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind">MarshalException</A></CODE> - Whereever possible, one should throw a <A HREF="../../../../../javax/xml/bind/MarshalException.html" title="class in javax.xml.bind"><CODE>MarshalException</CODE></A>, and not a <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind"><CODE>JAXBException</CODE></A>.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_SCHEMA_LOCATION</CODE></A>, <A HREF="../../../../../javax/xml/bind/Marshaller.html#JAXB_NO_NAMESPACE_SCHEMA_LOCATION"><CODE>Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION</CODE></A></DL> </DD> </DL> <HR> <A NAME="getNode(java.lang.Object)"><!-- --></A><H3> getNode</H3> <PRE> public org.w3c.dom.Node <B>getNode</B>(java.lang.Object contentTree) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#getNode(java.lang.Object)">Marshaller</A></CODE></B></DD> <DD><p>Returns a DOM view of the given JAXB object. This view is life in the sense that modifications of its DOM tree will trigger updates on the original JAXB object.</p> <p><em>Note</em>: This is an optional feature and not supported by all JAXB providers.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html#getNode(java.lang.Object)">getNode</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/bind/Marshaller.html" title="interface in javax.xml.bind">Marshaller</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>contentTree</CODE> - The JAXB object being viewed. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></CODE> - An unexpected problem occurred. This may be used, for example, to throw a nested <CODE>DOMException</CODE>.</DL> </DD> </DL> <HR> <A NAME="marshal(java.lang.Object, java.io.File)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object jaxbElement, java.io.File output) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><DL> </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="marshal(java.lang.Object, javax.xml.stream.XMLStreamWriter)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object jaxbElement, javax.xml.stream.XMLStreamWriter writer) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><DL> </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="marshal(java.lang.Object, javax.xml.stream.XMLEventWriter)"><!-- --></A><H3> marshal</H3> <PRE> public void <B>marshal</B>(java.lang.Object jaxbElement, javax.xml.stream.XMLEventWriter writer) throws <A HREF="../../../../../javax/xml/bind/JAXBException.html" title="class in javax.xml.bind">JAXBException</A></PRE> <DL> <DD><DL> </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="setAdapter(javax.xml.bind.annotation.adapters.XmlAdapter)"><!-- --></A><H3> setAdapter</H3> <PRE> public void <B>setAdapter</B>(javax.xml.bind.annotation.adapters.XmlAdapter adapter)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAdapter(java.lang.Class, javax.xml.bind.annotation.adapters.XmlAdapter)"><!-- --></A><H3> setAdapter</H3> <PRE> public void <B>setAdapter</B>(java.lang.Class type, javax.xml.bind.annotation.adapters.XmlAdapter adapter)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getAdapter(java.lang.Class)"><!-- --></A><H3> getAdapter</H3> <PRE> public javax.xml.bind.annotation.adapters.XmlAdapter <B>getAdapter</B>(java.lang.Class type)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller)"><!-- --></A><H3> setAttachmentMarshaller</H3> <PRE> public void <B>setAttachmentMarshaller</B>(javax.xml.bind.attachment.AttachmentMarshaller am)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getAttachmentMarshaller()"><!-- --></A><H3> getAttachmentMarshaller</H3> <PRE> public javax.xml.bind.attachment.AttachmentMarshaller <B>getAttachmentMarshaller</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setSchema(javax.xml.validation.Schema)"><!-- --></A><H3> setSchema</H3> <PRE> public void <B>setSchema</B>(javax.xml.validation.Schema schema)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getSchema()"><!-- --></A><H3> getSchema</H3> <PRE> public javax.xml.validation.Schema <B>getSchema</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setListener(Listener)"><!-- --></A><H3> setListener</H3> <PRE> public void <B>setListener</B>(Listener listener)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getListener()"><!-- --></A><H3> getListener</H3> <PRE> public Listener <B>getListener</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </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/JMControllerImpl.html" title="class in org.apache.ws.jaxme.impl"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/ws/jaxme/impl/JMPIImpl.html" title="class in org.apache.ws.jaxme.impl"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/ws/jaxme/impl/JMMarshallerImpl.html" target="_top"><B>FRAMES</B></A> <A HREF="JMMarshallerImpl.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>