source: branches/objectmq_old/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/tools/json/JSONSerializable.html

Last change on this file was 9, checked in by stoda, 12 years ago

First commit

File size: 8.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_18) on Tue Dec 11 11:47:10 GMT 2012 -->
6<TITLE>
7JSONSerializable
8</TITLE>
9
10<META NAME="date" CONTENT="2012-12-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="JSONSerializable";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47  </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51</EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57&nbsp;<A HREF="../../../../com/rabbitmq/tools/json/JSONReader.html" title="class in com.rabbitmq.tools.json"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../../com/rabbitmq/tools/json/JSONUtil.html" title="class in com.rabbitmq.tools.json"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../../index.html?com/rabbitmq/tools/json/JSONSerializable.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="JSONSerializable.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<SCRIPT type="text/javascript">
63  <!--
64  if(window==top) {
65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66  }
67  //-->
68</SCRIPT>
69<NOSCRIPT>
70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90com.rabbitmq.tools.json</FONT>
91<BR>
92Interface JSONSerializable</H2>
93<HR>
94<DL>
95<DT><PRE>public interface <B>JSONSerializable</B></DL>
96</PRE>
97
98<P>
99Interface for classes that wish to control their own serialization.
100<P>
101
102<P>
103<HR>
104
105<P>
106
107<!-- ========== METHOD SUMMARY =========== -->
108
109<A NAME="method_summary"><!-- --></A>
110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113<B>Method Summary</B></FONT></TH>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117<CODE>&nbsp;void</CODE></FONT></TD>
118<TD><CODE><B><A HREF="../../../../com/rabbitmq/tools/json/JSONSerializable.html#jsonSerialize(com.rabbitmq.tools.json.JSONWriter)">jsonSerialize</A></B>(<A HREF="../../../../com/rabbitmq/tools/json/JSONWriter.html" title="class in com.rabbitmq.tools.json">JSONWriter</A>&nbsp;w)</CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called during serialization to JSON.</TD>
122</TR>
123</TABLE>
124&nbsp;
125<P>
126
127<!-- ============ METHOD DETAIL ========== -->
128
129<A NAME="method_detail"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
133<B>Method Detail</B></FONT></TH>
134</TR>
135</TABLE>
136
137<A NAME="jsonSerialize(com.rabbitmq.tools.json.JSONWriter)"><!-- --></A><H3>
138jsonSerialize</H3>
139<PRE>
140void <B>jsonSerialize</B>(<A HREF="../../../../com/rabbitmq/tools/json/JSONWriter.html" title="class in com.rabbitmq.tools.json">JSONWriter</A>&nbsp;w)</PRE>
141<DL>
142<DD>Called during serialization to JSON.
143<P>
144<DD><DL>
145</DL>
146</DD>
147</DL>
148<!-- ========= END OF CLASS DATA ========= -->
149<HR>
150
151
152<!-- ======= START OF BOTTOM NAVBAR ====== -->
153<A NAME="navbar_bottom"><!-- --></A>
154<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
155<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
156<TR>
157<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
158<A NAME="navbar_bottom_firstrow"><!-- --></A>
159<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
160  <TR ALIGN="center" VALIGN="top">
161  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
162  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
163  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
164  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
165  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
166  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
167  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
168  </TR>
169</TABLE>
170</TD>
171<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
172</EM>
173</TD>
174</TR>
175
176<TR>
177<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
178&nbsp;<A HREF="../../../../com/rabbitmq/tools/json/JSONReader.html" title="class in com.rabbitmq.tools.json"><B>PREV CLASS</B></A>&nbsp;
179&nbsp;<A HREF="../../../../com/rabbitmq/tools/json/JSONUtil.html" title="class in com.rabbitmq.tools.json"><B>NEXT CLASS</B></A></FONT></TD>
180<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
181  <A HREF="../../../../index.html?com/rabbitmq/tools/json/JSONSerializable.html" target="_top"><B>FRAMES</B></A>  &nbsp;
182&nbsp;<A HREF="JSONSerializable.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
183&nbsp;<SCRIPT type="text/javascript">
184  <!--
185  if(window==top) {
186    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
187  }
188  //-->
189</SCRIPT>
190<NOSCRIPT>
191  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
192</NOSCRIPT>
193
194
195</FONT></TD>
196</TR>
197<TR>
198<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
199  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
200<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
201DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
202</TR>
203</TABLE>
204<A NAME="skip-navbar_bottom"></A>
205<!-- ======== END OF BOTTOM NAVBAR ======= -->
206
207<HR>
208
209</BODY>
210</HTML>
Note: See TracBrowser for help on using the repository browser.