http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/JSONStringer.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/JSONStringer.html b/apidocs/sling5/org/apache/sling/commons/json/io/JSONStringer.html new file mode 100644 index 0000000..06c4fc3 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/JSONStringer.html @@ -0,0 +1,328 @@ +<!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_10) on Mon May 11 08:55:05 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +JSONStringer (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<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="JSONStringer (Apache Sling Aggregate 5-incubator 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/JSONStringer.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"> + PREV CLASS + <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/JSONStringer.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONStringer.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: NESTED | <A HREF="#fields_inherited_from_class_org.apache.sling.commons.json.io.JSONWriter">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.sling.commons.json.io</FONT> +<BR> +Class JSONStringer</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">org.apache.sling.commons.json.io.JSONWriter</A> + <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.sling.commons.json.io.JSONStringer</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>JSONStringer</B><DT>extends <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></DL> +</PRE> + +<P> +JSONStringer provides a quick and convenient way of producing JSON text. + The texts produced strictly conform to JSON syntax rules. No whitespace is + added, so the results are ready for transmission or storage. Each instance of + JSONStringer can produce one JSON text. + <p> + A JSONStringer instance provides a <code>value</code> method for appending + values to the + text, and a <code>key</code> + method for adding keys before values in objects. There are <code>array</code> + and <code>endArray</code> methods that make and bound array values, and + <code>object</code> and <code>endObject</code> methods which make and bound + object values. All of these methods return the JSONWriter instance, + permitting cascade style. For example, <pre> + myString = new JSONStringer() + .object() + .key("JSON") + .value("Hello, World!") + .endObject() + .toString();</pre> which produces the string <pre> + {"JSON":"Hello, World!"}</pre> + <p> + The first method called must be <code>array</code> or <code>object</code>. + There are no methods for adding commas or colons. JSONStringer adds them for + you. Objects and arrays can be nested up to 20 levels deep. + <p> + This can sometimes be easier than using a JSONObject to build a string. +<P> + +<P> +<DL> +<DT><B>Version:</B></DT> + <DD>2</DD> +<DT><B>Author:</B></DT> + <DD>JSON.org</DD> +</DL> +<HR> + +<P> +<!-- =========== 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.sling.commons.json.io.JSONWriter"><!-- --></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.sling.commons.json.io.<A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#mode">mode</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#writer">writer</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/sling/commons/json/io/JSONStringer.html#JSONStringer()">JSONStringer</A></B>()</CODE> + +<BR> + Make a fresh JSONStringer.</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> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONStringer.html#toString()">toString</A></B>()</CODE> + +<BR> + Return the JSON text.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.apache.sling.commons.json.io.JSONWriter"><!-- --></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.sling.commons.json.io.<A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#array()">array</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#endArray()">endArray</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#endObject()">endObject</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#isTidy()">isTidy</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#key(java.lang.String)">key</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#object()">object</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#setTidy(boolean)">setTidy</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(boolean)">value</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(double)">value</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWrite r.html#value(long)">value</A>, <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(java.lang.Object)">value</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.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</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="JSONStringer()"><!-- --></A><H3> +JSONStringer</H3> +<PRE> +public <B>JSONStringer</B>()</PRE> +<DL> +<DD>Make a fresh JSONStringer. It can be used to build one JSON text. +<P> +</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="toString()"><!-- --></A><H3> +toString</H3> +<PRE> +public java.lang.String <B>toString</B>()</PRE> +<DL> +<DD>Return the JSON text. This method is used to obtain the product of the + JSONStringer instance. It will return <code>null</code> if there was a + problem in the construction of the JSON text (such as the calls to + <code>array</code> were not properly balanced with calls to + <code>endArray</code>). +<P> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>The JSON text.</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/JSONStringer.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"> + PREV CLASS + <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/JSONStringer.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONStringer.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: NESTED | <A HREF="#fields_inherited_from_class_org.apache.sling.commons.json.io.JSONWriter">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 © 2007-2009. All Rights Reserved. +</BODY> +</HTML>
http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/JSONWriter.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/JSONWriter.html b/apidocs/sling5/org/apache/sling/commons/json/io/JSONWriter.html new file mode 100644 index 0000000..e5575dd --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/JSONWriter.html @@ -0,0 +1,620 @@ +<!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_10) on Mon May 11 08:55:05 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +JSONWriter (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<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="JSONWriter (Apache Sling Aggregate 5-incubator 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/JSONWriter.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/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io"><B>PREV CLASS</B></A> + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/JSONWriter.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONWriter.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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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.sling.commons.json.io</FONT> +<BR> +Class JSONWriter</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.sling.commons.json.io.JSONWriter</B> +</PRE> +<DL> +<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io">JSONStringer</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>JSONWriter</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +JSONWriter provides a quick and convenient way of producing JSON text. + The texts produced strictly conform to JSON syntax rules. No whitespace is + added, so the results are ready for transmission or storage. Each instance of + JSONWriter can produce one JSON text. + <p> + A JSONWriter instance provides a <code>value</code> method for appending + values to the + text, and a <code>key</code> + method for adding keys before values in objects. There are <code>array</code> + and <code>endArray</code> methods that make and bound array values, and + <code>object</code> and <code>endObject</code> methods which make and bound + object values. All of these methods return the JSONWriter instance, + permitting a cascade style. For example, <pre> + new JSONWriter(myWriter) + .object() + .key("JSON") + .value("Hello, World!") + .endObject();</pre> which writes <pre> + {"JSON":"Hello, World!"}</pre> + <p> + The first method called must be <code>array</code> or <code>object</code>. + There are no methods for adding commas or colons. JSONWriter adds them for + you. Objects and arrays can be nested up to 20 levels deep. + <p> + This can sometimes be easier than using a JSONObject to build a string. +<P> + +<P> +<DL> +<DT><B>Version:</B></DT> + <DD>2</DD> +<DT><B>Author:</B></DT> + <DD>JSON.org</DD> +</DL> +<HR> + +<P> +<!-- =========== 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> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected char</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#mode">mode</A></B></CODE> + +<BR> + The current mode.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.io.Writer</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#writer">writer</A></B></CODE> + +<BR> + The writer that will receive the output.</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/sling/commons/json/io/JSONWriter.html#JSONWriter(java.io.Writer)">JSONWriter</A></B>(java.io.Writer w)</CODE> + +<BR> + Make a fresh JSONWriter.</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> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#array()">array</A></B>()</CODE> + +<BR> + Begin appending a new array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#endArray()">endArray</A></B>()</CODE> + +<BR> + End an array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#endObject()">endObject</A></B>()</CODE> + +<BR> + End an object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#isTidy()">isTidy</A></B>()</CODE> + +<BR> + Checks if the output is nicely formatted.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#key(java.lang.String)">key</A></B>(java.lang.String s)</CODE> + +<BR> + Append a key.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#object()">object</A></B>()</CODE> + +<BR> + Begin appending a new object.</TD> +</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/sling/commons/json/io/JSONWriter.html#setTidy(boolean)">setTidy</A></B>(boolean tidy)</CODE> + +<BR> + Controls if output should be nicely formatted.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(boolean)">value</A></B>(boolean b)</CODE> + +<BR> + Append either the value <code>true</code> or the value + <code>false</code>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(double)">value</A></B>(double d)</CODE> + +<BR> + Append a double value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(long)">value</A></B>(long l)</CODE> + +<BR> + Append a long value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(java.lang.Object)">value</A></B>(java.lang.Object o)</CODE> + +<BR> + Append an object value.</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.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_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>Field Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="mode"><!-- --></A><H3> +mode</H3> +<PRE> +protected char <B>mode</B></PRE> +<DL> +<DD>The current mode. Values: + 'a' (array), + 'd' (done), + 'i' (initial), + 'k' (key), + 'o' (object). +<P> +<DL> +</DL> +</DL> +<HR> + +<A NAME="writer"><!-- --></A><H3> +writer</H3> +<PRE> +protected java.io.Writer <B>writer</B></PRE> +<DL> +<DD>The writer that will receive the output. +<P> +<DL> +</DL> +</DL> + +<!-- ========= 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="JSONWriter(java.io.Writer)"><!-- --></A><H3> +JSONWriter</H3> +<PRE> +public <B>JSONWriter</B>(java.io.Writer w)</PRE> +<DL> +<DD>Make a fresh JSONWriter. It can be used to build one JSON text. +<P> +</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="isTidy()"><!-- --></A><H3> +isTidy</H3> +<PRE> +public boolean <B>isTidy</B>()</PRE> +<DL> +<DD>Checks if the output is nicely formatted. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD><code>true</code> if nicely formatted</DL> +</DD> +</DL> +<HR> + +<A NAME="setTidy(boolean)"><!-- --></A><H3> +setTidy</H3> +<PRE> +public void <B>setTidy</B>(boolean tidy)</PRE> +<DL> +<DD>Controls if output should be nicely formatted. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>tidy</CODE> - <code>true</code> to nicely format.</DL> +</DD> +</DL> +<HR> + +<A NAME="array()"><!-- --></A><H3> +array</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>array</B>() + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Begin appending a new array. All values until the balancing + <code>endArray</code> will be appended to this array. The + <code>endArray</code> method must be called to mark the array's end. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If the nesting is too deep, or if the object is + started in the wrong place (for example as a key or after the end of the + outermost array or object).</DL> +</DD> +</DL> +<HR> + +<A NAME="endArray()"><!-- --></A><H3> +endArray</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>endArray</B>() + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>End an array. This method most be called to balance calls to + <code>array</code>. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If incorrectly nested.</DL> +</DD> +</DL> +<HR> + +<A NAME="endObject()"><!-- --></A><H3> +endObject</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>endObject</B>() + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>End an object. This method most be called to balance calls to + <code>object</code>. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If incorrectly nested.</DL> +</DD> +</DL> +<HR> + +<A NAME="key(java.lang.String)"><!-- --></A><H3> +key</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>key</B>(java.lang.String s) + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Append a key. The key will be associated with the next value. In an + object, every value must be preceded by a key. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>s</CODE> - A key string. +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If the key is out of place. For example, keys + do not belong in arrays or if the key is null.</DL> +</DD> +</DL> +<HR> + +<A NAME="object()"><!-- --></A><H3> +object</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>object</B>() + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Begin appending a new object. All keys and values until the balancing + <code>endObject</code> will be appended to this object. The + <code>endObject</code> method must be called to mark the object's end. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If the nesting is too deep, or if the object is + started in the wrong place (for example as a key or after the end of the + outermost array or object).</DL> +</DD> +</DL> +<HR> + +<A NAME="value(boolean)"><!-- --></A><H3> +value</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>value</B>(boolean b) + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Append either the value <code>true</code> or the value + <code>false</code>. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>b</CODE> - A boolean. +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="value(double)"><!-- --></A><H3> +value</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>value</B>(double d) + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Append a double value. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>d</CODE> - A double. +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If the number is not finite.</DL> +</DD> +</DL> +<HR> + +<A NAME="value(long)"><!-- --></A><H3> +value</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>value</B>(long l) + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Append a long value. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>l</CODE> - A long. +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="value(java.lang.Object)"><!-- --></A><H3> +value</H3> +<PRE> +public <A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> <B>value</B>(java.lang.Object o) + throws <A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Append an object value. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>o</CODE> - The object to append. It can be null, or a Boolean, Number, + String, JSONObject, or JSONArray, or an object with a toJSONString() + method. +<DT><B>Returns:</B><DD>this +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE> - If the value is out of sequence.</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/JSONWriter.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/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io"><B>PREV CLASS</B></A> + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/JSONWriter.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONWriter.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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 © 2007-2009. All Rights Reserved. +</BODY> +</HTML> http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONStringer.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONStringer.html b/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONStringer.html new file mode 100644 index 0000000..5b32c31 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONStringer.html @@ -0,0 +1,145 @@ +<!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_10) on Mon May 11 08:55:08 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +Uses of Class org.apache.sling.commons.json.io.JSONStringer (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<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="Uses of Class org.apache.sling.commons.json.io.JSONStringer (Apache Sling Aggregate 5-incubator 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../../index.html?org/apache/sling/commons/json/io//class-useJSONStringer.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONStringer.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> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +<B>Uses of Class<br>org.apache.sling.commons.json.io.JSONStringer</B></H2> +</CENTER> +No usage of org.apache.sling.commons.json.io.JSONStringer +<P> +<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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../../index.html?org/apache/sling/commons/json/io//class-useJSONStringer.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONStringer.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> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> +Copyright © 2007-2009. All Rights Reserved. +</BODY> +</HTML> http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONWriter.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONWriter.html b/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONWriter.html new file mode 100644 index 0000000..105f48a --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/class-use/JSONWriter.html @@ -0,0 +1,354 @@ +<!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_10) on Mon May 11 08:55:08 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +Uses of Class org.apache.sling.commons.json.io.JSONWriter (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<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="Uses of Class org.apache.sling.commons.json.io.JSONWriter (Apache Sling Aggregate 5-incubator 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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../../index.html?org/apache/sling/commons/json/io//class-useJSONWriter.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONWriter.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> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +<B>Uses of Class<br>org.apache.sling.commons.json.io.JSONWriter</B></H2> +</CENTER> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +Packages that use <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="#org.apache.sling.commons.json.io"><B>org.apache.sling.commons.json.io</B></A></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="#org.apache.sling.commons.json.jcr"><B>org.apache.sling.commons.json.jcr</B></A></TD> +<TD> </TD> +</TR> +</TABLE> + +<P> +<A NAME="org.apache.sling.commons.json.io"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +Uses of <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> in <A HREF="../../../../../../../org/apache/sling/commons/json/io/package-summary.html">org.apache.sling.commons.json.io</A></FONT></TH> +</TR> +</TABLE> + +<P> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> in <A HREF="../../../../../../../org/apache/sling/commons/json/io/package-summary.html">org.apache.sling.commons.json.io</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io">JSONStringer</A></B></CODE> + +<BR> + JSONStringer provides a quick and convenient way of producing JSON text.</TD> +</TR> +</TABLE> + +<P> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../../org/apache/sling/commons/json/io/package-summary.html">org.apache.sling.commons.json.io</A> that return <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#array()">array</A></B>()</CODE> + +<BR> + Begin appending a new array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#endArray()">endArray</A></B>()</CODE> + +<BR> + End an array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#endObject()">endObject</A></B>()</CODE> + +<BR> + End an object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#key(java.lang.String)">key</A></B>(java.lang.String s)</CODE> + +<BR> + Append a key.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#object()">object</A></B>()</CODE> + +<BR> + Begin appending a new object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(boolean)">value</A></B>(boolean b)</CODE> + +<BR> + Append either the value <code>true</code> or the value + <code>false</code>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(double)">value</A></B>(double d)</CODE> + +<BR> + Append a double value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(long)">value</A></B>(long l)</CODE> + +<BR> + Append a long value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></CODE></FONT></TD> +<TD><CODE><B>JSONWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html#value(java.lang.Object)">value</A></B>(java.lang.Object o)</CODE> + +<BR> + Append an object value.</TD> +</TR> +</TABLE> + +<P> +<A NAME="org.apache.sling.commons.json.jcr"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +Uses of <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> in <A HREF="../../../../../../../org/apache/sling/commons/json/jcr/package-summary.html">org.apache.sling.commons.json.jcr</A></FONT></TH> +</TR> +</TABLE> + +<P> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../../org/apache/sling/commons/json/jcr/package-summary.html">org.apache.sling.commons.json.jcr</A> with parameters of type <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B>JsonItemWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/jcr/JsonItemWriter.html#dump(javax.jcr.Node, org.apache.sling.commons.json.io.JSONWriter, int, int)">dump</A></B>(javax.jcr.Node node, + <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> w, + int currentRecursionLevel, + int maxRecursionLevels)</CODE> + +<BR> + Dump given node in JSON, optionally recursing into its child nodes</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B>JsonItemWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/jcr/JsonItemWriter.html#dumpSingleNode(javax.jcr.Node, org.apache.sling.commons.json.io.JSONWriter, int, int)">dumpSingleNode</A></B>(javax.jcr.Node n, + <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> w, + int currentRecursionLevel, + int maxRecursionLevels)</CODE> + +<BR> + Dump a single node</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B>JsonItemWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/jcr/JsonItemWriter.html#dumpValue(org.apache.sling.commons.json.io.JSONWriter, javax.jcr.Value)">dumpValue</A></B>(<A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> w, + javax.jcr.Value v)</CODE> + +<BR> + Writes the given value to the JSON writer. currently the following + conversions are done: + + JSR Property Type + JSON Value Type + + + BINARY + always 0 as long + + + DATE + converted date string as defined by ECMA + + + BOOLEAN + boolean + + + LONG + long + + + DOUBLE + double + + + <i>all other + + string + + <sup>1</sup> Currently not implemented and uses 0 as default.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B>JsonItemWriter.</B><B><A HREF="../../../../../../../org/apache/sling/commons/json/jcr/JsonItemWriter.html#writeProperty(org.apache.sling.commons.json.io.JSONWriter, javax.jcr.Property)">writeProperty</A></B>(<A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A> w, + javax.jcr.Property p)</CODE> + +<BR> + Write a single property</TD> +</TR> +</TABLE> + +<P> +<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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </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"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../../index.html?org/apache/sling/commons/json/io//class-useJSONWriter.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONWriter.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> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> +Copyright © 2007-2009. All Rights Reserved. +</BODY> +</HTML> http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/package-frame.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/package-frame.html b/apidocs/sling5/org/apache/sling/commons/json/io/package-frame.html new file mode 100644 index 0000000..e44b47d --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/package-frame.html @@ -0,0 +1,35 @@ +<!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_10) on Mon May 11 08:55:07 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +org.apache.sling.commons.json.io (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameTitleFont"> +<A HREF="../../../../../../org/apache/sling/commons/json/io/package-summary.html" target="classFrame">org.apache.sling.commons.json.io</A></FONT> +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Classes</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="JSONStringer.html" title="class in org.apache.sling.commons.json.io" target="classFrame">JSONStringer</A> +<BR> +<A HREF="JSONWriter.html" title="class in org.apache.sling.commons.json.io" target="classFrame">JSONWriter</A></FONT></TD> +</TR> +</TABLE> + + +</BODY> +</HTML> http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/package-summary.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/package-summary.html b/apidocs/sling5/org/apache/sling/commons/json/io/package-summary.html new file mode 100644 index 0000000..27b23a0 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/package-summary.html @@ -0,0 +1,162 @@ +<!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_10) on Mon May 11 08:55:07 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +org.apache.sling.commons.json.io (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<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="org.apache.sling.commons.json.io (Apache Sling Aggregate 5-incubator 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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/sling/commons/json/http/package-summary.html"><B>PREV PACKAGE</B></A> + <A HREF="../../../../../../org/apache/sling/commons/json/jcr/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.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> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<H2> +Package org.apache.sling.commons.json.io +</H2> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io">JSONStringer</A></B></TD> +<TD>JSONStringer provides a quick and convenient way of producing JSON text.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io">JSONWriter</A></B></TD> +<TD>JSONWriter provides a quick and convenient way of producing JSON text.</TD> +</TR> +</TABLE> + + +<P> +<DL> +</DL> +<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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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/sling/commons/json/http/package-summary.html"><B>PREV PACKAGE</B></A> + <A HREF="../../../../../../org/apache/sling/commons/json/jcr/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.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> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> +Copyright © 2007-2009. All Rights Reserved. +</BODY> +</HTML> http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/io/package-tree.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/io/package-tree.html b/apidocs/sling5/org/apache/sling/commons/json/io/package-tree.html new file mode 100644 index 0000000..cc25954 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/io/package-tree.html @@ -0,0 +1,156 @@ +<!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_10) on Mon May 11 08:55:08 CEST 2009 --> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<TITLE> +org.apache.sling.commons.json.io Class Hierarchy (Apache Sling Aggregate 5-incubator API) +</TITLE> + +<META NAME="date" CONTENT="2009-05-11"> + +<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="org.apache.sling.commons.json.io Class Hierarchy (Apache Sling Aggregate 5-incubator 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="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </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/sling/commons/json/http/package-tree.html"><B>PREV</B></A> + <A HREF="../../../../../../org/apache/sling/commons/json/jcr/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.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> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +Hierarchy For Package org.apache.sling.commons.json.io +</H2> +</CENTER> +<DL> +<DT><B>Package Hierarchies:</B><DD><A HREF="../../../../../../overview-tree.html">All Packages</A></DL> +<HR> +<H2> +Class Hierarchy +</H2> +<UL> +<LI TYPE="circle">java.lang.Object<UL> +<LI TYPE="circle">org.apache.sling.commons.json.io.<A HREF="../../../../../../org/apache/sling/commons/json/io/JSONWriter.html" title="class in org.apache.sling.commons.json.io"><B>JSONWriter</B></A><UL> +<LI TYPE="circle">org.apache.sling.commons.json.io.<A HREF="../../../../../../org/apache/sling/commons/json/io/JSONStringer.html" title="class in org.apache.sling.commons.json.io"><B>JSONStringer</B></A></UL> +</UL> +</UL> +<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="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </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/sling/commons/json/http/package-tree.html"><B>PREV</B></A> + <A HREF="../../../../../../org/apache/sling/commons/json/jcr/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../../index.html?org/apache/sling/commons/json/io/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.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> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> +Copyright © 2007-2009. All Rights Reserved. +</BODY> +</HTML>