Code Search for Developers
 
 
  

XMLSerializer.html from Citizen Privacy Service at Krugle


Show XMLSerializer.html syntax highlighted

<!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.5.0-beta2) on Tue Apr 17 12:40:26 EDT 2007 -->
<TITLE>
XMLSerializer
</TITLE>

<META NAME="keywords" CONTENT="org.rickmurphy.exchangepackage.disclosure.impl.runtime.XMLSerializer interface">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="XMLSerializer";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= 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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializable.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XMLSerializer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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.rickmurphy.exchangepackage.disclosure.impl.runtime</FONT>
<BR>
Interface XMLSerializer</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/MSVValidator.html" title="class in org.rickmurphy.exchangepackage.disclosure.impl.runtime">MSVValidator</A>, <A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/SAXMarshaller.html" title="class in org.rickmurphy.exchangepackage.disclosure.impl.runtime">SAXMarshaller</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>XMLSerializer</B></DL>
</PRE>

<P>
Receives XML serialization event
 
 <p>
 This object coordinates the overall marshalling efforts across different
 content-tree objects and different target formats.
 
 <p>
 The following CFG gives the proper sequence of method invocation.
 
 <pre>
 MARSHALLING  :=  ELEMENT
 ELEMENT      :=  "startElement" NSDECL* "endNamespaceDecls"
                        ATTRIBUTE* "endAttributes" BODY "endElement"
 
 NSDECL       :=  "declareNamespace"
 
 ATTRIBUTE    :=  "startAttribute" ATTVALUES "endAttribute"
 ATTVALUES    :=  "text"*
 
 
 BODY         :=  ( "text" | ELEMENT )*
 </pre>
 
 <p>
 A marshalling of one element consists of two stages. The first stage is
 for marshalling attributes and collecting namespace declarations.
 The second stage is for marshalling characters/child elements of that element.
 
 <p>
 Observe that multiple invocation of "text" is allowed.
 
 <p>
 Also observe that the namespace declarations are allowed only between
 "startElement" and "endAttributes".
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Kohsuke Kawaguchi</DD>
</DL>
<HR>

<P>

<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#childAsAttributes(com.sun.xml.bind.JAXBObject, java.lang.String)">childAsAttributes</A></B>(com.sun.xml.bind.JAXBObject&nbsp;o,
                  java.lang.String&nbsp;fieldName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when an JAXBObject object is found
 while the marshaller is in the "attribute" mode (i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#childAsBody(com.sun.xml.bind.JAXBObject, java.lang.String)">childAsBody</A></B>(com.sun.xml.bind.JAXBObject&nbsp;o,
            java.lang.String&nbsp;fieldName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when an JAXBObject object is found
 while the marshaller is in the "element" mode (i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#childAsURIs(com.sun.xml.bind.JAXBObject, java.lang.String)">childAsURIs</A></B>(com.sun.xml.bind.JAXBObject&nbsp;o,
            java.lang.String&nbsp;fieldName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when an JAXBObject object is found
 while the marshaller is in the "URI" mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#endAttribute()">endAttribute</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#endAttributes()">endAttributes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switches to the mode to marshal child texts/elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#endElement()">endElement</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ends marshalling of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#endNamespaceDecls()">endNamespaceDecls</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switches to the mode to marshal attribute values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/NamespaceContext2.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">NamespaceContext2</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#getNamespaceContext()">getNamespaceContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains a namespace context object, which is used to
 declare/obtain namespace bindings.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#onID(com.sun.xml.bind.marshaller.IdentifiableObject, java.lang.String)">onID</A></B>(com.sun.xml.bind.marshaller.IdentifiableObject&nbsp;owner,
     java.lang.String&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies the serializer that an ID value has just marshalled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#onIDREF(com.sun.xml.bind.marshaller.IdentifiableObject)">onIDREF</A></B>(com.sun.xml.bind.marshaller.IdentifiableObject&nbsp;obj)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies the serializer that an IDREF value has just marshalled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#reportError(javax.xml.bind.ValidationEvent)">reportError</A></B>(javax.xml.bind.ValidationEvent&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Errors detected by the XMLSerializable should be either thrown
 as <CODE>SAXException</CODE> or reported through this method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#startAttribute(java.lang.String, java.lang.String)">startAttribute</A></B>(java.lang.String&nbsp;uri,
               java.lang.String&nbsp;local)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts marshalling of an attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#startElement(java.lang.String, java.lang.String)">startElement</A></B>(java.lang.String&nbsp;uri,
             java.lang.String&nbsp;local)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts marshalling of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html#text(java.lang.String, java.lang.String)">text</A></B>(java.lang.String&nbsp;text,
     java.lang.String&nbsp;fieldName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marshalls text.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ 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="reportError(javax.xml.bind.ValidationEvent)"><!-- --></A><H3>
reportError</H3>
<PRE>
void <B>reportError</B>(javax.xml.bind.ValidationEvent&nbsp;e)
                 throws com.sun.xml.bind.serializer.AbortSerializationException</PRE>
<DL>
<DD>Errors detected by the XMLSerializable should be either thrown
 as <CODE>SAXException</CODE> or reported through this method.
 
 The callee should report an error to the client application
 and
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>com.sun.xml.bind.serializer.AbortSerializationException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="startElement(java.lang.String, java.lang.String)"><!-- --></A><H3>
startElement</H3>
<PRE>
void <B>startElement</B>(java.lang.String&nbsp;uri,
                  java.lang.String&nbsp;local)
                  throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Starts marshalling of an element.
 Calling this method will push the internal state into the
 internal stack.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="endNamespaceDecls()"><!-- --></A><H3>
endNamespaceDecls</H3>
<PRE>
void <B>endNamespaceDecls</B>()
                       throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Switches to the mode to marshal attribute values.
 This method has to be called after the 1st pass is completed.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="endAttributes()"><!-- --></A><H3>
endAttributes</H3>
<PRE>
void <B>endAttributes</B>()
                   throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Switches to the mode to marshal child texts/elements.
 This method has to be called after the 2nd pass is completed.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="endElement()"><!-- --></A><H3>
endElement</H3>
<PRE>
void <B>endElement</B>()
                throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Ends marshalling of an element.
 Pops the internal stack.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="text(java.lang.String, java.lang.String)"><!-- --></A><H3>
text</H3>
<PRE>
void <B>text</B>(java.lang.String&nbsp;text,
          java.lang.String&nbsp;fieldName)
          throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Marshalls text.
 
 <p>
 This method can be called (i) after the startAttribute method
 and (ii) before the endAttribute method, to marshal attribute values.
 If the method is called more than once, those texts are considered
 as separated by whitespaces. For example,
 
 <pre>
 c.startAttribute();
 c.text("abc");
 c.text("def");
 c.endAttribute("","foo");
 </pre>
 
 will generate foo="abc def".
 
 <p>
 Similarly, this method can be called after the endAttributes
 method to marshal texts inside elements. The same rule about
 multiple invokations apply to this case, too. For example,
 
 <pre>
 c.startElement("","foo");
 c.endNamespaceDecls();
 c.endAttributes();
 c.text("abc");
 c.text("def");
   c.startElement("","bar");
   c.endAttributes();
   c.endElement();
 c.text("ghi");
 c.endElement();
 </pre>
 
 will generate <code>&lt;foo>abc def&lt;bar/>ghi&lt;/foo></code>.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="startAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
startAttribute</H3>
<PRE>
void <B>startAttribute</B>(java.lang.String&nbsp;uri,
                    java.lang.String&nbsp;local)
                    throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Starts marshalling of an attribute.
 
 The marshalling of an attribute will be done by
 <ol>
  <li>call the startAttribute method
  <li>call the text method (several times if necessary)
  <li>call the endAttribute method
 </ol>
 
 No two attributes can be marshalled at the same time.
 Note that the whole attribute marshalling must be happened
 after the startElement method and before the endAttributes method.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="endAttribute()"><!-- --></A><H3>
endAttribute</H3>
<PRE>
void <B>endAttribute</B>()
                  throws org.xml.sax.SAXException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getNamespaceContext()"><!-- --></A><H3>
getNamespaceContext</H3>
<PRE>
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/NamespaceContext2.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">NamespaceContext2</A> <B>getNamespaceContext</B>()</PRE>
<DL>
<DD>Obtains a namespace context object, which is used to
 declare/obtain namespace bindings.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="onID(com.sun.xml.bind.marshaller.IdentifiableObject, java.lang.String)"><!-- --></A><H3>
onID</H3>
<PRE>
java.lang.String <B>onID</B>(com.sun.xml.bind.marshaller.IdentifiableObject&nbsp;owner,
                      java.lang.String&nbsp;value)
                      throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Notifies the serializer that an ID value has just marshalled.
 
 The serializer may or may not check the consistency of ID/IDREFs
 and may throw a SAXException.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - JAXB content object that posesses the ID.<DD><CODE>value</CODE> - The value of the ID.
<DT><B>Returns:</B><DD>Return the value parameter without any modification,
      so that the invocation of this method can be done transparently
      by a transducer.
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="onIDREF(com.sun.xml.bind.marshaller.IdentifiableObject)"><!-- --></A><H3>
onIDREF</H3>
<PRE>
java.lang.String <B>onIDREF</B>(com.sun.xml.bind.marshaller.IdentifiableObject&nbsp;obj)
                         throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Notifies the serializer that an IDREF value has just marshalled.
 
 The serializer may or may not check the consistency of ID/IDREFs
 and may throw a SAXException.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>Return the value parameter without any modification.
      so that the invocation of this method can be done transparently
      by a transducer.
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="childAsBody(com.sun.xml.bind.JAXBObject, java.lang.String)"><!-- --></A><H3>
childAsBody</H3>
<PRE>
void <B>childAsBody</B>(com.sun.xml.bind.JAXBObject&nbsp;o,
                 java.lang.String&nbsp;fieldName)
                 throws org.xml.sax.SAXException</PRE>
<DL>
<DD>This method is called when an JAXBObject object is found
 while the marshaller is in the "element" mode (i.e. marshalling
 a content model of an element)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - property name of the parent objeect from which 'o' comes.
      Used as a part of the error message in case anything goes wrong
      with 'o'.
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="childAsAttributes(com.sun.xml.bind.JAXBObject, java.lang.String)"><!-- --></A><H3>
childAsAttributes</H3>
<PRE>
void <B>childAsAttributes</B>(com.sun.xml.bind.JAXBObject&nbsp;o,
                       java.lang.String&nbsp;fieldName)
                       throws org.xml.sax.SAXException</PRE>
<DL>
<DD>This method is called when an JAXBObject object is found
 while the marshaller is in the "attribute" mode (i.e. marshalling
 attributes of an element)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - property name of the parent objeect from which 'o' comes.
      Used as a part of the error message in case anything goes wrong
      with 'o'.
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="childAsURIs(com.sun.xml.bind.JAXBObject, java.lang.String)"><!-- --></A><H3>
childAsURIs</H3>
<PRE>
void <B>childAsURIs</B>(com.sun.xml.bind.JAXBObject&nbsp;o,
                 java.lang.String&nbsp;fieldName)
                 throws org.xml.sax.SAXException</PRE>
<DL>
<DD>This method is called when an JAXBObject object is found
 while the marshaller is in the "URI" mode.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fieldName</CODE> - property name of the parent objeect from which 'o' comes.
      Used as a part of the error message in case anything goes wrong
      with 'o'.
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializable.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../../index.html?org/rickmurphy/exchangepackage/disclosure/impl/runtime/XMLSerializer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XMLSerializer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>




See more files for this project here

Citizen Privacy Service

The Citizen Privacy Service is an asynchronous component using artificial intelligence capabilities including DL decidability and first order logic provenance that provide policy decision and policy enforcement points based on the US Privacy Act of 1974.

Project homepage: http://sourceforge.net/projects/us-privacy
Programming language(s): Java,XML
License: bsd

  AbstractUnmarshallingEventHandlerImpl.html
  ContentHandlerAdaptor.html
  DefaultJAXBContextImpl.html
  ErrorHandlerAdaptor.html
  GrammarInfo.html
  GrammarInfoImpl.html
  MSVValidator.html
  MarshallerImpl.html
  NamespaceContext2.html
  NamespaceContextImpl.html
  PrefixCallback.html
  SAXMarshaller.html
  SAXUnmarshallerHandler.html
  SAXUnmarshallerHandlerImpl.html
  UnmarshallableObject.html
  UnmarshallerImpl.html
  UnmarshallingContext.html
  UnmarshallingEventHandler.html
  UnmarshallingEventHandlerAdaptor.html
  Util.html
  ValidatableObject.html
  ValidatingUnmarshaller.html
  ValidatorImpl.html
  XMLSerializable.html
  XMLSerializer.html
  package-frame.html
  package-summary.html
  package-tree.html