| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_26) on Mon Aug 06 20:35:30 PDT 2012 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| OrderedJSONObject (Apache Wink 1.2.1-incubating API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2012-08-06"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="OrderedJSONObject (Apache Wink 1.2.1-incubating API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OrderedJSONObject.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/wink/json4j/JSONWriter.html" title="class in org.apache.wink.json4j"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/wink/json4j/OrderedJSONObject.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="OrderedJSONObject.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.util.AbstractMap">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.wink.json4j.JSONObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.wink.json4j</FONT> |
| <BR> |
| Class OrderedJSONObject</H2> |
| <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> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">java.util.AbstractMap</A><K,V> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">java.util.HashMap</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/wink/json4j/JSONObject.html" title="class in org.apache.wink.json4j">org.apache.wink.json4j.JSONObject</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.wink.json4j.OrderedJSONObject</B> |
| </PRE> |
| <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/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <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">Map</A>, <A HREF="../../../../org/apache/wink/json4j/JSONArtifact.html" title="interface in org.apache.wink.json4j">JSONArtifact</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>OrderedJSONObject</B><DT>extends <A HREF="../../../../org/apache/wink/json4j/JSONObject.html" title="class in org.apache.wink.json4j">JSONObject</A></DL> |
| </PRE> |
| |
| <P> |
| Extension of the basic JSONObject. This class allows control of the serialization order of attributes. |
| The order in which items are put into the instance controls the order in which they are serialized out. For example, the |
| last item put is the last item serialized. |
| <BR><BR> |
| JSON-able values are: null, and instances of String, Boolean, Number, JSONObject and JSONArray. |
| <BR><BR> |
| Instances of this class are not thread-safe. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.wink.json4j.OrderedJSONObject">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TH> |
| </TR> |
| </TABLE> |
| <A NAME="nested_classes_inherited_from_class_java.util.AbstractMap"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleEntry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util">V</A>>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">AbstractMap.SimpleImmutableEntry</A><<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">K</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util">V</A>></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.wink.json4j.JSONObject"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class org.apache.wink.json4j.<A HREF="../../../../org/apache/wink/json4j/JSONObject.html" title="class in org.apache.wink.json4j">JSONObject</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONObject.html#NULL">NULL</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject()">OrderedJSONObject</A></B>()</CODE> |
| |
| <BR> |
| Create a new instance of this class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.io.InputStream)">OrderedJSONObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is)</CODE> |
| |
| <BR> |
| Create a new instance of this class from the data provided from the input stream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.io.InputStream, boolean)">OrderedJSONObject</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is, |
| boolean strict)</CODE> |
| |
| <BR> |
| Create a new instance of this class from the data provided from the input stream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.util.Map)">OrderedJSONObject</A></B>(<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">Map</A> map)</CODE> |
| |
| <BR> |
| Create a new instance of this class using the contents of the provided map.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.io.Reader)">OrderedJSONObject</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> rdr)</CODE> |
| |
| <BR> |
| Create a new instance of this class from the data provided from the reader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.io.Reader, boolean)">OrderedJSONObject</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> rdr, |
| boolean strict)</CODE> |
| |
| <BR> |
| Create a new instance of this class from the data provided from the reader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.lang.String)">OrderedJSONObject</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> str)</CODE> |
| |
| <BR> |
| Create a new instance of this class from the provided JSON object string.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#OrderedJSONObject(java.lang.String, boolean)">OrderedJSONObject</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> str, |
| boolean strict)</CODE> |
| |
| <BR> |
| Create a new instance of this class from the provided JSON object string.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#clear()">clear</A></B>()</CODE> |
| |
| <BR> |
| (non-Javadoc)</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <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/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#clone()">clone</A></B>()</CODE> |
| |
| <BR> |
| Returns a shallow copy of this HashMap instance: the keys and values themselves are not cloned.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#getOrder()">getOrder</A></B>()</CODE> |
| |
| <BR> |
| Method to obtain the order in which the items will be serialized.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <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/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#put(java.lang.Object, java.lang.Object)">put</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> key, |
| <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> value)</CODE> |
| |
| <BR> |
| Method to put a JSON'able object into the instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <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/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/wink/json4j/OrderedJSONObject.html#remove(java.lang.Object)">remove</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> key)</CODE> |
| |
| <BR> |
| Method to remove an entry from the OrderedJSONObject instance.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.wink.json4j.JSONObject"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.apache.wink.json4j.<A HREF="../../../../org/apache/wink/json4j/JSONObject.html" title="class in org.apache.wink.json4j">JSONObject</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONObject.html#append(java.lang.String, java.lang.Object)">append</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#get(java.lang.String)">get</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getBoolean(java.lang.String)">getBoolean</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getDouble(java.lang.String)">getDouble</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getInt(java.lang.String)">getInt</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getJSONArray(java.lang.String)">getJSONArray</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getJSONObject(java.lang.String)">getJSONObject</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getLong(java.lang.String)">getLong</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getNames(org.apache.wink.json4j.JSONObject)">getNames</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getShort(java.lang.String)">getShort</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#getString(java.lang.String)">getString</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#has(java.lang.String)">has</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#isNull(java.lang.String)">isNull</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#isValidObject(java.lang.Object)">isValidObject</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#isValidType(java.lang.Class)">isValidType</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#keys()">keys</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#length()">length</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#names()">names</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#opt(java.lang.String)">opt</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optBoolean(java.lang.String)">optBoolean</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optBoolean(java.lang.String, boolean)">optBoolean</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optDouble(java.lang.String)">optDouble</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optDouble(java.lang.String, double)">optDouble</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optInt(java.lang.String)">optInt</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optInt(java.lang.String, int)">optInt</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optJSONArray(java.lang.String)">optJSONArray</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optJSONArray(java.lang.String, org.apache.wink.json4j.JSONArray)">optJSONArray</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optJSONObject(java.lang.String)">optJSONObject</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optJSONObject(java.lang.String, org.apache.wink.json4j.JSONObject)">optJSONObject</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optLong(java.lang.String)">optLong</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optLong(java.lang.String, long)">optLong</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optShort(java.lang.String)">optShort</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optShort(java.lang.String, short)">optShort</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optString(java.lang.String)">optString</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#optString(java.lang.String, java.lang.String)">optString</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.Object, java.lang.Object, boolean)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, boolean)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.util.Collection)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.util.Collection, boolean)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, double)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, int)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, long)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.util.Map)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.util.Map, boolean)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.lang.Object)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.lang.Object[])">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, java.lang.Object[], boolean)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.String, short)">put</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#putOnce(java.lang.String, java.lang.Object)">putOnce</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#putOpt(java.lang.String, java.lang.Object)">putOpt</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#sortedKeys()">sortedKeys</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#toJSONArray(org.apache.wink.json4j.JSONArray)">toJSONArray</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#toString()">toString</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#toString(boolean)">toString</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#toString(int)">toString</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write()">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(boolean)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(int)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(java.io.OutputStream)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(java.io.OutputStream, boolean)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(java.io.OutputStream, int)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(java.io.Writer)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(java.io.Writer, boolean)">write</A>, <A HREF="../../../../org/apache/wink/json4j/JSONObject.html#write(java.io.Writer, int)">write</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.util.HashMap"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util">containsKey</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util">containsValue</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#entrySet()" title="class or interface in java.util">entrySet</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util">get</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#isEmpty()" title="class or interface in java.util">isEmpty</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#keySet()" title="class or interface in java.util">keySet</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util">putAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#size()" title="class or interface in java.util">size</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#values()" title="class or interface in java.util">values</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.util.AbstractMap"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util">AbstractMap</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractMap.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<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> |
| </TR> |
| <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#finalize()" title="class or interface in java.lang">finalize</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#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> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.util.Map"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface java.util.<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">Map</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="OrderedJSONObject()"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</B>()</PRE> |
| <DL> |
| <DD>Create a new instance of this class. |
| <P> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.lang.String)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</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> str) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class from the provided JSON object string. |
| Note: This is the same as calling new OrderedJSONObject(str, false). |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>str</CODE> - The String of JSON to parse |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when the string passed is null, or malformed JSON..</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.lang.String, boolean)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</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> str, |
| boolean strict) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class from the provided JSON object string. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>str</CODE> - The String of JSON to parse<DD><CODE>strict</CODE> - Boolean flag indicating if strict mode should be used. Strict mode means comments and unquoted strings are not allowed. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when the string passed is null, or malformed JSON..</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.io.Reader)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</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> rdr) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class from the data provided from the reader. The reader content must be a JSON object string. |
| Note: The reader will not be closed, that is left to the caller. |
| Note: This is the same as calling new OrderedJSONObject(rdr, false). |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>rdr</CODE> - The reader from which to read the JSON to parse |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when the string passed is null, or malformed JSON..</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.io.Reader, boolean)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</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> rdr, |
| boolean strict) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class from the data provided from the reader. The reader content must be a JSON object string. |
| Note: The reader will not be closed, that is left to the caller. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>rdr</CODE> - The reader from which to read the JSON to parse<DD><CODE>strict</CODE> - Boolean flag indicating if strict mode should be used. Strict mode means comments and unquoted strings are not allowed. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when the string passed is null, or malformed JSON..</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.io.InputStream)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class from the data provided from the input stream. The stream content must be a JSON object string. |
| Note: The input stream content is assumed to be UTF-8 encoded. |
| Note: The InputStream will not be closed, that is left to the caller. |
| Note: This is the same as calling new OrderedJSONObject(is, false). |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>is</CODE> - The InputStream from which to read the JSON to parse |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when the string passed is null, or malformed JSON..</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.io.InputStream, boolean)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> is, |
| boolean strict) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class from the data provided from the input stream. The stream content must be a JSON object string. |
| Note: The input stream content is assumed to be UTF-8 encoded. |
| Note: The InputStream will not be closed, that is left to the caller. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>is</CODE> - The InputStream from which to read the JSON to parse<DD><CODE>strict</CODE> - Boolean flag indicating if strict mode should be used. Strict mode means comments and unquoted strings are not allowed. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when the string passed is null, or malformed JSON..</DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OrderedJSONObject(java.util.Map)"><!-- --></A><H3> |
| OrderedJSONObject</H3> |
| <PRE> |
| public <B>OrderedJSONObject</B>(<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">Map</A> map) |
| throws <A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></PRE> |
| <DL> |
| <DD>Create a new instance of this class using the contents of the provided map. |
| The contents of the map should be values considered JSONable. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>map</CODE> - The map of key/value pairs to insert into this JSON object |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONException.html" title="class in org.apache.wink.json4j">JSONException</A></CODE> - Thrown when contents in the map cannot be made JSONable. |
| <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> - Thrown if the map is null, or a key in the map is null..</DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="put(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| put</H3> |
| <PRE> |
| public <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>put</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> key, |
| <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> value)</PRE> |
| <DL> |
| <DD>Method to put a JSON'able object into the instance. Note that the order of initial puts controls the order of serialization. |
| Meaning that the first time an item is put into the object determines is position of serialization. Subsequent puts with the same |
| key replace the existing entry value and leave serialization position alone. For moving the position, the object must be removed, |
| then re-put. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#put(K, V)" title="class or interface in java.util">put</A></CODE> in interface <CODE><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">Map</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/wink/json4j/JSONObject.html#put(java.lang.Object, java.lang.Object)">put</A></CODE> in class <CODE><A HREF="../../../../org/apache/wink/json4j/JSONObject.html" title="class in org.apache.wink.json4j">JSONObject</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#put(K, V)" title="class or interface in java.util"><CODE>HashMap.put(java.lang.Object, java.lang.Object)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="remove(java.lang.Object)"><!-- --></A><H3> |
| remove</H3> |
| <PRE> |
| public <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>remove</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> key)</PRE> |
| <DL> |
| <DD>Method to remove an entry from the OrderedJSONObject instance. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</A></CODE> in interface <CODE><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">Map</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util">remove</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util"><CODE>HashMap.remove(java.lang.Object)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clear()"><!-- --></A><H3> |
| clear</H3> |
| <PRE> |
| public void <B>clear</B>()</PRE> |
| <DL> |
| <DD>(non-Javadoc) |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true#clear()" title="class or interface in java.util">clear</A></CODE> in interface <CODE><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">Map</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#clear()" title="class or interface in java.util">clear</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#clear()" title="class or interface in java.util"><CODE>HashMap.clear()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clone()"><!-- --></A><H3> |
| clone</H3> |
| <PRE> |
| public <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>clone</B>()</PRE> |
| <DL> |
| <DD>Returns a shallow copy of this HashMap instance: the keys and values themselves are not cloned. |
| <P> |
| <DD><DL> |
| <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true#clone()" title="class or interface in java.util">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOrder()"><!-- --></A><H3> |
| getOrder</H3> |
| <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> <B>getOrder</B>()</PRE> |
| <DL> |
| <DD>Method to obtain the order in which the items will be serialized. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>An iterator that represents the attribute names in the order that they will be serialized.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OrderedJSONObject.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/wink/json4j/JSONWriter.html" title="class in org.apache.wink.json4j"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/wink/json4j/OrderedJSONObject.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="OrderedJSONObject.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.util.AbstractMap">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.wink.json4j.JSONObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2009-2012 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |