Commiting JavaDoc for the 1.3 Release.
This commit is contained in:
parent
84f0ddd6bb
commit
f9b1225581
@ -2,13 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
All Classes (Gson 1.3b3 API)
|
All Classes (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
All Classes (Gson 1.3b3 API)
|
All Classes (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:32 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
FieldNamingPolicy (Gson 1.3b3 API)
|
FieldNamingPolicy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.FieldNamingPolicy class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="FieldNamingPolicy (Gson 1.3 API)";
|
||||||
parent.document.title="FieldNamingPolicy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,16 +90,16 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Enum FieldNamingPolicy</H2>
|
Enum FieldNamingPolicy</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.FieldNamingPolicy</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.FieldNamingPolicy</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>></DD>
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A><<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>></DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public enum <B>FieldNamingPolicy</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>></DL>
|
<DT><PRE>public enum <B>FieldNamingPolicy</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang">Enum</A><<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -115,7 +112,7 @@ An enumeration that defines a few standard naming conventions for JSON field nam
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Joel Leitch</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -155,7 +152,7 @@ An enumeration that defines a few standard naming conventions for JSON field nam
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A></CODE></FONT></TD>
|
<CODE>static <A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/FieldNamingPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/FieldNamingPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the enum constant of this type with the specified name.</TD>
|
Returns the enum constant of this type with the specified name.</TD>
|
||||||
@ -167,25 +164,25 @@ An enumeration that defines a few standard naming conventions for JSON field nam
|
|||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns an array containing the constants of this enum type, in
|
Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared.</TD>
|
the order they're declared.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang">Enum</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -253,20 +250,20 @@ public static final <A HREF="../../../com/google/gson/FieldNamingPolicy.html" ti
|
|||||||
<A NAME="values()"><!-- --></A><H3>
|
<A NAME="values()"><!-- --></A><H3>
|
||||||
values</H3>
|
values</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>[] <B>values</B>()</PRE>
|
public static final <A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>[] <B>values</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns an array containing the constants of this enum type, in
|
<DD>Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared. This method may be used to iterate
|
the order they're declared. This method may be used to iterate
|
||||||
over the constants as follows:
|
over the constants as follows:
|
||||||
<pre>
|
<pre>
|
||||||
for (FieldNamingPolicy c : FieldNamingPolicy.values())
|
for(FieldNamingPolicy c : FieldNamingPolicy.values())
|
||||||
System.out.println(c);
|
System.out.println(c);
|
||||||
</pre>
|
</pre>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
|
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
|
||||||
the order they are declared</DL>
|
the order they're declared</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -274,7 +271,7 @@ the order they are declared</DL>
|
|||||||
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
|
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
|
||||||
valueOf</H3>
|
valueOf</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE>
|
public static <A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the enum constant of this type with the specified name.
|
<DD>Returns the enum constant of this type with the specified name.
|
||||||
The string must match <I>exactly</I> an identifier used to declare an
|
The string must match <I>exactly</I> an identifier used to declare an
|
||||||
@ -285,9 +282,8 @@ not permitted.)
|
|||||||
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
|
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
|
||||||
<DT><B>Returns:</B><DD>the enum constant with the specified name
|
<DT><B>Returns:</B><DD>the enum constant with the specified name
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
|
||||||
with the specified name
|
with the specified name</DL>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
|
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
FieldNamingStrategy (Gson 1.3b3 API)
|
FieldNamingStrategy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.FieldNamingStrategy interface">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="FieldNamingStrategy (Gson 1.3 API)";
|
||||||
parent.document.title="FieldNamingStrategy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -108,7 +105,7 @@ A mechanism for providing custom field naming in Gson. This allows the client c
|
|||||||
<DT><B>Since:</B></DT>
|
<DT><B>Since:</B></DT>
|
||||||
<DD>1.3</DD>
|
<DD>1.3</DD>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Joel Leitch</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -124,8 +121,8 @@ A mechanism for providing custom field naming in Gson. This allows the client c
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/FieldNamingStrategy.html#translateName(java.lang.reflect.Field)">translateName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</A> f)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/FieldNamingStrategy.html#translateName(java.lang.reflect.Field)">translateName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Field.html" title="class or interface in java.lang.reflect">Field</A> f)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Translates the field name into its JSON field name representation.</TD>
|
Translates the field name into its JSON field name representation.</TD>
|
||||||
@ -147,7 +144,7 @@ A mechanism for providing custom field naming in Gson. This allows the client c
|
|||||||
<A NAME="translateName(java.lang.reflect.Field)"><!-- --></A><H3>
|
<A NAME="translateName(java.lang.reflect.Field)"><!-- --></A><H3>
|
||||||
translateName</H3>
|
translateName</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>translateName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</A> f)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>translateName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Field.html" title="class or interface in java.lang.reflect">Field</A> f)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Translates the field name into its JSON field name representation.
|
<DD>Translates the field name into its JSON field name representation.
|
||||||
<P>
|
<P>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Gson (Gson 1.3b3 API)
|
Gson (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.Gson class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Gson (Gson 1.3 API)";
|
||||||
parent.document.title="Gson (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,12 +90,12 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class Gson</H2>
|
Class Gson</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.Gson</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.Gson</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public final class <B>Gson</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
|
<DT><PRE>public final class <B>Gson</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -183,7 +180,7 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.Class)">fromJson</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.Class)">fromJson</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified parse tree into an object of the
|
This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -200,7 +197,7 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified parse tree into an object of the
|
This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -216,8 +213,8 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified reader into an object of the
|
This method deserializes the Json read from the specified reader into an object of the
|
||||||
@ -233,8 +230,8 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified reader into an object of the
|
This method deserializes the Json read from the specified reader into an object of the
|
||||||
@ -250,8 +247,8 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the specified Json into an object of the specified class.</TD>
|
This method deserializes the specified Json into an object of the specified class.</TD>
|
||||||
@ -266,16 +263,16 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the specified Json into an object of the specified type.</TD>
|
This method deserializes the specified Json into an object of the specified type.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method serializes the specified object into its equivalent Json representation.</TD>
|
This method serializes the specified object into its equivalent Json representation.</TD>
|
||||||
@ -283,17 +280,17 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.Appendable)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.Appendable)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</A> writer)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html" title="class or interface in java.lang">Appendable</A> writer)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method serializes the specified object into its equivalent Json representation.</TD>
|
This method serializes the specified object into its equivalent Json representation.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method serializes the specified object, including those of generic types, into its
|
This method serializes the specified object, including those of generic types, into its
|
||||||
@ -302,9 +299,9 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type, java.lang.Appendable)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type, java.lang.Appendable)">toJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</A> writer)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html" title="class or interface in java.lang">Appendable</A> writer)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method serializes the specified object, including those of generic types, into its
|
This method serializes the specified object, including those of generic types, into its
|
||||||
@ -312,7 +309,7 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/Gson.html#toString()">toString</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -322,10 +319,10 @@ This is the main class for using Gson. Gson is typically used by first construct
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -356,12 +353,12 @@ public <B>Gson</B>()</PRE>
|
|||||||
kept as is since an array is an ordered list. Moreover, if a field is not null, but its
|
kept as is since an array is an ordered list. Moreover, if a field is not null, but its
|
||||||
generated JSON is empty, the field is kept. You can configure Gson to serialize null values
|
generated JSON is empty, the field is kept. You can configure Gson to serialize null values
|
||||||
by setting <A HREF="../../../com/google/gson/GsonBuilder.html#serializeNulls()"><CODE>GsonBuilder.serializeNulls()</CODE></A>.</li>
|
by setting <A HREF="../../../com/google/gson/GsonBuilder.html#serializeNulls()"><CODE>GsonBuilder.serializeNulls()</CODE></A>.</li>
|
||||||
<li>Gson provides default serialization and deserialization for Enums, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>,
|
<li>Gson provides default serialization and deserialization for Enums, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html" title="class or interface in java.util"><CODE>Map</CODE></A>,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><CODE>URL</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><CODE>URI</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><CODE>Locale</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><CODE>Date</CODE></A>,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html" title="class or interface in java.net"><CODE>URL</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URI.html" title="class or interface in java.net"><CODE>URI</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html" title="class or interface in java.util"><CODE>Locale</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util"><CODE>Date</CODE></A>,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>, and <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A> classes. If you would prefer
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>, and <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A> classes. If you would prefer
|
||||||
to change the default representation, you can do so by registering a type adapter through
|
to change the default representation, you can do so by registering a type adapter through
|
||||||
<A HREF="../../../com/google/gson/GsonBuilder.html#registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)"><CODE>GsonBuilder.registerTypeAdapter(Type, Object)</CODE></A>. </li>
|
<A HREF="../../../com/google/gson/GsonBuilder.html#registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)"><CODE>GsonBuilder.registerTypeAdapter(Type, Object)</CODE></A>. </li>
|
||||||
<li>The default Date format is same as <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html?is-external=true#DEFAULT" title="class or interface in java.text"><CODE>DateFormat.DEFAULT</CODE></A>. This format
|
<li>The default Date format is same as <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html#DEFAULT" title="class or interface in java.text"><CODE>DateFormat.DEFAULT</CODE></A>. This format
|
||||||
ignores the millisecond portion of the date during serialization. You can change
|
ignores the millisecond portion of the date during serialization. You can change
|
||||||
this by invoking <A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(int)"><CODE>GsonBuilder.setDateFormat(int)</CODE></A> or
|
this by invoking <A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(int)"><CODE>GsonBuilder.setDateFormat(int)</CODE></A> or
|
||||||
<A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(java.lang.String)"><CODE>GsonBuilder.setDateFormat(String)</CODE></A>. </li>
|
<A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(java.lang.String)"><CODE>GsonBuilder.setDateFormat(String)</CODE></A>. </li>
|
||||||
@ -394,16 +391,16 @@ public <B>Gson</B>()</PRE>
|
|||||||
<A NAME="toJson(java.lang.Object)"><!-- --></A><H3>
|
<A NAME="toJson(java.lang.Object)"><!-- --></A><H3>
|
||||||
toJson</H3>
|
toJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src)</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method serializes the specified object into its equivalent Json representation.
|
<DD>This method serializes the specified object into its equivalent Json representation.
|
||||||
This method should be used when the specified object is not a generic type. This method uses
|
This method should be used when the specified object is not a generic type. This method uses
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang"><CODE>Object.getClass()</CODE></A> to get the type for the specified object, but the
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang"><CODE>Object.getClass()</CODE></A> to get the type for the specified object, but the
|
||||||
<code>getClass()</code> loses the generic type information because of the Type Erasure feature
|
<code>getClass()</code> loses the generic type information because of the Type Erasure feature
|
||||||
of Java. Note that this method works fine if the any of the object fields are of generic type,
|
of Java. Note that this method works fine if the any of the object fields are of generic type,
|
||||||
just the object itself should not be of a generic type. If the object is of generic type, use
|
just the object itself should not be of a generic type. If the object is of generic type, use
|
||||||
<A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type)"><CODE>toJson(Object, Type)</CODE></A> instead. If you want to write out the object to a
|
<A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type)"><CODE>toJson(Object, Type)</CODE></A> instead. If you want to write out the object to a
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><CODE>Writer</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.Appendable)"><CODE>toJson(Object, Appendable)</CODE></A> instead.
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Writer.html" title="class or interface in java.io"><CODE>Writer</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.Appendable)"><CODE>toJson(Object, Appendable)</CODE></A> instead.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>src</CODE> - the object for which Json representation is to be created setting for Gson
|
<DT><B>Parameters:</B><DD><CODE>src</CODE> - the object for which Json representation is to be created setting for Gson
|
||||||
@ -415,13 +412,13 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is
|
|||||||
<A NAME="toJson(java.lang.Object, java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="toJson(java.lang.Object, java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
toJson</H3>
|
toJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method serializes the specified object, including those of generic types, into its
|
<DD>This method serializes the specified object, including those of generic types, into its
|
||||||
equivalent Json representation. This method must be used if the specified object is a generic
|
equivalent Json representation. This method must be used if the specified object is a generic
|
||||||
type. For non-generic objects, use <A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object)"><CODE>toJson(Object)</CODE></A> instead. If you want to write out
|
type. For non-generic objects, use <A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object)"><CODE>toJson(Object)</CODE></A> instead. If you want to write out
|
||||||
the object to a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang"><CODE>Appendable</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type, java.lang.Appendable)"><CODE>toJson(Object, Type, Appendable)</CODE></A> instead.
|
the object to a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html" title="class or interface in java.lang"><CODE>Appendable</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#toJson(java.lang.Object, java.lang.reflect.Type, java.lang.Appendable)"><CODE>toJson(Object, Type, Appendable)</CODE></A> instead.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>src</CODE> - the object for which JSON representation is to be created<DD><CODE>typeOfSrc</CODE> - The specific genericized type of src. You can obtain
|
<DT><B>Parameters:</B><DD><CODE>src</CODE> - the object for which JSON representation is to be created<DD><CODE>typeOfSrc</CODE> - The specific genericized type of src. You can obtain
|
||||||
@ -438,12 +435,12 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is
|
|||||||
<A NAME="toJson(java.lang.Object, java.lang.Appendable)"><!-- --></A><H3>
|
<A NAME="toJson(java.lang.Object, java.lang.Appendable)"><!-- --></A><H3>
|
||||||
toJson</H3>
|
toJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
public void <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</A> writer)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html" title="class or interface in java.lang">Appendable</A> writer)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method serializes the specified object into its equivalent Json representation.
|
<DD>This method serializes the specified object into its equivalent Json representation.
|
||||||
This method should be used when the specified object is not a generic type. This method uses
|
This method should be used when the specified object is not a generic type. This method uses
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang"><CODE>Object.getClass()</CODE></A> to get the type for the specified object, but the
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang"><CODE>Object.getClass()</CODE></A> to get the type for the specified object, but the
|
||||||
<code>getClass()</code> loses the generic type information because of the Type Erasure feature
|
<code>getClass()</code> loses the generic type information because of the Type Erasure feature
|
||||||
of Java. Note that this method works fine if the any of the object fields are of generic type,
|
of Java. Note that this method works fine if the any of the object fields are of generic type,
|
||||||
just the object itself should not be of a generic type. If the object is of generic type, use
|
just the object itself should not be of a generic type. If the object is of generic type, use
|
||||||
@ -460,9 +457,9 @@ public void <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/
|
|||||||
<A NAME="toJson(java.lang.Object, java.lang.reflect.Type, java.lang.Appendable)"><!-- --></A><H3>
|
<A NAME="toJson(java.lang.Object, java.lang.reflect.Type, java.lang.Appendable)"><!-- --></A><H3>
|
||||||
toJson</H3>
|
toJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
public void <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</A> writer)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Appendable.html" title="class or interface in java.lang">Appendable</A> writer)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method serializes the specified object, including those of generic types, into its
|
<DD>This method serializes the specified object, including those of generic types, into its
|
||||||
equivalent Json representation. This method must be used if the specified object is a generic
|
equivalent Json representation. This method must be used if the specified object is a generic
|
||||||
@ -484,8 +481,8 @@ public void <B>toJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/
|
|||||||
<A NAME="fromJson(java.lang.String, java.lang.Class)"><!-- --></A><H3>
|
<A NAME="fromJson(java.lang.String, java.lang.Class)"><!-- --></A><H3>
|
||||||
fromJson</H3>
|
fromJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json,
|
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method deserializes the specified Json into an object of the specified class. It is not
|
<DD>This method deserializes the specified Json into an object of the specified class. It is not
|
||||||
@ -494,7 +491,7 @@ public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/
|
|||||||
be used if the desired type is a generic type. Note that this method works fine if the any of
|
be used if the desired type is a generic type. Note that this method works fine if the any of
|
||||||
the fields of the specified object are generics, just the object itself should not be a
|
the fields of the specified object are generics, just the object itself should not be a
|
||||||
generic type. For the cases when the object is of generic type, invoke
|
generic type. For the cases when the object is of generic type, invoke
|
||||||
<A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)"><CODE>fromJson(String, Type)</CODE></A>. If you have the Json in a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><CODE>Reader</CODE></A> instead of
|
<A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)"><CODE>fromJson(String, Type)</CODE></A>. If you have the Json in a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io"><CODE>Reader</CODE></A> instead of
|
||||||
a String, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)"><CODE>fromJson(Reader, Class)</CODE></A> instead.
|
a String, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)"><CODE>fromJson(Reader, Class)</CODE></A> instead.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
@ -510,13 +507,13 @@ public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/
|
|||||||
<A NAME="fromJson(java.lang.String, java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="fromJson(java.lang.String, java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
fromJson</H3>
|
fromJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json,
|
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method deserializes the specified Json into an object of the specified type. This method
|
<DD>This method deserializes the specified Json into an object of the specified type. This method
|
||||||
is useful if the specified object is a generic type. For non-generic objects, use
|
is useful if the specified object is a generic type. For non-generic objects, use
|
||||||
<A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)"><CODE>fromJson(String, Class)</CODE></A> instead. If you have the Json in a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><CODE>Reader</CODE></A> instead of
|
<A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)"><CODE>fromJson(String, Class)</CODE></A> instead. If you have the Json in a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io"><CODE>Reader</CODE></A> instead of
|
||||||
a String, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)"><CODE>fromJson(Reader, Type)</CODE></A> instead.
|
a String, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)"><CODE>fromJson(Reader, Type)</CODE></A> instead.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
@ -536,8 +533,8 @@ public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/
|
|||||||
<A NAME="fromJson(java.io.Reader, java.lang.Class)"><!-- --></A><H3>
|
<A NAME="fromJson(java.io.Reader, java.lang.Class)"><!-- --></A><H3>
|
||||||
fromJson</H3>
|
fromJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json,
|
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method deserializes the Json read from the specified reader into an object of the
|
<DD>This method deserializes the Json read from the specified reader into an object of the
|
||||||
@ -547,7 +544,7 @@ public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/
|
|||||||
this method works fine if the any of the fields of the specified object are generics, just the
|
this method works fine if the any of the fields of the specified object are generics, just the
|
||||||
object itself should not be a generic type. For the cases when the object is of generic type,
|
object itself should not be a generic type. For the cases when the object is of generic type,
|
||||||
invoke <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)"><CODE>fromJson(Reader, Type)</CODE></A>. If you have the Json in a String form instead of a
|
invoke <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)"><CODE>fromJson(Reader, Type)</CODE></A>. If you have the Json in a String form instead of a
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><CODE>Reader</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)"><CODE>fromJson(String, Class)</CODE></A> instead.
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io"><CODE>Reader</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)"><CODE>fromJson(String, Class)</CODE></A> instead.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the desired object<DT><B>Parameters:</B><DD><CODE>json</CODE> - the reader producing the Json from which the object is to be deserialized.<DD><CODE>classOfT</CODE> - the class of T
|
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the desired object<DT><B>Parameters:</B><DD><CODE>json</CODE> - the reader producing the Json from which the object is to be deserialized.<DD><CODE>classOfT</CODE> - the class of T
|
||||||
@ -564,14 +561,14 @@ public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/
|
|||||||
<A NAME="fromJson(java.io.Reader, java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="fromJson(java.io.Reader, java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
fromJson</H3>
|
fromJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json,
|
public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method deserializes the Json read from the specified reader into an object of the
|
<DD>This method deserializes the Json read from the specified reader into an object of the
|
||||||
specified type. This method is useful if the specified object is a generic type. For
|
specified type. This method is useful if the specified object is a generic type. For
|
||||||
non-generic objects, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)"><CODE>fromJson(Reader, Class)</CODE></A> instead. If you have the Json in a
|
non-generic objects, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)"><CODE>fromJson(Reader, Class)</CODE></A> instead. If you have the Json in a
|
||||||
String form instead of a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><CODE>Reader</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)"><CODE>fromJson(String, Type)</CODE></A> instead.
|
String form instead of a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io"><CODE>Reader</CODE></A>, use <A HREF="../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)"><CODE>fromJson(String, Type)</CODE></A> instead.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the desired object<DT><B>Parameters:</B><DD><CODE>json</CODE> - the reader producing Json from which the object is to be deserialized<DD><CODE>typeOfT</CODE> - The specific genericized type of src. You can obtain this type by using the
|
<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the desired object<DT><B>Parameters:</B><DD><CODE>json</CODE> - the reader producing Json from which the object is to be deserialized<DD><CODE>typeOfT</CODE> - The specific genericized type of src. You can obtain this type by using the
|
||||||
@ -593,7 +590,7 @@ public <T> T <B>fromJson</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/
|
|||||||
fromJson</H3>
|
fromJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <T> T <B>fromJson</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
public <T> T <B>fromJson</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method deserializes the Json read from the specified parse tree into an object of the
|
<DD>This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -620,7 +617,7 @@ public <T> T <B>fromJson</B>(<A HREF="../../../com/google/gson/JsonElement
|
|||||||
fromJson</H3>
|
fromJson</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <T> T <B>fromJson</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
public <T> T <B>fromJson</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>This method deserializes the Json read from the specified parse tree into an object of the
|
<DD>This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -647,10 +644,10 @@ public <T> T <B>fromJson</B>(<A HREF="../../../com/google/gson/JsonElement
|
|||||||
<A NAME="toString()"><!-- --></A><H3>
|
<A NAME="toString()"><!-- --></A><H3>
|
||||||
toString</H3>
|
toString</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
GsonBuilder (Gson 1.3b3 API)
|
GsonBuilder (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.GsonBuilder class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="GsonBuilder (Gson 1.3 API)";
|
||||||
parent.document.title="GsonBuilder (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,12 +90,12 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class GsonBuilder</H2>
|
Class GsonBuilder</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.GsonBuilder</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.GsonBuilder</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public final class <B>GsonBuilder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
|
<DT><PRE>public final class <B>GsonBuilder</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -211,8 +208,8 @@ Class GsonBuilder</H2>
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/GsonBuilder.html#registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)">registerTypeAdapter</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type,
|
<TD><CODE><B><A HREF="../../../com/google/gson/GsonBuilder.html#registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)">registerTypeAdapter</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> typeAdapter)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> typeAdapter)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Configures Gson for custom serialization or deserialization.</TD>
|
Configures Gson for custom serialization or deserialization.</TD>
|
||||||
@ -254,7 +251,7 @@ Class GsonBuilder</H2>
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(java.lang.String)">setDateFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pattern)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(java.lang.String)">setDateFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> pattern)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Configures Gson to serialize <code>Date</code> objects according to the pattern provided.</TD>
|
Configures Gson to serialize <code>Date</code> objects according to the pattern provided.</TD>
|
||||||
@ -306,10 +303,10 @@ Class GsonBuilder</H2>
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -373,9 +370,9 @@ public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.g
|
|||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>modifiers</CODE> - the field modifiers. You must use the modifiers specified in the
|
<DT><B>Parameters:</B><DD><CODE>modifiers</CODE> - the field modifiers. You must use the modifiers specified in the
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Modifier.html?is-external=true" title="class or interface in java.lang.reflect"><CODE>Modifier</CODE></A> class. For example,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Modifier.html" title="class or interface in java.lang.reflect"><CODE>Modifier</CODE></A> class. For example,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Modifier.html?is-external=true#TRANSIENT" title="class or interface in java.lang.reflect"><CODE>Modifier.TRANSIENT</CODE></A>,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Modifier.html#TRANSIENT" title="class or interface in java.lang.reflect"><CODE>Modifier.TRANSIENT</CODE></A>,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Modifier.html?is-external=true#STATIC" title="class or interface in java.lang.reflect"><CODE>Modifier.STATIC</CODE></A>.
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Modifier.html#STATIC" title="class or interface in java.lang.reflect"><CODE>Modifier.STATIC</CODE></A>.
|
||||||
<DT><B>Returns:</B><DD>a reference to this <code>GsonBuilder</code> object to fulfill the "Builder" pattern</DL>
|
<DT><B>Returns:</B><DD>a reference to this <code>GsonBuilder</code> object to fulfill the "Builder" pattern</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -533,14 +530,14 @@ public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.g
|
|||||||
<A NAME="setDateFormat(java.lang.String)"><!-- --></A><H3>
|
<A NAME="setDateFormat(java.lang.String)"><!-- --></A><H3>
|
||||||
setDateFormat</H3>
|
setDateFormat</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A> <B>setDateFormat</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pattern)</PRE>
|
public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A> <B>setDateFormat</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> pattern)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Configures Gson to serialize <code>Date</code> objects according to the pattern provided. You can
|
<DD>Configures Gson to serialize <code>Date</code> objects according to the pattern provided. You can
|
||||||
call this method or <A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(int)"><CODE>setDateFormat(int)</CODE></A> multiple times, but only the last invocation
|
call this method or <A HREF="../../../com/google/gson/GsonBuilder.html#setDateFormat(int)"><CODE>setDateFormat(int)</CODE></A> multiple times, but only the last invocation
|
||||||
will be used to decide the serialization format.
|
will be used to decide the serialization format.
|
||||||
|
|
||||||
<p>Note that this pattern must abide by the convention provided by <code>SimpleDateFormat</code>
|
<p>Note that this pattern must abide by the convention provided by <code>SimpleDateFormat</code>
|
||||||
class. See the documentation in <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text"><CODE>SimpleDateFormat</CODE></A> for more information on
|
class. See the documentation in <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html" title="class or interface in java.text"><CODE>SimpleDateFormat</CODE></A> for more information on
|
||||||
valid date and time patterns.</p>
|
valid date and time patterns.</p>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
@ -562,7 +559,7 @@ public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.g
|
|||||||
invocation will be used to decide the serialization format.
|
invocation will be used to decide the serialization format.
|
||||||
|
|
||||||
<p>Note that this style value should be one of the predefined constants in the
|
<p>Note that this style value should be one of the predefined constants in the
|
||||||
<code>DateFormat</code> class. See the documentation in <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text"><CODE>DateFormat</CODE></A> for more
|
<code>DateFormat</code> class. See the documentation in <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html" title="class or interface in java.text"><CODE>DateFormat</CODE></A> for more
|
||||||
information on the valid style constants.</p>
|
information on the valid style constants.</p>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
@ -586,7 +583,7 @@ public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.g
|
|||||||
invocation will be used to decide the serialization format.
|
invocation will be used to decide the serialization format.
|
||||||
|
|
||||||
<p>Note that this style value should be one of the predefined constants in the
|
<p>Note that this style value should be one of the predefined constants in the
|
||||||
<code>DateFormat</code> class. See the documentation in <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text"><CODE>DateFormat</CODE></A> for more
|
<code>DateFormat</code> class. See the documentation in <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html" title="class or interface in java.text"><CODE>DateFormat</CODE></A> for more
|
||||||
information on the valid style constants.</p>
|
information on the valid style constants.</p>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
@ -602,8 +599,8 @@ public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.g
|
|||||||
<A NAME="registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)"><!-- --></A><H3>
|
<A NAME="registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)"><!-- --></A><H3>
|
||||||
registerTypeAdapter</H3>
|
registerTypeAdapter</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A> <B>registerTypeAdapter</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type,
|
public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A> <B>registerTypeAdapter</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> typeAdapter)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> typeAdapter)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Configures Gson for custom serialization or deserialization. This method combines the
|
<DD>Configures Gson for custom serialization or deserialization. This method combines the
|
||||||
registration of an <A HREF="../../../com/google/gson/InstanceCreator.html" title="interface in com.google.gson"><CODE>InstanceCreator</CODE></A>, <A HREF="../../../com/google/gson/JsonSerializer.html" title="interface in com.google.gson"><CODE>JsonSerializer</CODE></A>, and a
|
registration of an <A HREF="../../../com/google/gson/InstanceCreator.html" title="interface in com.google.gson"><CODE>InstanceCreator</CODE></A>, <A HREF="../../../com/google/gson/JsonSerializer.html" title="interface in com.google.gson"><CODE>JsonSerializer</CODE></A>, and a
|
||||||
@ -634,10 +631,10 @@ public <A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.g
|
|||||||
though JSON specification disallows them.
|
though JSON specification disallows them.
|
||||||
|
|
||||||
<p>Gson always accepts these special values during deserialization. However, it outputs
|
<p>Gson always accepts these special values during deserialization. However, it outputs
|
||||||
strictly compliant JSON. Hence, if it encounters a float value <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Float.html?is-external=true#NaN" title="class or interface in java.lang"><CODE>Float.NaN</CODE></A>,
|
strictly compliant JSON. Hence, if it encounters a float value <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Float.html#NaN" title="class or interface in java.lang"><CODE>Float.NaN</CODE></A>,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Float.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><CODE>Float.POSITIVE_INFINITY</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Float.html?is-external=true#NEGATIVE_INFINITY" title="class or interface in java.lang"><CODE>Float.NEGATIVE_INFINITY</CODE></A>, or a double value
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Float.html#POSITIVE_INFINITY" title="class or interface in java.lang"><CODE>Float.POSITIVE_INFINITY</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Float.html#NEGATIVE_INFINITY" title="class or interface in java.lang"><CODE>Float.NEGATIVE_INFINITY</CODE></A>, or a double value
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html?is-external=true#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html?is-external=true#POSITIVE_INFINITY" title="class or interface in java.lang"><CODE>Double.POSITIVE_INFINITY</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html?is-external=true#NEGATIVE_INFINITY" title="class or interface in java.lang"><CODE>Double.NEGATIVE_INFINITY</CODE></A>, it
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html#POSITIVE_INFINITY" title="class or interface in java.lang"><CODE>Double.POSITIVE_INFINITY</CODE></A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html#NEGATIVE_INFINITY" title="class or interface in java.lang"><CODE>Double.NEGATIVE_INFINITY</CODE></A>, it
|
||||||
will throw an <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><CODE>IllegalArgumentException</CODE></A>. This method provides a way to override the
|
will throw an <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang"><CODE>IllegalArgumentException</CODE></A>. This method provides a way to override the
|
||||||
default behavior when you know that the JSON receiver will be able to handle these special
|
default behavior when you know that the JSON receiver will be able to handle these special
|
||||||
values.
|
values.
|
||||||
<P>
|
<P>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
InstanceCreator (Gson 1.3b3 API)
|
InstanceCreator (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.InstanceCreator interface">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="InstanceCreator (Gson 1.3 API)";
|
||||||
parent.document.title="InstanceCreator (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -156,7 +153,7 @@ This interface is implemented to create instances of a class that does not defin
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Joel Leitch</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -173,7 +170,7 @@ This interface is implemented to create instances of a class that does not defin
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/InstanceCreator.html" title="type parameter in InstanceCreator">T</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/InstanceCreator.html" title="type parameter in InstanceCreator">T</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/InstanceCreator.html#createInstance(java.lang.reflect.Type)">createInstance</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/InstanceCreator.html#createInstance(java.lang.reflect.Type)">createInstance</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Gson invokes this call-back method during deserialization to create an instance of the
|
Gson invokes this call-back method during deserialization to create an instance of the
|
||||||
@ -196,7 +193,7 @@ This interface is implemented to create instances of a class that does not defin
|
|||||||
<A NAME="createInstance(java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="createInstance(java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
createInstance</H3>
|
createInstance</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="../../../com/google/gson/InstanceCreator.html" title="type parameter in InstanceCreator">T</A> <B>createInstance</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</PRE>
|
<A HREF="../../../com/google/gson/InstanceCreator.html" title="type parameter in InstanceCreator">T</A> <B>createInstance</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Gson invokes this call-back method during deserialization to create an instance of the
|
<DD>Gson invokes this call-back method during deserialization to create an instance of the
|
||||||
specified type. The fields of the returned instance are overwritten with the data present
|
specified type. The fields of the returned instance are overwritten with the data present
|
||||||
@ -205,7 +202,7 @@ createInstance</H3>
|
|||||||
always use <code>new</code> to create a new instance.
|
always use <code>new</code> to create a new instance.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the parameterized T represented as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect"><CODE>Type</CODE></A>.
|
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the parameterized T represented as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect"><CODE>Type</CODE></A>.
|
||||||
<DT><B>Returns:</B><DD>a default object instance of type T.</DL>
|
<DT><B>Returns:</B><DD>a default object instance of type T.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonArray (Gson 1.3b3 API)
|
JsonArray (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonArray class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonArray (Gson 1.3 API)";
|
||||||
parent.document.title="JsonArray (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,16 +90,16 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonArray</H2>
|
Class JsonArray</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonArray</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonArray</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></DD>
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html" title="class or interface in java.lang">Iterable</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public final class <B>JsonArray</B><DT>extends <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A><DT>implements <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></DL>
|
<DT><PRE>public final class <B>JsonArray</B><DT>extends <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A><DT>implements <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html" title="class or interface in java.lang">Iterable</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -114,7 +111,7 @@ A class representing an array type in Json. An array is a list of <A HREF="../..
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -170,19 +167,19 @@ A class representing an array type in Json. An array is a list of <A HREF="../..
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsBigDecimal()">getAsBigDecimal</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsBigDecimal()">getAsBigDecimal</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it contains a single element.</TD>
|
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it contains a single element.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsBigInteger()">getAsBigInteger</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsBigInteger()">getAsBigInteger</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it contains a single element.</TD>
|
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it contains a single element.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@ -242,11 +239,11 @@ A class representing an array type in Json. An array is a list of <A HREF="../..
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsNumber()">getAsNumber</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsNumber()">getAsNumber</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A> if it contains a single element.</TD>
|
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A> if it contains a single element.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@ -258,15 +255,15 @@ A class representing an array type in Json. An array is a list of <A HREF="../..
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsString()">getAsString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#getAsString()">getAsString</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><CODE>String</CODE></A> if it contains a single element.</TD>
|
convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> if it contains a single element.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#iterator()">iterator</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonArray.html#iterator()">iterator</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -293,10 +290,10 @@ A class representing an array type in Json. An array is a list of <A HREF="../..
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -383,13 +380,13 @@ public int <B>size</B>()</PRE>
|
|||||||
<A NAME="iterator()"><!-- --></A><H3>
|
<A NAME="iterator()"><!-- --></A><H3>
|
||||||
iterator</H3>
|
iterator</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>> <B>iterator</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>> <B>iterator</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns an iterator to navigate the elemetns of the array. Since the array is an ordered list,
|
<DD>Returns an iterator to navigate the elemetns of the array. Since the array is an ordered list,
|
||||||
the iterator navigates the elements in the order they were inserted.
|
the iterator navigates the elements in the order they were inserted.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></CODE></DL>
|
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html" title="class or interface in java.lang">Iterable</A><<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
@ -412,7 +409,7 @@ public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.g
|
|||||||
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the index of the element that is being sought.
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the index of the element that is being sought.
|
||||||
<DT><B>Returns:</B><DD>the element present at the ith index.
|
<DT><B>Returns:</B><DD>the element present at the ith index.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if i is negative or greater than or equal to the
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if i is negative or greater than or equal to the
|
||||||
<A HREF="../../../com/google/gson/JsonArray.html#size()"><CODE>size()</CODE></A> of the array.</DL>
|
<A HREF="../../../com/google/gson/JsonArray.html#size()"><CODE>size()</CODE></A> of the array.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -421,9 +418,9 @@ public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.g
|
|||||||
<A NAME="getAsNumber()"><!-- --></A><H3>
|
<A NAME="getAsNumber()"><!-- --></A><H3>
|
||||||
getAsNumber</H3>
|
getAsNumber</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> <B>getAsNumber</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> <B>getAsNumber</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A> if it contains a single element.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsNumber()">getAsNumber</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsNumber()">getAsNumber</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
||||||
@ -432,9 +429,9 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a number if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a number if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid Number.
|
is not a valid Number.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -442,9 +439,9 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is
|
|||||||
<A NAME="getAsString()"><!-- --></A><H3>
|
<A NAME="getAsString()"><!-- --></A><H3>
|
||||||
getAsString</H3>
|
getAsString</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAsString</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAsString</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><CODE>String</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> if it contains a single element.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsString()">getAsString</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsString()">getAsString</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
||||||
@ -453,9 +450,9 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a String if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a String if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid String.
|
is not a valid String.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -474,9 +471,9 @@ public double <B>getAsDouble</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a double if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a double if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid double.
|
is not a valid double.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -484,20 +481,20 @@ public double <B>getAsDouble</B>()</PRE>
|
|||||||
<A NAME="getAsBigDecimal()"><!-- --></A><H3>
|
<A NAME="getAsBigDecimal()"><!-- --></A><H3>
|
||||||
getAsBigDecimal</H3>
|
getAsBigDecimal</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>getAsBigDecimal</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math">BigDecimal</A> <B>getAsBigDecimal</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it contains a single element.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigDecimal()">getAsBigDecimal</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigDecimal()">getAsBigDecimal</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the element at index 0 is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the element at index 0 is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.<DT><B>Since:</B></DT>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.<DT><B>Since:</B></DT>
|
||||||
<DD>1.2</DD>
|
<DD>1.2</DD>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
@ -507,20 +504,20 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.htm
|
|||||||
<A NAME="getAsBigInteger()"><!-- --></A><H3>
|
<A NAME="getAsBigInteger()"><!-- --></A><H3>
|
||||||
getAsBigInteger</H3>
|
getAsBigInteger</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>getAsBigInteger</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math">BigInteger</A> <B>getAsBigInteger</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it contains a single element.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigInteger()">getAsBigInteger</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigInteger()">getAsBigInteger</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the element at index 0 is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the element at index 0 is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.<DT><B>Since:</B></DT>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.<DT><B>Since:</B></DT>
|
||||||
<DD>1.2</DD>
|
<DD>1.2</DD>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
@ -541,9 +538,9 @@ public float <B>getAsFloat</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a float if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a float if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid float.
|
is not a valid float.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -562,9 +559,9 @@ public long <B>getAsLong</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a long if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a long if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid long.
|
is not a valid long.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -583,9 +580,9 @@ public int <B>getAsInt</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as an integer if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as an integer if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid integer.
|
is not a valid integer.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -640,9 +637,9 @@ public short <B>getAsShort</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive short if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a primitive short if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid short.
|
is not a valid short.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -661,9 +658,9 @@ public boolean <B>getAsBoolean</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a boolean if it is single element array.
|
<DT><B>Returns:</B><DD>get this element as a boolean if it is single element array.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element in the array is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and
|
||||||
is not a valid boolean.
|
is not a valid boolean.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the array has more than one element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonDeserializationContext (Gson 1.3b3 API)
|
JsonDeserializationContext (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonDeserializationContext interface">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonDeserializationContext (Gson 1.3 API)";
|
||||||
parent.document.title="JsonDeserializationContext (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -106,7 +103,7 @@ Context for deserialization that is passed to a custom deserializer during invoc
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -131,7 +128,7 @@ Context for deserialization that is passed to a custom deserializer during invoc
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonDeserializationContext.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type)">deserialize</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonDeserializationContext.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type)">deserialize</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default deserialization on the specified object.</TD>
|
Invokes default deserialization on the specified object.</TD>
|
||||||
@ -154,7 +151,7 @@ Context for deserialization that is passed to a custom deserializer during invoc
|
|||||||
deserialize</H3>
|
deserialize</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<T> T <B>deserialize</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<T> T <B>deserialize</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Invokes default deserialization on the specified object. It should never be invoked on
|
<DD>Invokes default deserialization on the specified object. It should never be invoked on
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonDeserializer (Gson 1.3b3 API)
|
JsonDeserializer (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonDeserializer interface">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonDeserializer (Gson 1.3 API)";
|
||||||
parent.document.title="JsonDeserializer (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -165,7 +162,7 @@ Interface JsonDeserializer<T></H2>
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
||||||
<A HREF="../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
<A HREF="../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -190,7 +187,7 @@ Interface JsonDeserializer<T></H2>
|
|||||||
deserialize</H3>
|
deserialize</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A> <B>deserialize</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<A HREF="../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A> <B>deserialize</B>(<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
||||||
<A HREF="../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)
|
<A HREF="../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonElement (Gson 1.3b3 API)
|
JsonElement (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonElement class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonElement (Gson 1.3 API)";
|
||||||
parent.document.title="JsonElement (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,7 +90,7 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonElement</H2>
|
Class JsonElement</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonElement</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonElement</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
@ -101,7 +98,7 @@ Class JsonElement</H2>
|
|||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public abstract class <B>JsonElement</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
|
<DT><PRE>public abstract class <B>JsonElement</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -144,19 +141,19 @@ A class representing an element of Json. It could either be a <A HREF="../../../
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsBigDecimal()">getAsBigDecimal</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsBigDecimal()">getAsBigDecimal</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.</TD>
|
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsBigInteger()">getAsBigInteger</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsBigInteger()">getAsBigInteger</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.</TD>
|
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@ -248,11 +245,11 @@ A class representing an element of Json. It could either be a <A HREF="../../../
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsNumber()">getAsNumber</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsNumber()">getAsNumber</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.</TD>
|
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@ -264,7 +261,7 @@ A class representing an element of Json. It could either be a <A HREF="../../../
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsString()">getAsString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#getAsString()">getAsString</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -304,7 +301,7 @@ A class representing an element of Json. It could either be a <A HREF="../../../
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonElement.html#toString()">toString</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -314,10 +311,10 @@ A class representing an element of Json. It could either be a <A HREF="../../../
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -414,7 +411,7 @@ getAsJsonObject</H3>
|
|||||||
public <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A> <B>getAsJsonObject</B>()</PRE>
|
public <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A> <B>getAsJsonObject</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>. If the element is of some
|
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>. If the element is of some
|
||||||
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
||||||
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonObject()"><CODE>isJsonObject()</CODE></A>
|
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonObject()"><CODE>isJsonObject()</CODE></A>
|
||||||
first.
|
first.
|
||||||
<P>
|
<P>
|
||||||
@ -422,7 +419,7 @@ public <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.go
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of another type.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of another type.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -433,7 +430,7 @@ getAsJsonArray</H3>
|
|||||||
public <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A> <B>getAsJsonArray</B>()</PRE>
|
public <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A> <B>getAsJsonArray</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A>. If the element is of some
|
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A>. If the element is of some
|
||||||
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
||||||
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonArray()"><CODE>isJsonArray()</CODE></A>
|
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonArray()"><CODE>isJsonArray()</CODE></A>
|
||||||
first.
|
first.
|
||||||
<P>
|
<P>
|
||||||
@ -441,7 +438,7 @@ public <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.goo
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of another type.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of another type.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -452,7 +449,7 @@ getAsJsonPrimitive</H3>
|
|||||||
public <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A> <B>getAsJsonPrimitive</B>()</PRE>
|
public <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A> <B>getAsJsonPrimitive</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>. If the element is of some
|
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>. If the element is of some
|
||||||
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
||||||
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonPrimitive()"><CODE>isJsonPrimitive()</CODE></A>
|
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonPrimitive()"><CODE>isJsonPrimitive()</CODE></A>
|
||||||
first.
|
first.
|
||||||
<P>
|
<P>
|
||||||
@ -460,7 +457,7 @@ public <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of another type.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of another type.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -471,7 +468,7 @@ getAsJsonNull</H3>
|
|||||||
public <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson">JsonNull</A> <B>getAsJsonNull</B>()</PRE>
|
public <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson">JsonNull</A> <B>getAsJsonNull</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson"><CODE>JsonNull</CODE></A>. If the element is of some
|
<DD>convenience method to get this element as a <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson"><CODE>JsonNull</CODE></A>. If the element is of some
|
||||||
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
other type, a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang"><CODE>ClassCastException</CODE></A> will result. Hence it is best to use this method
|
||||||
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonNull()"><CODE>isJsonNull()</CODE></A>
|
after ensuring that this element is of the desired type by calling <A HREF="../../../com/google/gson/JsonElement.html#isJsonNull()"><CODE>isJsonNull()</CODE></A>
|
||||||
first.
|
first.
|
||||||
<P>
|
<P>
|
||||||
@ -479,7 +476,7 @@ public <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.goog
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson"><CODE>JsonNull</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson"><CODE>JsonNull</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of another type.<DT><B>Since:</B></DT>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of another type.<DT><B>Since:</B></DT>
|
||||||
<DD>1.2</DD>
|
<DD>1.2</DD>
|
||||||
</DL>
|
</DL>
|
||||||
</DD>
|
</DD>
|
||||||
@ -497,9 +494,9 @@ public boolean <B>getAsBoolean</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive boolean value.
|
<DT><B>Returns:</B><DD>get this element as a primitive boolean value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
boolean value.
|
boolean value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -508,17 +505,17 @@ public boolean <B>getAsBoolean</B>()</PRE>
|
|||||||
<A NAME="getAsNumber()"><!-- --></A><H3>
|
<A NAME="getAsNumber()"><!-- --></A><H3>
|
||||||
getAsNumber</H3>
|
getAsNumber</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> <B>getAsNumber</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> <B>getAsNumber</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
number.
|
number.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -527,7 +524,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is
|
|||||||
<A NAME="getAsString()"><!-- --></A><H3>
|
<A NAME="getAsString()"><!-- --></A><H3>
|
||||||
getAsString</H3>
|
getAsString</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAsString</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAsString</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a string value.
|
<DD>convenience method to get this element as a string value.
|
||||||
<P>
|
<P>
|
||||||
@ -535,9 +532,9 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a string value.
|
<DT><B>Returns:</B><DD>get this element as a string value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
string value.
|
string value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -554,9 +551,9 @@ public double <B>getAsDouble</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive double value.
|
<DT><B>Returns:</B><DD>get this element as a primitive double value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
double value.
|
double value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -573,9 +570,9 @@ public float <B>getAsFloat</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive float value.
|
<DT><B>Returns:</B><DD>get this element as a primitive float value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
float value.
|
float value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -592,9 +589,9 @@ public long <B>getAsLong</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive long value.
|
<DT><B>Returns:</B><DD>get this element as a primitive long value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
long value.
|
long value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -611,9 +608,9 @@ public int <B>getAsInt</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive integer value.
|
<DT><B>Returns:</B><DD>get this element as a primitive integer value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
integer value.
|
integer value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -630,9 +627,9 @@ public byte <B>getAsByte</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive byte value.
|
<DT><B>Returns:</B><DD>get this element as a primitive byte value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
byte value.
|
byte value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.<DT><B>Since:</B></DT>
|
more than a single element.<DT><B>Since:</B></DT>
|
||||||
<DD>1.3</DD>
|
<DD>1.3</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -651,9 +648,9 @@ public char <B>getAsCharacter</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive char value.
|
<DT><B>Returns:</B><DD>get this element as a primitive char value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
char value.
|
char value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.<DT><B>Since:</B></DT>
|
more than a single element.<DT><B>Since:</B></DT>
|
||||||
<DD>1.3</DD>
|
<DD>1.3</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -664,17 +661,17 @@ public char <B>getAsCharacter</B>()</PRE>
|
|||||||
<A NAME="getAsBigDecimal()"><!-- --></A><H3>
|
<A NAME="getAsBigDecimal()"><!-- --></A><H3>
|
||||||
getAsBigDecimal</H3>
|
getAsBigDecimal</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>getAsBigDecimal</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math">BigDecimal</A> <B>getAsBigDecimal</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
||||||
* @throws NumberFormatException if the element is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
* @throws NumberFormatException if the element is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.<DT><B>Since:</B></DT>
|
more than a single element.<DT><B>Since:</B></DT>
|
||||||
<DD>1.2</DD>
|
<DD>1.2</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -685,17 +682,17 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.htm
|
|||||||
<A NAME="getAsBigInteger()"><!-- --></A><H3>
|
<A NAME="getAsBigInteger()"><!-- --></A><H3>
|
||||||
getAsBigInteger</H3>
|
getAsBigInteger</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>getAsBigInteger</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math">BigInteger</A> <B>getAsBigInteger</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the element is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the element is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.<DT><B>Since:</B></DT>
|
more than a single element.<DT><B>Since:</B></DT>
|
||||||
<DD>1.2</DD>
|
<DD>1.2</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -714,9 +711,9 @@ public short <B>getAsShort</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive short value.
|
<DT><B>Returns:</B><DD>get this element as a primitive short value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the element is of not a <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><CODE>JsonPrimitive</CODE></A> and is not a valid
|
||||||
short value.
|
short value.
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the element is of the type <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><CODE>JsonArray</CODE></A> but contains
|
||||||
more than a single element.</DL>
|
more than a single element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
@ -725,16 +722,16 @@ public short <B>getAsShort</B>()</PRE>
|
|||||||
<A NAME="toString()"><!-- --></A><H3>
|
<A NAME="toString()"><!-- --></A><H3>
|
||||||
toString</H3>
|
toString</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns a String representation of this element.
|
<DD>Returns a String representation of this element.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>String the string representation of this element. The output is valid Json.</DL>
|
<DT><B>Returns:</B><DD>String the string representation of this element.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonNull (Gson 1.3b3 API)
|
JsonNull (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonNull class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonNull (Gson 1.3 API)";
|
||||||
parent.document.title="JsonNull (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,7 +90,7 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonNull</H2>
|
Class JsonNull</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonNull</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonNull</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
@ -144,7 +141,7 @@ A class representing a Json <code>null</code> value.
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonNull.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonNull.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> other)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
All instances of JsonNull are the same</TD>
|
All instances of JsonNull are the same</TD>
|
||||||
@ -170,10 +167,10 @@ A class representing a Json <code>null</code> value.
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -216,7 +213,7 @@ public int <B>hashCode</B>()</PRE>
|
|||||||
<DD>All instances of JsonNull have the same hash code since they are indistinguishable
|
<DD>All instances of JsonNull have the same hash code since they are indistinguishable
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
@ -227,12 +224,12 @@ public int <B>hashCode</B>()</PRE>
|
|||||||
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
||||||
equals</H3>
|
equals</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</PRE>
|
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> other)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>All instances of JsonNull are the same
|
<DD>All instances of JsonNull are the same
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonObject (Gson 1.3b3 API)
|
JsonObject (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonObject class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonObject (Gson 1.3 API)";
|
||||||
parent.document.title="JsonObject (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,7 +90,7 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonObject</H2>
|
Class JsonObject</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonObject</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonObject</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
@ -111,7 +108,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -144,7 +141,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#add(java.lang.String, com.google.gson.JsonElement)">add</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#add(java.lang.String, com.google.gson.JsonElement)">add</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> value)</CODE>
|
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -153,8 +150,8 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.Boolean)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.Boolean)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> value)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to add a boolean member.</TD>
|
Convenience method to add a boolean member.</TD>
|
||||||
@ -162,8 +159,8 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.Character)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.Character)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</A> value)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html" title="class or interface in java.lang">Character</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to add a char member.</TD>
|
Convenience method to add a char member.</TD>
|
||||||
@ -171,8 +168,8 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.Number)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.Number)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> value)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to add a primitive member.</TD>
|
Convenience method to add a primitive member.</TD>
|
||||||
@ -180,15 +177,15 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.String)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#addProperty(java.lang.String, java.lang.String)">addProperty</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to add a primitive member.</TD>
|
Convenience method to add a primitive member.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>>></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>>></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#entrySet()">entrySet</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#entrySet()">entrySet</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -197,7 +194,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#get(java.lang.String)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#get(java.lang.String)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the member with the specified name.</TD>
|
Returns the member with the specified name.</TD>
|
||||||
@ -205,7 +202,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#getAsJsonArray(java.lang.String)">getAsJsonArray</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#getAsJsonArray(java.lang.String)">getAsJsonArray</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to get the specified member as a JsonArray.</TD>
|
Convenience method to get the specified member as a JsonArray.</TD>
|
||||||
@ -213,7 +210,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#getAsJsonObject(java.lang.String)">getAsJsonObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#getAsJsonObject(java.lang.String)">getAsJsonObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to get the specified member as a JsonObject.</TD>
|
Convenience method to get the specified member as a JsonObject.</TD>
|
||||||
@ -221,7 +218,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#getAsJsonPrimitive(java.lang.String)">getAsJsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#getAsJsonPrimitive(java.lang.String)">getAsJsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to get the specified member as a JsonPrimitive element.</TD>
|
Convenience method to get the specified member as a JsonPrimitive element.</TD>
|
||||||
@ -229,7 +226,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#has(java.lang.String)">has</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#has(java.lang.String)">has</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to check if a member with the specified name is present in this object.</TD>
|
Convenience method to check if a member with the specified name is present in this object.</TD>
|
||||||
@ -237,7 +234,7 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#remove(java.lang.String)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonObject.html#remove(java.lang.String)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Removes the <code>property</code> from this <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.</TD>
|
Removes the <code>property</code> from this <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.</TD>
|
||||||
@ -255,10 +252,10 @@ A class representing an object type in Json. An object consists of name-value pa
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -296,7 +293,7 @@ public <B>JsonObject</B>()</PRE>
|
|||||||
<A NAME="add(java.lang.String, com.google.gson.JsonElement)"><!-- --></A><H3>
|
<A NAME="add(java.lang.String, com.google.gson.JsonElement)"><!-- --></A><H3>
|
||||||
add</H3>
|
add</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>add</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
public void <B>add</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> value)</PRE>
|
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> value)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Adds a member, which is a name-value pair, to self. The name must be a String, but the value
|
<DD>Adds a member, which is a name-value pair, to self. The name must be a String, but the value
|
||||||
@ -312,7 +309,7 @@ public void <B>add</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lan
|
|||||||
<A NAME="remove(java.lang.String)"><!-- --></A><H3>
|
<A NAME="remove(java.lang.String)"><!-- --></A><H3>
|
||||||
remove</H3>
|
remove</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property)</PRE>
|
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Removes the <code>property</code> from this <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.
|
<DD>Removes the <code>property</code> from this <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
@ -328,8 +325,8 @@ public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.g
|
|||||||
<A NAME="addProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
<A NAME="addProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
||||||
addProperty</H3>
|
addProperty</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to add a primitive member. The specified value is converted to a
|
<DD>Convenience method to add a primitive member. The specified value is converted to a
|
||||||
JsonPrimitive of String.
|
JsonPrimitive of String.
|
||||||
@ -343,8 +340,8 @@ public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/
|
|||||||
<A NAME="addProperty(java.lang.String, java.lang.Number)"><!-- --></A><H3>
|
<A NAME="addProperty(java.lang.String, java.lang.Number)"><!-- --></A><H3>
|
||||||
addProperty</H3>
|
addProperty</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> value)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> value)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to add a primitive member. The specified value is converted to a
|
<DD>Convenience method to add a primitive member. The specified value is converted to a
|
||||||
JsonPrimitive of Number.
|
JsonPrimitive of Number.
|
||||||
@ -358,8 +355,8 @@ public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/
|
|||||||
<A NAME="addProperty(java.lang.String, java.lang.Boolean)"><!-- --></A><H3>
|
<A NAME="addProperty(java.lang.String, java.lang.Boolean)"><!-- --></A><H3>
|
||||||
addProperty</H3>
|
addProperty</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> value)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A> value)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to add a boolean member. The specified value is converted to a
|
<DD>Convenience method to add a boolean member. The specified value is converted to a
|
||||||
JsonPrimitive of Boolean.
|
JsonPrimitive of Boolean.
|
||||||
@ -373,8 +370,8 @@ public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/
|
|||||||
<A NAME="addProperty(java.lang.String, java.lang.Character)"><!-- --></A><H3>
|
<A NAME="addProperty(java.lang.String, java.lang.Character)"><!-- --></A><H3>
|
||||||
addProperty</H3>
|
addProperty</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</A> value)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html" title="class or interface in java.lang">Character</A> value)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to add a char member. The specified value is converted to a
|
<DD>Convenience method to add a char member. The specified value is converted to a
|
||||||
JsonPrimitive of Character.
|
JsonPrimitive of Character.
|
||||||
@ -388,7 +385,7 @@ public void <B>addProperty</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/
|
|||||||
<A NAME="entrySet()"><!-- --></A><H3>
|
<A NAME="entrySet()"><!-- --></A><H3>
|
||||||
entrySet</H3>
|
entrySet</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>>> <B>entrySet</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>>> <B>entrySet</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns a set of members of this object. The set is ordered, and the order is in which the
|
<DD>Returns a set of members of this object. The set is ordered, and the order is in which the
|
||||||
elements were added.
|
elements were added.
|
||||||
@ -403,7 +400,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-ex
|
|||||||
<A NAME="has(java.lang.String)"><!-- --></A><H3>
|
<A NAME="has(java.lang.String)"><!-- --></A><H3>
|
||||||
has</H3>
|
has</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public boolean <B>has</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</PRE>
|
public boolean <B>has</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to check if a member with the specified name is present in this object.
|
<DD>Convenience method to check if a member with the specified name is present in this object.
|
||||||
<P>
|
<P>
|
||||||
@ -417,7 +414,7 @@ public boolean <B>has</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/
|
|||||||
<A NAME="get(java.lang.String)"><!-- --></A><H3>
|
<A NAME="get(java.lang.String)"><!-- --></A><H3>
|
||||||
get</H3>
|
get</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</PRE>
|
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the member with the specified name.
|
<DD>Returns the member with the specified name.
|
||||||
<P>
|
<P>
|
||||||
@ -431,7 +428,7 @@ public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.g
|
|||||||
<A NAME="getAsJsonPrimitive(java.lang.String)"><!-- --></A><H3>
|
<A NAME="getAsJsonPrimitive(java.lang.String)"><!-- --></A><H3>
|
||||||
getAsJsonPrimitive</H3>
|
getAsJsonPrimitive</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A> <B>getAsJsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</PRE>
|
public <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A> <B>getAsJsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to get the specified member as a JsonPrimitive element.
|
<DD>Convenience method to get the specified member as a JsonPrimitive element.
|
||||||
<P>
|
<P>
|
||||||
@ -445,7 +442,7 @@ public <A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com
|
|||||||
<A NAME="getAsJsonArray(java.lang.String)"><!-- --></A><H3>
|
<A NAME="getAsJsonArray(java.lang.String)"><!-- --></A><H3>
|
||||||
getAsJsonArray</H3>
|
getAsJsonArray</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A> <B>getAsJsonArray</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</PRE>
|
public <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A> <B>getAsJsonArray</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to get the specified member as a JsonArray.
|
<DD>Convenience method to get the specified member as a JsonArray.
|
||||||
<P>
|
<P>
|
||||||
@ -459,7 +456,7 @@ public <A HREF="../../../com/google/gson/JsonArray.html" title="class in com.goo
|
|||||||
<A NAME="getAsJsonObject(java.lang.String)"><!-- --></A><H3>
|
<A NAME="getAsJsonObject(java.lang.String)"><!-- --></A><H3>
|
||||||
getAsJsonObject</H3>
|
getAsJsonObject</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A> <B>getAsJsonObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</PRE>
|
public <A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A> <B>getAsJsonObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Convenience method to get the specified member as a JsonObject.
|
<DD>Convenience method to get the specified member as a JsonObject.
|
||||||
<P>
|
<P>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonParseException (Gson 1.3b3 API)
|
JsonParseException (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonParseException class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonParseException (Gson 1.3 API)";
|
||||||
parent.document.title="JsonParseException (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,18 +90,18 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonParseException</H2>
|
Class JsonParseException</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">java.lang.Throwable</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">java.lang.Exception</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">java.lang.RuntimeException</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">java.lang.RuntimeException</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonParseException</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonParseException</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public final class <B>JsonParseException</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A></DL>
|
<DT><PRE>public final class <B>JsonParseException</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -112,8 +109,8 @@ This exception is raised if there is a serious issue that occurs during parsing
|
|||||||
string. One of the main usages for this class is for the Gson infrastructure. If the incoming
|
string. One of the main usages for this class is for the Gson infrastructure. If the incoming
|
||||||
Json is bad/malicious, an instance of this exception is raised.
|
Json is bad/malicious, an instance of this exception is raised.
|
||||||
|
|
||||||
<p>This exception is a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><CODE>RuntimeException</CODE></A> because it is exposed to the client. Using a
|
<p>This exception is a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang"><CODE>RuntimeException</CODE></A> because it is exposed to the client. Using a
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><CODE>RuntimeException</CODE></A> avoids bad coding practices on the client side where they catch the
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang"><CODE>RuntimeException</CODE></A> avoids bad coding practices on the client side where they catch the
|
||||||
exception and do nothing. It is often the case that you want to blow up if there is a parsing
|
exception and do nothing. It is often the case that you want to blow up if there is a parsing
|
||||||
error (i.e. often clients do not know how to recover from a <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson"><CODE>JsonParseException</CODE></A>.</p>
|
error (i.e. often clients do not know how to recover from a <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson"><CODE>JsonParseException</CODE></A>.</p>
|
||||||
<P>
|
<P>
|
||||||
@ -121,7 +118,7 @@ This exception is raised if there is a serious issue that occurs during parsing
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Joel Leitch</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.google.gson.JsonParseException">Serialized Form</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.google.gson.JsonParseException">Serialized Form</A></DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -136,20 +133,20 @@ This exception is raised if there is a serious issue that occurs during parsing
|
|||||||
<B>Constructor Summary</B></FONT></TH>
|
<B>Constructor Summary</B></FONT></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String)">JsonParseException</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> msg)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String)">JsonParseException</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Creates exception with the specified message.</TD>
|
Creates exception with the specified message.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String, java.lang.Throwable)">JsonParseException</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> msg,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String, java.lang.Throwable)">JsonParseException</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Creates exception with the specified message and cause.</TD>
|
Creates exception with the specified message and cause.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.Throwable)">JsonParseException</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.Throwable)">JsonParseException</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Creates exception with the specified cause.</TD>
|
Creates exception with the specified cause.</TD>
|
||||||
@ -168,19 +165,19 @@ This exception is raised if there is a serious issue that occurs during parsing
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#toString()" title="class or interface in java.lang">toString</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -199,7 +196,7 @@ This exception is raised if there is a serious issue that occurs during parsing
|
|||||||
<A NAME="JsonParseException(java.lang.String)"><!-- --></A><H3>
|
<A NAME="JsonParseException(java.lang.String)"><!-- --></A><H3>
|
||||||
JsonParseException</H3>
|
JsonParseException</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> msg)</PRE>
|
public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Creates exception with the specified message. If you are wrapping another exception, consider
|
<DD>Creates exception with the specified message. If you are wrapping another exception, consider
|
||||||
using <A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String, java.lang.Throwable)"><CODE>JsonParseException(String, Throwable)</CODE></A> instead.
|
using <A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String, java.lang.Throwable)"><CODE>JsonParseException(String, Throwable)</CODE></A> instead.
|
||||||
@ -212,8 +209,8 @@ public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/ap
|
|||||||
<A NAME="JsonParseException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
<A NAME="JsonParseException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
||||||
JsonParseException</H3>
|
JsonParseException</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> msg,
|
public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Creates exception with the specified message and cause.
|
<DD>Creates exception with the specified message and cause.
|
||||||
<P>
|
<P>
|
||||||
@ -225,7 +222,7 @@ public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/ap
|
|||||||
<A NAME="JsonParseException(java.lang.Throwable)"><!-- --></A><H3>
|
<A NAME="JsonParseException(java.lang.Throwable)"><!-- --></A><H3>
|
||||||
JsonParseException</H3>
|
JsonParseException</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> cause)</PRE>
|
public <B>JsonParseException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> cause)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Creates exception with the specified cause. Consider using
|
<DD>Creates exception with the specified cause. Consider using
|
||||||
<A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String, java.lang.Throwable)"><CODE>JsonParseException(String, Throwable)</CODE></A> instead if you can describe what happened.
|
<A HREF="../../../com/google/gson/JsonParseException.html#JsonParseException(java.lang.String, java.lang.Throwable)"><CODE>JsonParseException(String, Throwable)</CODE></A> instead if you can describe what happened.
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonParser (Gson 1.3b3 API)
|
JsonParser (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonParser class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonParser (Gson 1.3 API)";
|
||||||
parent.document.title="JsonParser (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,12 +90,12 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonParser</H2>
|
Class JsonParser</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonParser</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonParser</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public final class <B>JsonParser</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
|
<DT><PRE>public final class <B>JsonParser</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -142,16 +139,16 @@ A parser to parse Json into a parse tree of <A HREF="../../../com/google/gson/Js
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Parses the specified JSON string into a parse tree</TD>
|
Parses the specified JSON string into a parse tree</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Parses the specified JSON string into a parse tree</TD>
|
Parses the specified JSON string into a parse tree</TD>
|
||||||
@ -160,10 +157,10 @@ A parser to parse Json into a parse tree of <A HREF="../../../com/google/gson/Js
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -199,7 +196,7 @@ public <B>JsonParser</B>()</PRE>
|
|||||||
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
|
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
|
||||||
parse</H3>
|
parse</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json)
|
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Parses the specified JSON string into a parse tree
|
<DD>Parses the specified JSON string into a parse tree
|
||||||
@ -218,7 +215,7 @@ public static <A HREF="../../../com/google/gson/JsonElement.html" title="class i
|
|||||||
<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
|
<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
|
||||||
parse</H3>
|
parse</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json)
|
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>parse</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json)
|
||||||
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
throws <A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson">JsonParseException</A></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Parses the specified JSON string into a parse tree
|
<DD>Parses the specified JSON string into a parse tree
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonPrimitive (Gson 1.3b3 API)
|
JsonPrimitive (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonPrimitive class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonPrimitive (Gson 1.3 API)";
|
||||||
parent.document.title="JsonPrimitive (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,7 +90,7 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class JsonPrimitive</H2>
|
Class JsonPrimitive</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">com.google.gson.JsonElement</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonPrimitive</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.JsonPrimitive</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
@ -111,7 +108,7 @@ A class representing a Json primitive value. A primitive value
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -126,25 +123,25 @@ A class representing a Json primitive value. A primitive value
|
|||||||
<B>Constructor Summary</B></FONT></TH>
|
<B>Constructor Summary</B></FONT></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Boolean)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> bool)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Boolean)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A> bool)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Create a primitive containing a boolean value.</TD>
|
Create a primitive containing a boolean value.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Character)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</A> c)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Character)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html" title="class or interface in java.lang">Character</A> c)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Create a primitive containing a character.</TD>
|
Create a primitive containing a character.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Number)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> number)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Number)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> number)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Create a primitive containing a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.</TD>
|
Create a primitive containing a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.String)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> string)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.String)">JsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Create a primitive containing a String value.</TD>
|
Create a primitive containing a String value.</TD>
|
||||||
@ -161,19 +158,19 @@ A class representing a Json primitive value. A primitive value
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsBigDecimal()">getAsBigDecimal</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsBigDecimal()">getAsBigDecimal</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.</TD>
|
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsBigInteger()">getAsBigInteger</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsBigInteger()">getAsBigInteger</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.</TD>
|
convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
@ -233,7 +230,7 @@ A class representing a Json primitive value. A primitive value
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsNumber()">getAsNumber</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsNumber()">getAsNumber</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -249,7 +246,7 @@ A class representing a Json primitive value. A primitive value
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsString()">getAsString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonPrimitive.html#getAsString()">getAsString</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -292,10 +289,10 @@ A class representing a Json primitive value. A primitive value
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -314,7 +311,7 @@ A class representing a Json primitive value. A primitive value
|
|||||||
<A NAME="JsonPrimitive(java.lang.Boolean)"><!-- --></A><H3>
|
<A NAME="JsonPrimitive(java.lang.Boolean)"><!-- --></A><H3>
|
||||||
JsonPrimitive</H3>
|
JsonPrimitive</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> bool)</PRE>
|
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A> bool)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Create a primitive containing a boolean value.
|
<DD>Create a primitive containing a boolean value.
|
||||||
<P>
|
<P>
|
||||||
@ -326,9 +323,9 @@ public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/jav
|
|||||||
<A NAME="JsonPrimitive(java.lang.Number)"><!-- --></A><H3>
|
<A NAME="JsonPrimitive(java.lang.Number)"><!-- --></A><H3>
|
||||||
JsonPrimitive</H3>
|
JsonPrimitive</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> number)</PRE>
|
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> number)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Create a primitive containing a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
<DD>Create a primitive containing a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Parameters:</B><DD><CODE>number</CODE> - the value to create the primitive with.</DL>
|
<DT><B>Parameters:</B><DD><CODE>number</CODE> - the value to create the primitive with.</DL>
|
||||||
@ -338,7 +335,7 @@ public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/jav
|
|||||||
<A NAME="JsonPrimitive(java.lang.String)"><!-- --></A><H3>
|
<A NAME="JsonPrimitive(java.lang.String)"><!-- --></A><H3>
|
||||||
JsonPrimitive</H3>
|
JsonPrimitive</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> string)</PRE>
|
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Create a primitive containing a String value.
|
<DD>Create a primitive containing a String value.
|
||||||
<P>
|
<P>
|
||||||
@ -350,7 +347,7 @@ public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/jav
|
|||||||
<A NAME="JsonPrimitive(java.lang.Character)"><!-- --></A><H3>
|
<A NAME="JsonPrimitive(java.lang.Character)"><!-- --></A><H3>
|
||||||
JsonPrimitive</H3>
|
JsonPrimitive</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</A> c)</PRE>
|
public <B>JsonPrimitive</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Character.html" title="class or interface in java.lang">Character</A> c)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Create a primitive containing a character. The character is turned into a one character String
|
<DD>Create a primitive containing a character. The character is turned into a one character String
|
||||||
since Json only supports String.
|
since Json only supports String.
|
||||||
@ -397,7 +394,7 @@ public boolean <B>getAsBoolean</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive boolean value.
|
<DT><B>Returns:</B><DD>get this element as a primitive boolean value.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid boolean value.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid boolean value.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -419,7 +416,7 @@ public boolean <B>isNumber</B>()</PRE>
|
|||||||
<A NAME="getAsNumber()"><!-- --></A><H3>
|
<A NAME="getAsNumber()"><!-- --></A><H3>
|
||||||
getAsNumber</H3>
|
getAsNumber</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A> <B>getAsNumber</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> <B>getAsNumber</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a Number.
|
<DD>convenience method to get this element as a Number.
|
||||||
<P>
|
<P>
|
||||||
@ -430,7 +427,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a Number.
|
<DT><B>Returns:</B><DD>get this element as a Number.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid Number.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid Number.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -452,7 +449,7 @@ public boolean <B>isString</B>()</PRE>
|
|||||||
<A NAME="getAsString()"><!-- --></A><H3>
|
<A NAME="getAsString()"><!-- --></A><H3>
|
||||||
getAsString</H3>
|
getAsString</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAsString</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAsString</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a String.
|
<DD>convenience method to get this element as a String.
|
||||||
<P>
|
<P>
|
||||||
@ -463,7 +460,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a String.
|
<DT><B>Returns:</B><DD>get this element as a String.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid String.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid String.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -482,7 +479,7 @@ public double <B>getAsDouble</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive double.
|
<DT><B>Returns:</B><DD>get this element as a primitive double.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid double.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid double.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -490,18 +487,18 @@ public double <B>getAsDouble</B>()</PRE>
|
|||||||
<A NAME="getAsBigDecimal()"><!-- --></A><H3>
|
<A NAME="getAsBigDecimal()"><!-- --></A><H3>
|
||||||
getAsBigDecimal</H3>
|
getAsBigDecimal</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>getAsBigDecimal</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math">BigDecimal</A> <B>getAsBigDecimal</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigDecimal()">getAsBigDecimal</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigDecimal()">getAsBigDecimal</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the value contained is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the value contained is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -509,18 +506,18 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.htm
|
|||||||
<A NAME="getAsBigInteger()"><!-- --></A><H3>
|
<A NAME="getAsBigInteger()"><!-- --></A><H3>
|
||||||
getAsBigInteger</H3>
|
getAsBigInteger</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>getAsBigInteger</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math">BigInteger</A> <B>getAsBigInteger</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigInteger()">getAsBigInteger</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/google/gson/JsonElement.html#getAsBigInteger()">getAsBigInteger</A></CODE> in class <CODE><A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DT><B>Returns:</B><DD>get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html?is-external=true" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the value contained is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - if the value contained is not a valid <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -539,7 +536,7 @@ public float <B>getAsFloat</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a float.
|
<DT><B>Returns:</B><DD>get this element as a float.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid float.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid float.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -558,7 +555,7 @@ public long <B>getAsLong</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive long.
|
<DT><B>Returns:</B><DD>get this element as a primitive long.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid long.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid long.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -577,7 +574,7 @@ public short <B>getAsShort</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive short.
|
<DT><B>Returns:</B><DD>get this element as a primitive short.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid short value.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid short value.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -596,7 +593,7 @@ public int <B>getAsInt</B>()</PRE>
|
|||||||
|
|
||||||
<DT><B>Returns:</B><DD>get this element as a primitive integer.
|
<DT><B>Returns:</B><DD>get this element as a primitive integer.
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid integer.</DL>
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if the value contained is not a valid integer.</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonSerializationContext (Gson 1.3b3 API)
|
JsonSerializationContext (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonSerializationContext interface">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonSerializationContext (Gson 1.3 API)";
|
||||||
parent.document.title="JsonSerializationContext (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -105,7 +102,7 @@ Context for serialization that is passed to a custom serializer during invocatio
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -122,7 +119,7 @@ Context for serialization that is passed to a custom serializer during invocatio
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default serialization on the specified object.</TD>
|
Invokes default serialization on the specified object.</TD>
|
||||||
@ -130,8 +127,8 @@ Context for serialization that is passed to a custom serializer during invocatio
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object, java.lang.reflect.Type)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object, java.lang.reflect.Type)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default serialization on the specified object passing the specific type information.</TD>
|
Invokes default serialization on the specified object passing the specific type information.</TD>
|
||||||
@ -153,7 +150,7 @@ Context for serialization that is passed to a custom serializer during invocatio
|
|||||||
<A NAME="serialize(java.lang.Object)"><!-- --></A><H3>
|
<A NAME="serialize(java.lang.Object)"><!-- --></A><H3>
|
||||||
serialize</H3>
|
serialize</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src)</PRE>
|
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Invokes default serialization on the specified object.
|
<DD>Invokes default serialization on the specified object.
|
||||||
<P>
|
<P>
|
||||||
@ -167,8 +164,8 @@ serialize</H3>
|
|||||||
<A NAME="serialize(java.lang.Object, java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="serialize(java.lang.Object, java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
serialize</H3>
|
serialize</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</PRE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Invokes default serialization on the specified object passing the specific type information.
|
<DD>Invokes default serialization on the specified object passing the specific type information.
|
||||||
It should never be invoked on the element received as a parameter of the
|
It should never be invoked on the element received as a parameter of the
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
JsonSerializer (Gson 1.3b3 API)
|
JsonSerializer (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.JsonSerializer interface">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="JsonSerializer (Gson 1.3 API)";
|
||||||
parent.document.title="JsonSerializer (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -164,7 +161,7 @@ Interface representing a custom serializer for Json. You should write a custom s
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/JsonSerializer.html#serialize(T, java.lang.reflect.Type, com.google.gson.JsonSerializationContext)">serialize</A></B>(<A HREF="../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
<TD><CODE><B><A HREF="../../../com/google/gson/JsonSerializer.html#serialize(T, java.lang.reflect.Type, com.google.gson.JsonSerializationContext)">serialize</A></B>(<A HREF="../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
||||||
<A HREF="../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</CODE>
|
<A HREF="../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -189,7 +186,7 @@ Interface representing a custom serializer for Json. You should write a custom s
|
|||||||
serialize</H3>
|
serialize</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
||||||
<A HREF="../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</PRE>
|
<A HREF="../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Gson invokes this call-back method during serialization when it encounters a field of the
|
<DD>Gson invokes this call-back method during serialization when it encounters a field of the
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
LongSerializationPolicy (Gson 1.3b3 API)
|
LongSerializationPolicy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.LongSerializationPolicy class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="LongSerializationPolicy (Gson 1.3 API)";
|
||||||
parent.document.title="LongSerializationPolicy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,16 +90,16 @@ com.google.gson</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Enum LongSerializationPolicy</H2>
|
Enum LongSerializationPolicy</H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>>
|
||||||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.LongSerializationPolicy</B>
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.LongSerializationPolicy</B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>></DD>
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A><<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>></DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public enum <B>LongSerializationPolicy</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>></DL>
|
<DT><PRE>public enum <B>LongSerializationPolicy</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang">Enum</A><<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -153,7 +150,7 @@ Defines the expected format for a <code>long</code> or <code>Long</code> type wh
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/LongSerializationPolicy.html#serialize(java.lang.Long)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> value)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/LongSerializationPolicy.html#serialize(java.lang.Long)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Serialize this <code>value</code> using this serialization policy.</TD>
|
Serialize this <code>value</code> using this serialization policy.</TD>
|
||||||
@ -161,7 +158,7 @@ Defines the expected format for a <code>long</code> or <code>Long</code> type wh
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A></CODE></FONT></TD>
|
<CODE>static <A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../com/google/gson/LongSerializationPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE>
|
<TD><CODE><B><A HREF="../../../com/google/gson/LongSerializationPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the enum constant of this type with the specified name.</TD>
|
Returns the enum constant of this type with the specified name.</TD>
|
||||||
@ -173,25 +170,25 @@ Defines the expected format for a <code>long</code> or <code>Long</code> type wh
|
|||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns an array containing the constants of this enum type, in
|
Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared.</TD>
|
the order they're declared.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang">Enum</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -248,20 +245,20 @@ public static final <A HREF="../../../com/google/gson/LongSerializationPolicy.ht
|
|||||||
<A NAME="values()"><!-- --></A><H3>
|
<A NAME="values()"><!-- --></A><H3>
|
||||||
values</H3>
|
values</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>[] <B>values</B>()</PRE>
|
public static final <A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>[] <B>values</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns an array containing the constants of this enum type, in
|
<DD>Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared. This method may be used to iterate
|
the order they're declared. This method may be used to iterate
|
||||||
over the constants as follows:
|
over the constants as follows:
|
||||||
<pre>
|
<pre>
|
||||||
for (LongSerializationPolicy c : LongSerializationPolicy.values())
|
for(LongSerializationPolicy c : LongSerializationPolicy.values())
|
||||||
System.out.println(c);
|
System.out.println(c);
|
||||||
</pre>
|
</pre>
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
|
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
|
||||||
the order they are declared</DL>
|
the order they're declared</DL>
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -269,7 +266,7 @@ the order they are declared</DL>
|
|||||||
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
|
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
|
||||||
valueOf</H3>
|
valueOf</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE>
|
public static <A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns the enum constant of this type with the specified name.
|
<DD>Returns the enum constant of this type with the specified name.
|
||||||
The string must match <I>exactly</I> an identifier used to declare an
|
The string must match <I>exactly</I> an identifier used to declare an
|
||||||
@ -280,9 +277,8 @@ not permitted.)
|
|||||||
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
|
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
|
||||||
<DT><B>Returns:</B><DD>the enum constant with the specified name
|
<DT><B>Returns:</B><DD>the enum constant with the specified name
|
||||||
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
|
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
|
||||||
with the specified name
|
with the specified name</DL>
|
||||||
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
|
|
||||||
</DD>
|
</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -290,7 +286,7 @@ with the specified name
|
|||||||
<A NAME="serialize(java.lang.Long)"><!-- --></A><H3>
|
<A NAME="serialize(java.lang.Long)"><!-- --></A><H3>
|
||||||
serialize</H3>
|
serialize</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> value)</PRE>
|
public <A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> <B>serialize</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A> value)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Serialize this <code>value</code> using this serialization policy.
|
<DD>Serialize this <code>value</code> using this serialization policy.
|
||||||
<P>
|
<P>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Expose (Gson 1.3b3 API)
|
Expose (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.annotations.Expose class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Expose (Gson 1.3 API)";
|
||||||
parent.document.title="Expose (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -94,8 +91,8 @@ com.google.gson.annotations</FONT>
|
|||||||
Annotation Type Expose</H2>
|
Annotation Type Expose</H2>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</A>)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html#FIELD" title="class or interface in java.lang.annotation">FIELD</A>)
|
||||||
</FONT>public @interface <B>Expose</B></DL>
|
</FONT>public @interface <B>Expose</B></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
@ -134,7 +131,7 @@ An annotation that indicates this member should be exposed for JSON
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
SerializedName (Gson 1.3b3 API)
|
SerializedName (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.annotations.SerializedName class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="SerializedName (Gson 1.3 API)";
|
||||||
parent.document.title="SerializedName (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -94,8 +91,8 @@ com.google.gson.annotations</FONT>
|
|||||||
Annotation Type SerializedName</H2>
|
Annotation Type SerializedName</H2>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</A>)
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html#FIELD" title="class or interface in java.lang.annotation">FIELD</A>)
|
||||||
</FONT>public @interface <B>SerializedName</B></DL>
|
</FONT>public @interface <B>SerializedName</B></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
@ -140,7 +137,7 @@ An annotation that indicates this member should be serialized to JSON with
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Joel Leitch</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
<DT><B>See Also:</B><DD><A HREF="../../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson"><CODE>FieldNamingPolicy</CODE></A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson"><CODE>FieldNamingPolicy</CODE></A></DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
@ -155,7 +152,7 @@ An annotation that indicates this member should be serialized to JSON with
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/annotations/SerializedName.html#value()">value</A></B></CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/annotations/SerializedName.html#value()">value</A></B></CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -178,7 +175,7 @@ An annotation that indicates this member should be serialized to JSON with
|
|||||||
<A NAME="value()"><!-- --></A><H3>
|
<A NAME="value()"><!-- --></A><H3>
|
||||||
value</H3>
|
value</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>value</B></PRE>
|
public abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>value</B></PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
</DL>
|
</DL>
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Since (Gson 1.3b3 API)
|
Since (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.annotations.Since class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Since (Gson 1.3 API)";
|
||||||
parent.document.title="Since (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -94,8 +91,8 @@ com.google.gson.annotations</FONT>
|
|||||||
Annotation Type Since</H2>
|
Annotation Type Since</H2>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>={<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</A>})
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html#value()" title="class or interface in java.lang.annotation">value</A>={<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html#FIELD" title="class or interface in java.lang.annotation">FIELD</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html#TYPE" title="class or interface in java.lang.annotation">TYPE</A>})
|
||||||
</FONT>public @interface <B>Since</B></DL>
|
</FONT>public @interface <B>Since</B></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
@ -129,7 +126,7 @@ An annotation that indicates the version number since a member or a type has bee
|
|||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Inderjeet Singh</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:04 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Until (Gson 1.3b3 API)
|
Until (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.annotations.Until class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Until (Gson 1.3 API)";
|
||||||
parent.document.title="Until (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -94,8 +91,8 @@ com.google.gson.annotations</FONT>
|
|||||||
Annotation Type Until</H2>
|
Annotation Type Until</H2>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
<DT><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Retention.html#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>)
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>={<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</A>})
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Target.html#value()" title="class or interface in java.lang.annotation">value</A>={<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html#FIELD" title="class or interface in java.lang.annotation">FIELD</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/ElementType.html#TYPE" title="class or interface in java.lang.annotation">TYPE</A>})
|
||||||
</FONT>public @interface <B>Until</B></DL>
|
</FONT>public @interface <B>Until</B></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
@ -131,8 +128,10 @@ An annotation that indicates the version number until a member or a type should
|
|||||||
|
|
||||||
<P>
|
<P>
|
||||||
<DL>
|
<DL>
|
||||||
|
<DT><B>Since:</B></DT>
|
||||||
|
<DD>1.3</DD>
|
||||||
<DT><B>Author:</B></DT>
|
<DT><B>Author:</B></DT>
|
||||||
<DD>Joel Leitch</DD>
|
<DD>Inderjeet Singh, Joel Leitch</DD>
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.annotations.Expose (Gson 1.3b3 API)
|
Uses of Class com.google.gson.annotations.Expose (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.annotations.Expose (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.annotations.Expose (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.annotations.SerializedName (Gson 1.3b3 API)
|
Uses of Class com.google.gson.annotations.SerializedName (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.annotations.SerializedName (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.annotations.SerializedName (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.annotations.Since (Gson 1.3b3 API)
|
Uses of Class com.google.gson.annotations.Since (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.annotations.Since (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.annotations.Since (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.annotations.Until (Gson 1.3b3 API)
|
Uses of Class com.google.gson.annotations.Until (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.annotations.Until (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.annotations.Until (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson.annotations (Gson 1.3b3 API)
|
com.google.gson.annotations (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.annotations package">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson.annotations (Gson 1.3b3 API)
|
com.google.gson.annotations (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.annotations package">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="com.google.gson.annotations (Gson 1.3 API)";
|
||||||
parent.document.title="com.google.gson.annotations (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson.annotations Class Hierarchy (Gson 1.3b3 API)
|
com.google.gson.annotations Class Hierarchy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="com.google.gson.annotations Class Hierarchy (Gson 1.3 API)";
|
||||||
parent.document.title="com.google.gson.annotations Class Hierarchy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -92,10 +88,10 @@ Hierarchy For Package com.google.gson.annotations
|
|||||||
Annotation Type Hierarchy
|
Annotation Type Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/Until.html" title="annotation in com.google.gson.annotations"><B>Until</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/Until.html" title="annotation in com.google.gson.annotations"><B>Until</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/Expose.html" title="annotation in com.google.gson.annotations"><B>Expose</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/Since.html" title="annotation in com.google.gson.annotations"><B>Since</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/Since.html" title="annotation in com.google.gson.annotations"><B>Since</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/SerializedName.html" title="annotation in com.google.gson.annotations"><B>SerializedName</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/SerializedName.html" title="annotation in com.google.gson.annotations"><B>SerializedName</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="../../../../com/google/gson/annotations/Expose.html" title="annotation in com.google.gson.annotations"><B>Expose</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
</UL>
|
</UL>
|
||||||
<HR>
|
<HR>
|
||||||
|
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Package com.google.gson.annotations (Gson 1.3b3 API)
|
Uses of Package com.google.gson.annotations (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Package com.google.gson.annotations (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Package com.google.gson.annotations (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.FieldNamingPolicy (Gson 1.3b3 API)
|
Uses of Class com.google.gson.FieldNamingPolicy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.FieldNamingPolicy (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.FieldNamingPolicy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -115,7 +111,7 @@ Uses of <A HREF="../../../../com/google/gson/FieldNamingPolicy.html" title="enum
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A></CODE></FONT></TD>
|
<CODE>static <A HREF="../../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>FieldNamingPolicy.</B><B><A HREF="../../../../com/google/gson/FieldNamingPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE>
|
<TD><CODE><B>FieldNamingPolicy.</B><B><A HREF="../../../../com/google/gson/FieldNamingPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the enum constant of this type with the specified name.</TD>
|
Returns the enum constant of this type with the specified name.</TD>
|
||||||
@ -127,7 +123,7 @@ Uses of <A HREF="../../../../com/google/gson/FieldNamingPolicy.html" title="enum
|
|||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns an array containing the constants of this enum type, in
|
Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared.</TD>
|
the order they're declared.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Interface com.google.gson.FieldNamingStrategy (Gson 1.3b3 API)
|
Uses of Interface com.google.gson.FieldNamingStrategy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Interface com.google.gson.FieldNamingStrategy (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Interface com.google.gson.FieldNamingStrategy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.Gson (Gson 1.3b3 API)
|
Uses of Class com.google.gson.Gson (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.Gson (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.Gson (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.GsonBuilder (Gson 1.3b3 API)
|
Uses of Class com.google.gson.GsonBuilder (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.GsonBuilder (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.GsonBuilder (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -157,8 +153,8 @@ Uses of <A HREF="../../../../com/google/gson/GsonBuilder.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>GsonBuilder.</B><B><A HREF="../../../../com/google/gson/GsonBuilder.html#registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)">registerTypeAdapter</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type,
|
<TD><CODE><B>GsonBuilder.</B><B><A HREF="../../../../com/google/gson/GsonBuilder.html#registerTypeAdapter(java.lang.reflect.Type, java.lang.Object)">registerTypeAdapter</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> typeAdapter)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> typeAdapter)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Configures Gson for custom serialization or deserialization.</TD>
|
Configures Gson for custom serialization or deserialization.</TD>
|
||||||
@ -200,7 +196,7 @@ Uses of <A HREF="../../../../com/google/gson/GsonBuilder.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson">GsonBuilder</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>GsonBuilder.</B><B><A HREF="../../../../com/google/gson/GsonBuilder.html#setDateFormat(java.lang.String)">setDateFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pattern)</CODE>
|
<TD><CODE><B>GsonBuilder.</B><B><A HREF="../../../../com/google/gson/GsonBuilder.html#setDateFormat(java.lang.String)">setDateFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> pattern)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Configures Gson to serialize <code>Date</code> objects according to the pattern provided.</TD>
|
Configures Gson to serialize <code>Date</code> objects according to the pattern provided.</TD>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Interface com.google.gson.InstanceCreator (Gson 1.3b3 API)
|
Uses of Interface com.google.gson.InstanceCreator (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Interface com.google.gson.InstanceCreator (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Interface com.google.gson.InstanceCreator (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonArray (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonArray (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonArray (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonArray (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -123,7 +119,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonArray.html" title="class in com
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#getAsJsonArray(java.lang.String)">getAsJsonArray</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#getAsJsonArray(java.lang.String)">getAsJsonArray</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to get the specified member as a JsonArray.</TD>
|
Convenience method to get the specified member as a JsonArray.</TD>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Interface com.google.gson.JsonDeserializationContext (Gson 1.3b3 API)
|
Uses of Interface com.google.gson.JsonDeserializationContext (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Interface com.google.gson.JsonDeserializationContext (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Interface com.google.gson.JsonDeserializationContext (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -116,7 +112,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonDeserializationContext.html" ti
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonDeserializer.</B><B><A HREF="../../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>JsonDeserializer.</B><B><A HREF="../../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
||||||
<A HREF="../../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
<A HREF="../../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Interface com.google.gson.JsonDeserializer (Gson 1.3b3 API)
|
Uses of Interface com.google.gson.JsonDeserializer (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Interface com.google.gson.JsonDeserializer (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Interface com.google.gson.JsonDeserializer (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonElement (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonElement (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonElement (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonElement (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -163,23 +159,15 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#get(java.lang.String)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#get(java.lang.String)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the member with the specified name.</TD>
|
Returns the member with the specified name.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json)</CODE>
|
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json)</CODE>
|
||||||
|
|
||||||
<BR>
|
|
||||||
Parses the specified JSON string into a parse tree</TD>
|
|
||||||
</TR>
|
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
|
||||||
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json)</CODE>
|
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Parses the specified JSON string into a parse tree</TD>
|
Parses the specified JSON string into a parse tree</TD>
|
||||||
@ -187,7 +175,15 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#remove(java.lang.String)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property)</CODE>
|
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json)</CODE>
|
||||||
|
|
||||||
|
<BR>
|
||||||
|
Parses the specified JSON string into a parse tree</TD>
|
||||||
|
</TR>
|
||||||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#remove(java.lang.String)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Removes the <code>property</code> from this <A HREF="../../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.</TD>
|
Removes the <code>property</code> from this <A HREF="../../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><CODE>JsonObject</CODE></A>.</TD>
|
||||||
@ -195,7 +191,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>LongSerializationPolicy.</B><B><A HREF="../../../../com/google/gson/LongSerializationPolicy.html#serialize(java.lang.Long)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> value)</CODE>
|
<TD><CODE><B>LongSerializationPolicy.</B><B><A HREF="../../../../com/google/gson/LongSerializationPolicy.html#serialize(java.lang.Long)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Serialize this <code>value</code> using this serialization policy.</TD>
|
Serialize this <code>value</code> using this serialization policy.</TD>
|
||||||
@ -203,7 +199,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonSerializationContext.</B><B><A HREF="../../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src)</CODE>
|
<TD><CODE><B>JsonSerializationContext.</B><B><A HREF="../../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default serialization on the specified object.</TD>
|
Invokes default serialization on the specified object.</TD>
|
||||||
@ -211,8 +207,8 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonSerializationContext.</B><B><A HREF="../../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object, java.lang.reflect.Type)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> src,
|
<TD><CODE><B>JsonSerializationContext.</B><B><A HREF="../../../../com/google/gson/JsonSerializationContext.html#serialize(java.lang.Object, java.lang.reflect.Type)">serialize</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default serialization on the specified object passing the specific type information.</TD>
|
Invokes default serialization on the specified object passing the specific type information.</TD>
|
||||||
@ -221,7 +217,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonSerializer.</B><B><A HREF="../../../../com/google/gson/JsonSerializer.html#serialize(T, java.lang.reflect.Type, com.google.gson.JsonSerializationContext)">serialize</A></B>(<A HREF="../../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
<TD><CODE><B>JsonSerializer.</B><B><A HREF="../../../../com/google/gson/JsonSerializer.html#serialize(T, java.lang.reflect.Type, com.google.gson.JsonSerializationContext)">serialize</A></B>(<A HREF="../../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
||||||
<A HREF="../../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</CODE>
|
<A HREF="../../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -238,7 +234,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>>></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.Entry.html" title="class or interface in java.util">Map.Entry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>>></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#entrySet()">entrySet</A></B>()</CODE>
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#entrySet()">entrySet</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -246,7 +242,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A><<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonArray.</B><B><A HREF="../../../../com/google/gson/JsonArray.html#iterator()">iterator</A></B>()</CODE>
|
<TD><CODE><B>JsonArray.</B><B><A HREF="../../../../com/google/gson/JsonArray.html#iterator()">iterator</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -271,7 +267,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#add(java.lang.String, com.google.gson.JsonElement)">add</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> property,
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#add(java.lang.String, com.google.gson.JsonElement)">add</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> property,
|
||||||
<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> value)</CODE>
|
<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> value)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -288,7 +284,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonDeserializationContext.</B><B><A HREF="../../../../com/google/gson/JsonDeserializationContext.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>JsonDeserializationContext.</B><B><A HREF="../../../../com/google/gson/JsonDeserializationContext.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default deserialization on the specified object.</TD>
|
Invokes default deserialization on the specified object.</TD>
|
||||||
@ -297,7 +293,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonDeserializer.</B><B><A HREF="../../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>JsonDeserializer.</B><B><A HREF="../../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
||||||
<A HREF="../../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
<A HREF="../../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -315,7 +311,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.Class)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.Class)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified parse tree into an object of the
|
This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -332,7 +328,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonElement.html" title="class in c
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified parse tree into an object of the
|
This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonNull (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonNull (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonNull (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonNull (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonObject (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonObject (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonObject (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonObject (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -123,7 +119,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonObject.html" title="class in co
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonObject.html" title="class in com.google.gson">JsonObject</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#getAsJsonObject(java.lang.String)">getAsJsonObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#getAsJsonObject(java.lang.String)">getAsJsonObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to get the specified member as a JsonObject.</TD>
|
Convenience method to get the specified member as a JsonObject.</TD>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonParseException (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonParseException (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonParseException (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonParseException (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -123,7 +119,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonDeserializationContext.</B><B><A HREF="../../../../com/google/gson/JsonDeserializationContext.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>JsonDeserializationContext.</B><B><A HREF="../../../../com/google/gson/JsonDeserializationContext.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Invokes default deserialization on the specified object.</TD>
|
Invokes default deserialization on the specified object.</TD>
|
||||||
@ -132,7 +128,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonDeserializer.html" title="type parameter in JsonDeserializer">T</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonDeserializer.</B><B><A HREF="../../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>JsonDeserializer.</B><B><A HREF="../../../../com/google/gson/JsonDeserializer.html#deserialize(com.google.gson.JsonElement, java.lang.reflect.Type, com.google.gson.JsonDeserializationContext)">deserialize</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT,
|
||||||
<A HREF="../../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
<A HREF="../../../../com/google/gson/JsonDeserializationContext.html" title="interface in com.google.gson">JsonDeserializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -150,7 +146,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.Class)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.Class)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified parse tree into an object of the
|
This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -167,7 +163,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(com.google.gson.JsonElement, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified parse tree into an object of the
|
This method deserializes the Json read from the specified parse tree into an object of the
|
||||||
@ -183,8 +179,8 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified reader into an object of the
|
This method deserializes the Json read from the specified reader into an object of the
|
||||||
@ -200,8 +196,8 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.io.Reader, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the Json read from the specified reader into an object of the
|
This method deserializes the Json read from the specified reader into an object of the
|
||||||
@ -217,8 +213,8 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.Class)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> classOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the specified Json into an object of the specified class.</TD>
|
This method deserializes the specified Json into an object of the specified class.</TD>
|
||||||
@ -233,24 +229,24 @@ Uses of <A HREF="../../../../com/google/gson/JsonParseException.html" title="cla
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json,
|
<TD><CODE><B>Gson.</B><B><A HREF="../../../../com/google/gson/Gson.html#fromJson(java.lang.String, java.lang.reflect.Type)">fromJson</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfT)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
This method deserializes the specified Json into an object of the specified type.</TD>
|
This method deserializes the specified Json into an object of the specified type.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> json)</CODE>
|
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A> json)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Parses the specified JSON string into a parse tree</TD>
|
Parses the specified JSON string into a parse tree</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> json)</CODE>
|
<TD><CODE><B>JsonParser.</B><B><A HREF="../../../../com/google/gson/JsonParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> json)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Parses the specified JSON string into a parse tree</TD>
|
Parses the specified JSON string into a parse tree</TD>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonParser (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonParser (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonParser (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonParser (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.JsonPrimitive (Gson 1.3b3 API)
|
Uses of Class com.google.gson.JsonPrimitive (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.JsonPrimitive (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.JsonPrimitive (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -123,7 +119,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonPrimitive.html" title="class in
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#getAsJsonPrimitive(java.lang.String)">getAsJsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> memberName)</CODE>
|
<TD><CODE><B>JsonObject.</B><B><A HREF="../../../../com/google/gson/JsonObject.html#getAsJsonPrimitive(java.lang.String)">getAsJsonPrimitive</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> memberName)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Convenience method to get the specified member as a JsonPrimitive element.</TD>
|
Convenience method to get the specified member as a JsonPrimitive element.</TD>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Interface com.google.gson.JsonSerializationContext (Gson 1.3b3 API)
|
Uses of Interface com.google.gson.JsonSerializationContext (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Interface com.google.gson.JsonSerializationContext (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Interface com.google.gson.JsonSerializationContext (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -116,7 +112,7 @@ Uses of <A HREF="../../../../com/google/gson/JsonSerializationContext.html" titl
|
|||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
<CODE> <A HREF="../../../../com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>JsonSerializer.</B><B><A HREF="../../../../com/google/gson/JsonSerializer.html#serialize(T, java.lang.reflect.Type, com.google.gson.JsonSerializationContext)">serialize</A></B>(<A HREF="../../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
<TD><CODE><B>JsonSerializer.</B><B><A HREF="../../../../com/google/gson/JsonSerializer.html#serialize(T, java.lang.reflect.Type, com.google.gson.JsonSerializationContext)">serialize</A></B>(<A HREF="../../../../com/google/gson/JsonSerializer.html" title="type parameter in JsonSerializer">T</A> src,
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> typeOfSrc,
|
||||||
<A HREF="../../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</CODE>
|
<A HREF="../../../../com/google/gson/JsonSerializationContext.html" title="interface in com.google.gson">JsonSerializationContext</A> context)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Interface com.google.gson.JsonSerializer (Gson 1.3b3 API)
|
Uses of Interface com.google.gson.JsonSerializer (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Interface com.google.gson.JsonSerializer (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Interface com.google.gson.JsonSerializer (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.LongSerializationPolicy (Gson 1.3b3 API)
|
Uses of Class com.google.gson.LongSerializationPolicy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.LongSerializationPolicy (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.LongSerializationPolicy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -115,7 +111,7 @@ Uses of <A HREF="../../../../com/google/gson/LongSerializationPolicy.html" title
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A></CODE></FONT></TD>
|
<CODE>static <A HREF="../../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B>LongSerializationPolicy.</B><B><A HREF="../../../../com/google/gson/LongSerializationPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE>
|
<TD><CODE><B>LongSerializationPolicy.</B><B><A HREF="../../../../com/google/gson/LongSerializationPolicy.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns the enum constant of this type with the specified name.</TD>
|
Returns the enum constant of this type with the specified name.</TD>
|
||||||
@ -127,7 +123,7 @@ Uses of <A HREF="../../../../com/google/gson/LongSerializationPolicy.html" title
|
|||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Returns an array containing the constants of this enum type, in
|
Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared.</TD>
|
the order they're declared.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson (Gson 1.3b3 API)
|
com.google.gson (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson package">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson (Gson 1.3b3 API)
|
com.google.gson (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson package">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="com.google.gson (Gson 1.3 API)";
|
||||||
parent.document.title="com.google.gson (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson Class Hierarchy (Gson 1.3b3 API)
|
com.google.gson Class Hierarchy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="com.google.gson Class Hierarchy (Gson 1.3 API)";
|
||||||
parent.document.title="com.google.gson Class Hierarchy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -92,14 +88,14 @@ Hierarchy For Package com.google.gson
|
|||||||
Class Hierarchy
|
Class Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/Gson.html" title="class in com.google.gson"><B>Gson</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson"><B>GsonBuilder</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson"><B>JsonElement</B></A><UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/Gson.html" title="class in com.google.gson"><B>Gson</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/GsonBuilder.html" title="class in com.google.gson"><B>GsonBuilder</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonElement.html" title="class in com.google.gson"><B>JsonElement</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><B>JsonArray</B></A> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><T>)
|
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonArray.html" title="class in com.google.gson"><B>JsonArray</B></A> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html" title="class or interface in java.lang">Iterable</A><T>)
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson"><B>JsonNull</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><B>JsonObject</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><B>JsonPrimitive</B></A></UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonNull.html" title="class in com.google.gson"><B>JsonNull</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonObject.html" title="class in com.google.gson"><B>JsonObject</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><B>JsonPrimitive</B></A></UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonParser.html" title="class in com.google.gson"><B>JsonParser</B></A><LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>)
|
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonParser.html" title="class in com.google.gson"><B>JsonParser</B></A><LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>)
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><B>Exception</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang"><B>Exception</B></A><UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><B>RuntimeException</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang"><B>RuntimeException</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson"><B>JsonParseException</B></A></UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/JsonParseException.html" title="class in com.google.gson"><B>JsonParseException</B></A></UL>
|
||||||
</UL>
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
@ -114,10 +110,10 @@ Interface Hierarchy
|
|||||||
Enum Hierarchy
|
Enum Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><B>Enum</B></A><E> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><T>, java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>)
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang"><B>Enum</B></A><E> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A><T>, java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>)
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson"><B>FieldNamingPolicy</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson"><B>LongSerializationPolicy</B></A></UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson"><B>LongSerializationPolicy</B></A><LI TYPE="circle">com.google.gson.<A HREF="../../../com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson"><B>FieldNamingPolicy</B></A></UL>
|
||||||
</UL>
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
<HR>
|
<HR>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Package com.google.gson (Gson 1.3b3 API)
|
Uses of Package com.google.gson (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Package com.google.gson (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Package com.google.gson (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
TypeToken (Gson 1.3b3 API)
|
TypeToken (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.reflect.TypeToken class">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="TypeToken (Gson 1.3 API)";
|
||||||
parent.document.title="TypeToken (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -93,12 +90,12 @@ com.google.gson.reflect</FONT>
|
|||||||
<BR>
|
<BR>
|
||||||
Class TypeToken<T></H2>
|
Class TypeToken<T></H2>
|
||||||
<PRE>
|
<PRE>
|
||||||
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
||||||
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.reflect.TypeToken<T></B>
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.gson.reflect.TypeToken<T></B>
|
||||||
</PRE>
|
</PRE>
|
||||||
<HR>
|
<HR>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><PRE>public abstract class <B>TypeToken<T></B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
|
<DT><PRE>public abstract class <B>TypeToken<T></B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
@ -137,7 +134,7 @@ Represents a generic type <code>T</code>.
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> o)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Method to test equality.</TD>
|
Method to test equality.</TD>
|
||||||
@ -152,7 +149,7 @@ Represents a generic type <code>T</code>.
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.Class)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.Class)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> type)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Gets type token for the given <code>Class</code> instance.</TD>
|
Gets type token for the given <code>Class</code> instance.</TD>
|
||||||
@ -160,14 +157,14 @@ Represents a generic type <code>T</code>.
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><?></CODE></FONT></TD>
|
<CODE>static <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><?></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.reflect.Type)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.reflect.Type)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Gets type token for the given <code>Type</code> instance.</TD>
|
Gets type token for the given <code>Type</code> instance.</TD>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? super <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="type parameter in TypeToken">T</A>></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><? super <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="type parameter in TypeToken">T</A>></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#getRawType()">getRawType</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#getRawType()">getRawType</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -175,7 +172,7 @@ Represents a generic type <code>T</code>.
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#getType()">getType</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#getType()">getType</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -192,7 +189,7 @@ Represents a generic type <code>T</code>.
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#isAssignableFrom(java.lang.Class)">isAssignableFrom</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls)</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#isAssignableFrom(java.lang.Class)">isAssignableFrom</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?> cls)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Check if this type is assignable from the given class object.</TD>
|
Check if this type is assignable from the given class object.</TD>
|
||||||
@ -200,7 +197,7 @@ Represents a generic type <code>T</code>.
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#isAssignableFrom(java.lang.reflect.Type)">isAssignableFrom</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> from)</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#isAssignableFrom(java.lang.reflect.Type)">isAssignableFrom</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> from)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Check if this type is assignable from the given Type.</TD>
|
Check if this type is assignable from the given Type.</TD>
|
||||||
@ -215,7 +212,7 @@ Represents a generic type <code>T</code>.
|
|||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||||||
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../../../../com/google/gson/reflect/TypeToken.html#toString()">toString</A></B>()</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
@ -225,10 +222,10 @@ Represents a generic type <code>T</code>.
|
|||||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
||||||
</TR>
|
</TR>
|
||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
@ -247,7 +244,7 @@ Represents a generic type <code>T</code>.
|
|||||||
<A NAME="getRawType()"><!-- --></A><H3>
|
<A NAME="getRawType()"><!-- --></A><H3>
|
||||||
getRawType</H3>
|
getRawType</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? super <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="type parameter in TypeToken">T</A>> <B>getRawType</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><? super <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="type parameter in TypeToken">T</A>> <B>getRawType</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Gets the raw type.
|
<DD>Gets the raw type.
|
||||||
<P>
|
<P>
|
||||||
@ -260,7 +257,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-
|
|||||||
<A NAME="getType()"><!-- --></A><H3>
|
<A NAME="getType()"><!-- --></A><H3>
|
||||||
getType</H3>
|
getType</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> <B>getType</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> <B>getType</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Gets underlying <code>Type</code> instance.
|
<DD>Gets underlying <code>Type</code> instance.
|
||||||
<P>
|
<P>
|
||||||
@ -273,7 +270,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.h
|
|||||||
<A NAME="isAssignableFrom(java.lang.Class)"><!-- --></A><H3>
|
<A NAME="isAssignableFrom(java.lang.Class)"><!-- --></A><H3>
|
||||||
isAssignableFrom</H3>
|
isAssignableFrom</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public boolean <B>isAssignableFrom</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls)</PRE>
|
public boolean <B>isAssignableFrom</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><?> cls)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Check if this type is assignable from the given class object.
|
<DD>Check if this type is assignable from the given class object.
|
||||||
<P>
|
<P>
|
||||||
@ -286,7 +283,7 @@ public boolean <B>isAssignableFrom</B>(<A HREF="http://java.sun.com/j2se/1.5.0/d
|
|||||||
<A NAME="isAssignableFrom(java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="isAssignableFrom(java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
isAssignableFrom</H3>
|
isAssignableFrom</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public boolean <B>isAssignableFrom</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> from)</PRE>
|
public boolean <B>isAssignableFrom</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> from)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Check if this type is assignable from the given Type.
|
<DD>Check if this type is assignable from the given Type.
|
||||||
<P>
|
<P>
|
||||||
@ -317,7 +314,7 @@ public int <B>hashCode</B>()</PRE>
|
|||||||
<DD>Hashcode for this object.
|
<DD>Hashcode for this object.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
@ -329,12 +326,12 @@ public int <B>hashCode</B>()</PRE>
|
|||||||
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
|
||||||
equals</H3>
|
equals</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE>
|
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> o)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Method to test equality.
|
<DD>Method to test equality.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
@ -346,12 +343,12 @@ public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/ja
|
|||||||
<A NAME="toString()"><!-- --></A><H3>
|
<A NAME="toString()"><!-- --></A><H3>
|
||||||
toString</H3>
|
toString</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Returns a string representation of this object.
|
<DD>Returns a string representation of this object.
|
||||||
<P>
|
<P>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
||||||
</DD>
|
</DD>
|
||||||
<DD><DL>
|
<DD><DL>
|
||||||
|
|
||||||
@ -363,7 +360,7 @@ public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is
|
|||||||
<A NAME="get(java.lang.reflect.Type)"><!-- --></A><H3>
|
<A NAME="get(java.lang.reflect.Type)"><!-- --></A><H3>
|
||||||
get</H3>
|
get</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><?> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</PRE>
|
public static <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><?> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Gets type token for the given <code>Type</code> instance.
|
<DD>Gets type token for the given <code>Type</code> instance.
|
||||||
<P>
|
<P>
|
||||||
@ -376,7 +373,7 @@ public static <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title
|
|||||||
<A NAME="get(java.lang.Class)"><!-- --></A><H3>
|
<A NAME="get(java.lang.Class)"><!-- --></A><H3>
|
||||||
get</H3>
|
get</H3>
|
||||||
<PRE>
|
<PRE>
|
||||||
public static <T> <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><T> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</PRE>
|
public static <T> <A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><T> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> type)</PRE>
|
||||||
<DL>
|
<DL>
|
||||||
<DD>Gets type token for the given <code>Class</code> instance.
|
<DD>Gets type token for the given <code>Class</code> instance.
|
||||||
<P>
|
<P>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Class com.google.gson.reflect.TypeToken (Gson 1.3b3 API)
|
Uses of Class com.google.gson.reflect.TypeToken (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Class com.google.gson.reflect.TypeToken (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Class com.google.gson.reflect.TypeToken (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -121,7 +117,7 @@ Uses of <A HREF="../../../../../com/google/gson/reflect/TypeToken.html" title="c
|
|||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
</CODE></FONT></TD>
|
</CODE></FONT></TD>
|
||||||
<TD><CODE><B>TypeToken.</B><B><A HREF="../../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.Class)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><T> type)</CODE>
|
<TD><CODE><B>TypeToken.</B><B><A HREF="../../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.Class)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A><T> type)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Gets type token for the given <code>Class</code> instance.</TD>
|
Gets type token for the given <code>Class</code> instance.</TD>
|
||||||
@ -129,7 +125,7 @@ Uses of <A HREF="../../../../../com/google/gson/reflect/TypeToken.html" title="c
|
|||||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||||
<CODE>static <A HREF="../../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><?></CODE></FONT></TD>
|
<CODE>static <A HREF="../../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect">TypeToken</A><?></CODE></FONT></TD>
|
||||||
<TD><CODE><B>TypeToken.</B><B><A HREF="../../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.reflect.Type)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</CODE>
|
<TD><CODE><B>TypeToken.</B><B><A HREF="../../../../../com/google/gson/reflect/TypeToken.html#get(java.lang.reflect.Type)">get</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Type.html" title="class or interface in java.lang.reflect">Type</A> type)</CODE>
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
Gets type token for the given <code>Type</code> instance.</TD>
|
Gets type token for the given <code>Type</code> instance.</TD>
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson.reflect (Gson 1.3b3 API)
|
com.google.gson.reflect (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.reflect package">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson.reflect (Gson 1.3b3 API)
|
com.google.gson.reflect (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="com.google.gson.reflect package">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="com.google.gson.reflect (Gson 1.3 API)";
|
||||||
parent.document.title="com.google.gson.reflect (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
com.google.gson.reflect Class Hierarchy (Gson 1.3b3 API)
|
com.google.gson.reflect Class Hierarchy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="com.google.gson.reflect Class Hierarchy (Gson 1.3 API)";
|
||||||
parent.document.title="com.google.gson.reflect Class Hierarchy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -92,7 +88,7 @@ Hierarchy For Package com.google.gson.reflect
|
|||||||
Class Hierarchy
|
Class Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.reflect.<A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect"><B>TypeToken</B></A><T></UL>
|
<LI TYPE="circle">com.google.gson.reflect.<A HREF="../../../../com/google/gson/reflect/TypeToken.html" title="class in com.google.gson.reflect"><B>TypeToken</B></A><T></UL>
|
||||||
</UL>
|
</UL>
|
||||||
<HR>
|
<HR>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Uses of Package com.google.gson.reflect (Gson 1.3b3 API)
|
Uses of Package com.google.gson.reflect (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Uses of Package com.google.gson.reflect (Gson 1.3 API)";
|
||||||
parent.document.title="Uses of Package com.google.gson.reflect (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Constant Field Values (Gson 1.3b3 API)
|
Constant Field Values (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Constant Field Values (Gson 1.3 API)";
|
||||||
parent.document.title="Constant Field Values (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Deprecated List (Gson 1.3b3 API)
|
Deprecated List (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Deprecated List (Gson 1.3 API)";
|
||||||
parent.document.title="Deprecated List (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
API Help (Gson 1.3b3 API)
|
API Help (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="API Help (Gson 1.3 API)";
|
||||||
parent.document.title="API Help (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Index (Gson 1.3b3 API)
|
Index (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Index (Gson 1.3 API)";
|
||||||
parent.document.title="Index (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -207,22 +203,22 @@ Static method in class com.google.gson.reflect.<A HREF="./com/google/gson/reflec
|
|||||||
<DD>Gets type token for the given <code>Class</code> instance.
|
<DD>Gets type token for the given <code>Class</code> instance.
|
||||||
<DT><A HREF="./com/google/gson/JsonArray.html#getAsBigDecimal()"><B>getAsBigDecimal()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonArray.html#getAsBigDecimal()"><B>getAsBigDecimal()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A> if it contains a single element.
|
||||||
<DT><A HREF="./com/google/gson/JsonElement.html#getAsBigDecimal()"><B>getAsBigDecimal()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonElement.html#getAsBigDecimal()"><B>getAsBigDecimal()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<DT><A HREF="./com/google/gson/JsonPrimitive.html#getAsBigDecimal()"><B>getAsBigDecimal()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonPrimitive.html#getAsBigDecimal()"><B>getAsBigDecimal()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>.
|
||||||
<DT><A HREF="./com/google/gson/JsonArray.html#getAsBigInteger()"><B>getAsBigInteger()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonArray.html#getAsBigInteger()"><B>getAsBigInteger()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A> if it contains a single element.
|
||||||
<DT><A HREF="./com/google/gson/JsonElement.html#getAsBigInteger()"><B>getAsBigInteger()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonElement.html#getAsBigInteger()"><B>getAsBigInteger()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<DT><A HREF="./com/google/gson/JsonPrimitive.html#getAsBigInteger()"><B>getAsBigInteger()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonPrimitive.html#getAsBigInteger()"><B>getAsBigInteger()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigInteger.html" title="class or interface in java.math"><CODE>BigInteger</CODE></A>.
|
||||||
<DT><A HREF="./com/google/gson/JsonArray.html#getAsBoolean()"><B>getAsBoolean()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonArray.html#getAsBoolean()"><B>getAsBoolean()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
||||||
<DD>convenience method to get this array as a boolean if it contains a single element.
|
<DD>convenience method to get this array as a boolean if it contains a single element.
|
||||||
@ -309,10 +305,10 @@ Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" t
|
|||||||
<DD>convenience method to get this element as a primitive long.
|
<DD>convenience method to get this element as a primitive long.
|
||||||
<DT><A HREF="./com/google/gson/JsonArray.html#getAsNumber()"><B>getAsNumber()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonArray.html#getAsNumber()"><B>getAsNumber()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A> if it contains a single element.
|
||||||
<DT><A HREF="./com/google/gson/JsonElement.html#getAsNumber()"><B>getAsNumber()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonElement.html#getAsNumber()"><B>getAsNumber()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
||||||
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
<DD>convenience method to get this element as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
||||||
<DT><A HREF="./com/google/gson/JsonPrimitive.html#getAsNumber()"><B>getAsNumber()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonPrimitive.html#getAsNumber()"><B>getAsNumber()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
||||||
<DD>convenience method to get this element as a Number.
|
<DD>convenience method to get this element as a Number.
|
||||||
@ -327,7 +323,7 @@ Method in class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" t
|
|||||||
<DD>convenience method to get this element as a primitive short.
|
<DD>convenience method to get this element as a primitive short.
|
||||||
<DT><A HREF="./com/google/gson/JsonArray.html#getAsString()"><B>getAsString()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonArray.html#getAsString()"><B>getAsString()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonArray.html" title="class in com.google.gson">JsonArray</A>
|
||||||
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><CODE>String</CODE></A> if it contains a single element.
|
<DD>convenience method to get this array as a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> if it contains a single element.
|
||||||
<DT><A HREF="./com/google/gson/JsonElement.html#getAsString()"><B>getAsString()</B></A> -
|
<DT><A HREF="./com/google/gson/JsonElement.html#getAsString()"><B>getAsString()</B></A> -
|
||||||
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonElement.html" title="class in com.google.gson">JsonElement</A>
|
||||||
<DD>convenience method to get this element as a string value.
|
<DD>convenience method to get this element as a string value.
|
||||||
@ -438,7 +434,7 @@ Constructor for class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.h
|
|||||||
<DD>Create a primitive containing a boolean value.
|
<DD>Create a primitive containing a boolean value.
|
||||||
<DT><A HREF="./com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Number)"><B>JsonPrimitive(Number)</B></A> -
|
<DT><A HREF="./com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.Number)"><B>JsonPrimitive(Number)</B></A> -
|
||||||
Constructor for class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
Constructor for class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
||||||
<DD>Create a primitive containing a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
<DD>Create a primitive containing a <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html" title="class or interface in java.lang"><CODE>Number</CODE></A>.
|
||||||
<DT><A HREF="./com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.String)"><B>JsonPrimitive(String)</B></A> -
|
<DT><A HREF="./com/google/gson/JsonPrimitive.html#JsonPrimitive(java.lang.String)"><B>JsonPrimitive(String)</B></A> -
|
||||||
Constructor for class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
Constructor for class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.html" title="class in com.google.gson">JsonPrimitive</A>
|
||||||
<DD>Create a primitive containing a String value.
|
<DD>Create a primitive containing a String value.
|
||||||
@ -457,10 +453,10 @@ Constructor for class com.google.gson.<A HREF="./com/google/gson/JsonPrimitive.h
|
|||||||
<B>P</B></H2>
|
<B>P</B></H2>
|
||||||
<DL>
|
<DL>
|
||||||
<DT><A HREF="./com/google/gson/JsonParser.html#parse(java.lang.String)"><B>parse(String)</B></A> -
|
<DT><A HREF="./com/google/gson/JsonParser.html#parse(java.lang.String)"><B>parse(String)</B></A> -
|
||||||
Static method in class com.google.gson.<A HREF="./com/google/gson/JsonParser.html" title="class in com.google.gson">JsonParser</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonParser.html" title="class in com.google.gson">JsonParser</A>
|
||||||
<DD>Parses the specified JSON string into a parse tree
|
<DD>Parses the specified JSON string into a parse tree
|
||||||
<DT><A HREF="./com/google/gson/JsonParser.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> -
|
<DT><A HREF="./com/google/gson/JsonParser.html#parse(java.io.Reader)"><B>parse(Reader)</B></A> -
|
||||||
Static method in class com.google.gson.<A HREF="./com/google/gson/JsonParser.html" title="class in com.google.gson">JsonParser</A>
|
Method in class com.google.gson.<A HREF="./com/google/gson/JsonParser.html" title="class in com.google.gson">JsonParser</A>
|
||||||
<DD>Parses the specified JSON string into a parse tree
|
<DD>Parses the specified JSON string into a parse tree
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
@ -579,11 +575,11 @@ Static method in enum com.google.gson.<A HREF="./com/google/gson/LongSerializati
|
|||||||
<DT><A HREF="./com/google/gson/FieldNamingPolicy.html#values()"><B>values()</B></A> -
|
<DT><A HREF="./com/google/gson/FieldNamingPolicy.html#values()"><B>values()</B></A> -
|
||||||
Static method in enum com.google.gson.<A HREF="./com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>
|
Static method in enum com.google.gson.<A HREF="./com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson">FieldNamingPolicy</A>
|
||||||
<DD>Returns an array containing the constants of this enum type, in
|
<DD>Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared.
|
the order they're declared.
|
||||||
<DT><A HREF="./com/google/gson/LongSerializationPolicy.html#values()"><B>values()</B></A> -
|
<DT><A HREF="./com/google/gson/LongSerializationPolicy.html#values()"><B>values()</B></A> -
|
||||||
Static method in enum com.google.gson.<A HREF="./com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>
|
Static method in enum com.google.gson.<A HREF="./com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson">LongSerializationPolicy</A>
|
||||||
<DD>Returns an array containing the constants of this enum type, in
|
<DD>Returns an array containing the constants of this enum type, in
|
||||||
the order they are declared.
|
the order they're declared.
|
||||||
</DL>
|
</DL>
|
||||||
<HR>
|
<HR>
|
||||||
<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A>
|
<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A>
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc on Tue Mar 17 14:23:33 PDT 2009-->
|
<!-- Generated by javadoc on Wed Apr 01 18:37:05 PDT 2009-->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Gson 1.3b3 API
|
Gson 1.3 API
|
||||||
</TITLE>
|
</TITLE>
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
targetPage = "" + window.location.search;
|
targetPage = "" + window.location.search;
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Overview List (Gson 1.3b3 API)
|
Overview (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="Overview, Gson 1.3 API">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
|
@ -2,22 +2,20 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Overview (Gson 1.3b3 API)
|
Overview (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
<META NAME="keywords" CONTENT="Overview, Gson 1.3 API">
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Overview (Gson 1.3 API)";
|
||||||
parent.document.title="Overview (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +24,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -82,7 +79,7 @@ function windowTitle()
|
|||||||
<HR>
|
<HR>
|
||||||
<CENTER>
|
<CENTER>
|
||||||
<H1>
|
<H1>
|
||||||
Gson 1.3b3 API
|
Gson 1.3 API
|
||||||
</H1>
|
</H1>
|
||||||
</CENTER>
|
</CENTER>
|
||||||
|
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Class Hierarchy (Gson 1.3b3 API)
|
Class Hierarchy (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Class Hierarchy (Gson 1.3 API)";
|
||||||
parent.document.title="Class Hierarchy (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -91,14 +87,14 @@ Hierarchy For All Packages</H2>
|
|||||||
Class Hierarchy
|
Class Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/Gson.html" title="class in com.google.gson"><B>Gson</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/GsonBuilder.html" title="class in com.google.gson"><B>GsonBuilder</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonElement.html" title="class in com.google.gson"><B>JsonElement</B></A><UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/Gson.html" title="class in com.google.gson"><B>Gson</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/GsonBuilder.html" title="class in com.google.gson"><B>GsonBuilder</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonElement.html" title="class in com.google.gson"><B>JsonElement</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonArray.html" title="class in com.google.gson"><B>JsonArray</B></A> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><T>)
|
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonArray.html" title="class in com.google.gson"><B>JsonArray</B></A> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html" title="class or interface in java.lang">Iterable</A><T>)
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonNull.html" title="class in com.google.gson"><B>JsonNull</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonObject.html" title="class in com.google.gson"><B>JsonObject</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><B>JsonPrimitive</B></A></UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonNull.html" title="class in com.google.gson"><B>JsonNull</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonObject.html" title="class in com.google.gson"><B>JsonObject</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonPrimitive.html" title="class in com.google.gson"><B>JsonPrimitive</B></A></UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonParser.html" title="class in com.google.gson"><B>JsonParser</B></A><LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>)
|
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonParser.html" title="class in com.google.gson"><B>JsonParser</B></A><LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang"><B>Throwable</B></A> (implements java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>)
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><B>Exception</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang"><B>Exception</B></A><UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><B>RuntimeException</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang"><B>RuntimeException</B></A><UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonParseException.html" title="class in com.google.gson"><B>JsonParseException</B></A></UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/JsonParseException.html" title="class in com.google.gson"><B>JsonParseException</B></A></UL>
|
||||||
</UL>
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
@ -113,19 +109,19 @@ Interface Hierarchy
|
|||||||
Annotation Type Hierarchy
|
Annotation Type Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/Until.html" title="annotation in com.google.gson.annotations"><B>Until</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/Until.html" title="annotation in com.google.gson.annotations"><B>Until</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/Expose.html" title="annotation in com.google.gson.annotations"><B>Expose</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/Since.html" title="annotation in com.google.gson.annotations"><B>Since</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/Since.html" title="annotation in com.google.gson.annotations"><B>Since</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/SerializedName.html" title="annotation in com.google.gson.annotations"><B>SerializedName</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/SerializedName.html" title="annotation in com.google.gson.annotations"><B>SerializedName</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</A>)
|
<LI TYPE="circle">com.google.gson.annotations.<A HREF="com/google/gson/annotations/Expose.html" title="annotation in com.google.gson.annotations"><B>Expose</B></A> (implements java.lang.annotation.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/annotation/Annotation.html" title="class or interface in java.lang.annotation">Annotation</A>)
|
||||||
</UL>
|
</UL>
|
||||||
<H2>
|
<H2>
|
||||||
Enum Hierarchy
|
Enum Hierarchy
|
||||||
</H2>
|
</H2>
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><B>Object</B></A><UL>
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang"><B>Object</B></A><UL>
|
||||||
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><B>Enum</B></A><E> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><T>, java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>)
|
<LI TYPE="circle">java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" title="class or interface in java.lang"><B>Enum</B></A><E> (implements java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A><T>, java.io.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>)
|
||||||
<UL>
|
<UL>
|
||||||
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson"><B>FieldNamingPolicy</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson"><B>LongSerializationPolicy</B></A></UL>
|
<LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/LongSerializationPolicy.html" title="enum in com.google.gson"><B>LongSerializationPolicy</B></A><LI TYPE="circle">com.google.gson.<A HREF="com/google/gson/FieldNamingPolicy.html" title="enum in com.google.gson"><B>FieldNamingPolicy</B></A></UL>
|
||||||
</UL>
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
<HR>
|
<HR>
|
||||||
|
@ -2,22 +2,19 @@
|
|||||||
<!--NewPage-->
|
<!--NewPage-->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<!-- Generated by javadoc (build 1.6.0_01) on Tue Mar 17 14:23:33 PDT 2009 -->
|
<!-- Generated by javadoc (build 1.5.0_13) on Wed Apr 01 18:37:05 PDT 2009 -->
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
<TITLE>
|
<TITLE>
|
||||||
Serialized Form (Gson 1.3b3 API)
|
Serialized Form (Gson 1.3 API)
|
||||||
</TITLE>
|
</TITLE>
|
||||||
|
|
||||||
<META NAME="date" CONTENT="2009-03-17">
|
|
||||||
|
|
||||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||||
|
|
||||||
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
||||||
function windowTitle()
|
function windowTitle()
|
||||||
{
|
{
|
||||||
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Serialized Form (Gson 1.3 API)";
|
||||||
parent.document.title="Serialized Form (Gson 1.3b3 API)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
<NOSCRIPT>
|
<NOSCRIPT>
|
||||||
@ -26,7 +23,6 @@ function windowTitle()
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
|
|
||||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||||
<HR>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||||
@ -98,7 +94,7 @@ Serialized Form</H1>
|
|||||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||||
<B>Class <A HREF="com/google/gson/JsonParseException.html" title="class in com.google.gson">com.google.gson.JsonParseException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</A> implements Serializable</B></FONT></TH>
|
<B>Class <A HREF="com/google/gson/JsonParseException.html" title="class in com.google.gson">com.google.gson.JsonParseException</A> extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A> implements Serializable</B></FONT></TH>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
|
||||||
|
@ -3,27 +3,27 @@
|
|||||||
/* Define colors, fonts and other style attributes here to override the defaults */
|
/* Define colors, fonts and other style attributes here to override the defaults */
|
||||||
|
|
||||||
/* Page background color */
|
/* Page background color */
|
||||||
body { background-color: #FFFFFF; color:#000000 }
|
body { background-color: #FFFFFF }
|
||||||
|
|
||||||
/* Headings */
|
/* Headings */
|
||||||
h1 { font-size: 145% }
|
h1 { font-size: 145% }
|
||||||
|
|
||||||
/* Table colors */
|
/* Table colors */
|
||||||
.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */
|
.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
|
||||||
.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */
|
.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
|
||||||
.TableRowColor { background: #FFFFFF; color:#000000 } /* White */
|
.TableRowColor { background: #FFFFFF } /* White */
|
||||||
|
|
||||||
/* Font used in left-hand frame lists */
|
/* Font used in left-hand frame lists */
|
||||||
.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif }
|
||||||
.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
|
||||||
.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif }
|
||||||
|
|
||||||
/* Navigation bar fonts and colors */
|
/* Navigation bar fonts and colors */
|
||||||
.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */
|
.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */
|
||||||
.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
|
.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */
|
||||||
.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;}
|
.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
|
||||||
.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;}
|
.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
|
||||||
|
|
||||||
.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
|
.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
|
||||||
.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
|
.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user