- String |
+ String
getAsString()
@@ -305,10 +308,10 @@ A class representing a Json primitive value. A primitive value
-Methods inherited from class java.lang.Object |
+Methods inherited from class java.lang.Object |
-getClass, notify, notifyAll, wait, wait, wait |
+getClass, notify, notifyAll, wait, wait, wait |
@@ -327,7 +330,7 @@ A class representing a Json primitive value. A primitive value
JsonPrimitive
-public JsonPrimitive(Boolean bool)
+public JsonPrimitive(Boolean bool)
- Create a primitive containing a boolean value.
@@ -339,9 +342,9 @@ public JsonPrimitive(
JsonPrimitive
-public JsonPrimitive(Number number)
+public JsonPrimitive(Number number)
-- Create a primitive containing a
Number .
+- Create a primitive containing a
Number .
- Parameters:
number - the value to create the primitive with.
@@ -351,7 +354,7 @@ public JsonPrimitive(
JsonPrimitive
-public JsonPrimitive(String string)
+public JsonPrimitive(String string)
- Create a primitive containing a String value.
@@ -363,7 +366,7 @@ public JsonPrimitive(
JsonPrimitive
-public JsonPrimitive(Character c)
+public JsonPrimitive(Character c)
- Create a primitive containing a character. The character is turned into a one character String
since Json only supports String.
@@ -410,7 +413,7 @@ public boolean getAsBoolean()
- Returns:
- get this element as a primitive boolean value.
- Throws:
-
ClassCastException - if the value contained is not a valid boolean value.
+ClassCastException - if the value contained is not a valid boolean value.
@@ -432,7 +435,7 @@ public boolean isNumber()
getAsNumber
-public Number getAsNumber()
+public Number getAsNumber()
- convenience method to get this element as a Number.
@@ -443,7 +446,7 @@ public Returns:- get this element as a Number.
- Throws:
-
ClassCastException - if the value contained is not a valid Number.
+ClassCastException - if the value contained is not a valid Number.
@@ -465,7 +468,7 @@ public boolean isString()
getAsString
-public String getAsString()
+public String getAsString()
- convenience method to get this element as a String.
@@ -476,7 +479,7 @@ public Returns:- get this element as a String.
- Throws:
-
ClassCastException - if the value contained is not a valid String.
+ClassCastException - if the value contained is not a valid String.
@@ -495,7 +498,7 @@ public double getAsDouble()
Returns:get this element as a primitive double.
Throws:
-ClassCastException - if the value contained is not a valid double.
+ClassCastException - if the value contained is not a valid double.
@@ -503,18 +506,18 @@ public double getAsDouble()
getAsBigDecimal
-public BigDecimal getAsBigDecimal()
+public BigDecimal getAsBigDecimal()
-- convenience method to get this element as a
BigDecimal .
+- convenience method to get this element as a
BigDecimal .
- Overrides:
getAsBigDecimal in class JsonElement
-- Returns:
- get this element as a
BigDecimal .
+ - Returns:
- get this element as a
BigDecimal .
- Throws:
-
NumberFormatException - if the value contained is not a valid BigDecimal .
+NumberFormatException - if the value contained is not a valid BigDecimal .
@@ -522,18 +525,18 @@ public
getAsBigInteger
-public BigInteger getAsBigInteger()
+public BigInteger getAsBigInteger()
-- convenience method to get this element as a
BigInteger .
+- convenience method to get this element as a
BigInteger .
- Overrides:
getAsBigInteger in class JsonElement
-- Returns:
- get this element as a
BigInteger .
+ - Returns:
- get this element as a
BigInteger .
- Throws:
-
NumberFormatException - if the value contained is not a valid BigInteger .
+NumberFormatException - if the value contained is not a valid BigInteger .
@@ -552,7 +555,7 @@ public float getAsFloat()
Returns:get this element as a float.
Throws:
-ClassCastException - if the value contained is not a valid float.
+ClassCastException - if the value contained is not a valid float.
@@ -571,7 +574,7 @@ public long getAsLong()
Returns:get this element as a primitive long.
Throws:
-ClassCastException - if the value contained is not a valid long.
+ClassCastException - if the value contained is not a valid long.
@@ -590,7 +593,7 @@ public short getAsShort()
Returns:get this element as a primitive short.
Throws:
-ClassCastException - if the value contained is not a valid short value.
+ClassCastException - if the value contained is not a valid short value.
@@ -609,7 +612,7 @@ public int getAsInt()
Returns:get this element as a primitive integer.
Throws:
-ClassCastException - if the value contained is not a valid integer.
+ClassCastException - if the value contained is not a valid integer.
@@ -656,7 +659,7 @@ hashCode
public int hashCode()
-- Overrides:
hashCode in class Object
+- Overrides:
hashCode in class Object
@@ -667,10 +670,10 @@ public int hashCode()
equals
-public boolean equals(Object obj)
+public boolean equals(Object obj)
-- Overrides:
equals in class Object
+- Overrides:
equals in class Object
@@ -737,6 +740,6 @@ DETAIL: FIELD | CONSTR |&n
-Copyright © 2008-2009. All Rights Reserved.
+Copyright © 2008-2010. All Rights Reserved.
diff --git a/gson/docs/javadocs/com/google/gson/JsonSerializationContext.html b/gson/docs/javadocs/com/google/gson/JsonSerializationContext.html
index 83c08f15..0d3d9bf5 100644
--- a/gson/docs/javadocs/com/google/gson/JsonSerializationContext.html
+++ b/gson/docs/javadocs/com/google/gson/JsonSerializationContext.html
@@ -2,20 +2,22 @@
-
+
-JsonSerializationContext (Gson 1.4 API)
+JsonSerializationContext (Gson 1.5 API)
-
+
@@ -272,7 +275,7 @@ public boolean hasNext()
- Returns true if a
JsonElement is available on the input for consumption
-- Specified by:
hasNext in interface Iterator<JsonElement>
+ - Specified by:
hasNext in interface Iterator<JsonElement>
@@ -288,11 +291,11 @@ remove
public void remove()
-- This optional
Iterator method is not relevant for stream parsing and hence is not
+- This optional
Iterator method is not relevant for stream parsing and hence is not
implemented.
-- Specified by:
remove in interface Iterator<JsonElement>
+ - Specified by:
remove in interface Iterator<JsonElement>
- Since:
@@ -361,6 +364,6 @@ DETAIL: FIELD | CONSTR |&n
-Copyright © 2008-2009. All Rights Reserved.
+Copyright © 2008-2010. All Rights Reserved.
diff --git a/gson/docs/javadocs/com/google/gson/LongSerializationPolicy.html b/gson/docs/javadocs/com/google/gson/LongSerializationPolicy.html
index ed29cce4..5ea01976 100644
--- a/gson/docs/javadocs/com/google/gson/LongSerializationPolicy.html
+++ b/gson/docs/javadocs/com/google/gson/LongSerializationPolicy.html
@@ -2,20 +2,22 @@
-
+
-LongSerializationPolicy (Gson 1.4 API)
+LongSerializationPolicy (Gson 1.5 API)
-
+
@@ -24,6 +26,7 @@ function windowTitle()
+
@@ -90,16 +93,16 @@ com.google.gson
Enum LongSerializationPolicy
-java.lang.Object
- java.lang.Enum<LongSerializationPolicy>
+java.lang.Object
+ java.lang.Enum<LongSerializationPolicy>
com.google.gson.LongSerializationPolicy
-- All Implemented Interfaces:
- Serializable, Comparable<LongSerializationPolicy>
+- All Implemented Interfaces:
- Serializable, Comparable<LongSerializationPolicy>
-public enum LongSerializationPolicy - extends Enum<LongSerializationPolicy>
+public enum LongSerializationPolicy - extends Enum<LongSerializationPolicy>
@@ -150,7 +153,7 @@ Defines the expected format for a long or Long type wh
JsonElement |
-serialize(Long value)
+ | serialize(Long value)
Serialize this value using this serialization policy. |
@@ -158,7 +161,7 @@ Defines the expected format for a long or Long type wh
static LongSerializationPolicy |
-valueOf(String name)
+ | valueOf(String name)
Returns the enum constant of this type with the specified name. |
@@ -170,25 +173,25 @@ Defines the expected format for a long or Long type wh
Returns an array containing the constants of this enum type, in
-the order they're declared.
+the order they are declared.
-Methods inherited from class java.lang.Enum |
+Methods inherited from class java.lang.Enum |
-compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
+compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
-Methods inherited from class java.lang.Object |
+Methods inherited from class java.lang.Object |
-getClass, notify, notifyAll, wait, wait, wait |
+getClass, notify, notifyAll, wait, wait, wait |
@@ -245,20 +248,20 @@ public static final
values
-public static final LongSerializationPolicy[] values()
+public static LongSerializationPolicy[] values()
- Returns an array containing the constants of this enum type, in
-the order they're declared. This method may be used to iterate
+the order they are declared. This method may be used to iterate
over the constants as follows:
-for(LongSerializationPolicy c : LongSerializationPolicy.values())
- System.out.println(c);
+for (LongSerializationPolicy c : LongSerializationPolicy.values())
+ System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
-the order they're declared
+the order they are declared
@@ -266,7 +269,7 @@ the order they're declared
valueOf
-public static LongSerializationPolicy valueOf(String name)
+public static LongSerializationPolicy valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
@@ -277,8 +280,9 @@ not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
-
IllegalArgumentException - if this enum type has no constant
-with the specified name
+IllegalArgumentException - if this enum type has no constant
+with the specified name
+NullPointerException - if the argument is null
@@ -286,7 +290,7 @@ with the specified name
serialize
-public JsonElement serialize(Long value)
+public JsonElement serialize(Long value)
- Serialize this
value using this serialization policy.
@@ -356,6 +360,6 @@ DETAIL: ENUM CONSTANTS | FIEL
-Copyright © 2008-2009. All Rights Reserved.
+Copyright © 2008-2010. All Rights Reserved.
diff --git a/gson/docs/javadocs/com/google/gson/annotations/Expose.html b/gson/docs/javadocs/com/google/gson/annotations/Expose.html
index ecae8566..74e648e6 100644
--- a/gson/docs/javadocs/com/google/gson/annotations/Expose.html
+++ b/gson/docs/javadocs/com/google/gson/annotations/Expose.html
@@ -2,20 +2,22 @@
-
+
-Expose (Gson 1.4 API)
+Expose (Gson 1.5 API)
-
+
@@ -24,6 +26,7 @@ function windowTitle()
+
@@ -91,8 +94,8 @@ com.google.gson.annotations
Annotation Type Expose
-@Retention(value=RUNTIME)
-@Target(value=FIELD)
+@Retention(value=RUNTIME)
+@Target(value=FIELD)
public @interface Expose
@@ -269,6 +272,6 @@ DETAIL: ELEMENT |
-Copyright © 2008-2009. All Rights Reserved.
+Copyright © 2008-2010. All Rights Reserved.
diff --git a/gson/docs/javadocs/com/google/gson/annotations/SerializedName.html b/gson/docs/javadocs/com/google/gson/annotations/SerializedName.html
index 655b4e9c..cc39245b 100644
--- a/gson/docs/javadocs/com/google/gson/annotations/SerializedName.html
+++ b/gson/docs/javadocs/com/google/gson/annotations/SerializedName.html
@@ -2,20 +2,22 @@
-
+
-SerializedName (Gson 1.4 API)
+SerializedName (Gson 1.5 API)
-
+
@@ -24,6 +26,7 @@ function windowTitle()
+
@@ -91,8 +94,8 @@ com.google.gson.annotations
Annotation Type SerializedName
-@Retention(value=RUNTIME)
-@Target(value=FIELD)
+@Retention(value=RUNTIME)
+@Target(value=FIELD)
public @interface SerializedName
@@ -152,7 +155,7 @@ An annotation that indicates this member should be serialized to JSON with