http://git-wip-us.apache.org/repos/asf/sling-site/blob/c1fb7b2c/apidocs/sling5/org/apache/sling/commons/json/JSONString.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/JSONString.html b/apidocs/sling5/org/apache/sling/commons/json/JSONString.html new file mode 100644 index 0000000..871cf64 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/JSONString.html @@ -0,0 +1,221 @@ +<!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> +JSONString (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="JSONString (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/JSONString.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/JSONObject.html" title="class in org.apache.sling.commons.json"><B>PREV CLASS</B></A> + <A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../index.html?org/apache/sling/commons/json/JSONString.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONString.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <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</FONT> +<BR> +Interface JSONString</H2> +<HR> +<DL> +<DT><PRE>public interface <B>JSONString</B></DL> +</PRE> + +<P> +The <code>JSONString</code> interface allows a <code>toJSONString()</code> + method so that a class can change the behavior of + <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, + and <code>JSONWriter.value(</code>Object<code>)</code>. The + <code>toJSONString</code> method will be used instead of the default behavior + of using the Object's <code>toString()</code> method and quoting the result. +<P> + +<P> +<HR> + +<P> + +<!-- ========== 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/JSONString.html#toJSONString()">toJSONString</A></B>()</CODE> + +<BR> + The <code>toJSONString</code> method allows a class to produce its own JSON + serialization.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ 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="toJSONString()"><!-- --></A><H3> +toJSONString</H3> +<PRE> +java.lang.String <B>toJSONString</B>()</PRE> +<DL> +<DD>The <code>toJSONString</code> method allows a class to produce its own JSON + serialization. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>A strictly syntactically correct 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/JSONString.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/JSONObject.html" title="class in org.apache.sling.commons.json"><B>PREV CLASS</B></A> + <A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../../index.html?org/apache/sling/commons/json/JSONString.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONString.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <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/JSONTokener.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/JSONTokener.html b/apidocs/sling5/org/apache/sling/commons/json/JSONTokener.html new file mode 100644 index 0000000..1dc1832 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/JSONTokener.html @@ -0,0 +1,622 @@ +<!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> +JSONTokener (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="JSONTokener (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/JSONTokener.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/JSONString.html" title="interface in org.apache.sling.commons.json"><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/JSONTokener.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONTokener.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 | FIELD | <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</FONT> +<BR> +Class JSONTokener</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.sling.commons.json.JSONTokener</B> +</PRE> +<DL> +<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/sling/commons/json/http/HTTPTokener.html" title="class in org.apache.sling.commons.json.http">HTTPTokener</A>, <A HREF="../../../../../org/apache/sling/commons/json/xml/XMLTokener.html" title="class in org.apache.sling.commons.json.xml">XMLTokener</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>JSONTokener</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +A JSONTokener takes a source string and extracts characters and tokens from + it. It is used by the JSONObject and JSONArray constructors to parse + JSON source strings. +<P> + +<P> +<DL> +<DT><B>Version:</B></DT> + <DD>2</DD> +<DT><B>Author:</B></DT> + <DD>JSON.org</DD> +</DL> +<HR> + +<P> + +<!-- ======== 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/JSONTokener.html#JSONTokener(java.lang.String)">JSONTokener</A></B>(java.lang.String s)</CODE> + +<BR> + Construct a JSONTokener from a 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/sling/commons/json/JSONTokener.html#back()">back</A></B>()</CODE> + +<BR> + Back up one character.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#dehexchar(char)">dehexchar</A></B>(char c)</CODE> + +<BR> + Get the hex value of a character (base16).</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/JSONTokener.html#more()">more</A></B>()</CODE> + +<BR> + Determine if the source string still contains characters that next() + can consume.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> char</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#next()">next</A></B>()</CODE> + +<BR> + Get the next character in the source string.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> char</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#next(char)">next</A></B>(char c)</CODE> + +<BR> + Consume the next character, and check that it matches a specified + character.</TD> +</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/JSONTokener.html#next(int)">next</A></B>(int n)</CODE> + +<BR> + Get the next n characters.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> char</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#nextClean()">nextClean</A></B>()</CODE> + +<BR> + Get the next char in the string, skipping whitespace + and comments (slashslash, slashstar, and hash).</TD> +</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/JSONTokener.html#nextString(char)">nextString</A></B>(char quote)</CODE> + +<BR> + Return the characters up to the next close quote character.</TD> +</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/JSONTokener.html#nextTo(char)">nextTo</A></B>(char d)</CODE> + +<BR> + Get the text up but not including the specified character or the + end of line, whichever comes first.</TD> +</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/JSONTokener.html#nextTo(java.lang.String)">nextTo</A></B>(java.lang.String delimiters)</CODE> + +<BR> + Get the text up but not including one of the specified delimeter + characters or the end of line, whichever comes first.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#nextValue()">nextValue</A></B>()</CODE> + +<BR> + Get the next value.</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/JSONTokener.html#skipPast(java.lang.String)">skipPast</A></B>(java.lang.String to)</CODE> + +<BR> + Skip characters until past the requested string.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> char</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#skipTo(char)">skipTo</A></B>(char to)</CODE> + +<BR> + Skip characters until the next character is the requested character.</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/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/sling/commons/json/JSONTokener.html#syntaxError(java.lang.String)">syntaxError</A></B>(java.lang.String message)</CODE> + +<BR> + Make a JSONException to signal a syntax error.</TD> +</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/JSONTokener.html#toString()">toString</A></B>()</CODE> + +<BR> + Make a printable string of this JSONTokener.</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="JSONTokener(java.lang.String)"><!-- --></A><H3> +JSONTokener</H3> +<PRE> +public <B>JSONTokener</B>(java.lang.String s)</PRE> +<DL> +<DD>Construct a JSONTokener from a string. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>s</CODE> - A source string.</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="back()"><!-- --></A><H3> +back</H3> +<PRE> +public void <B>back</B>()</PRE> +<DL> +<DD>Back up one character. This provides a sort of lookahead capability, + so that you can test for a digit or letter before attempting to parse + the next number or identifier. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="dehexchar(char)"><!-- --></A><H3> +dehexchar</H3> +<PRE> +public static int <B>dehexchar</B>(char c)</PRE> +<DL> +<DD>Get the hex value of a character (base16). +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>c</CODE> - A character between '0' and '9' or between 'A' and 'F' or + between 'a' and 'f'. +<DT><B>Returns:</B><DD>An int between 0 and 15, or -1 if c was not a hex digit.</DL> +</DD> +</DL> +<HR> + +<A NAME="more()"><!-- --></A><H3> +more</H3> +<PRE> +public boolean <B>more</B>()</PRE> +<DL> +<DD>Determine if the source string still contains characters that next() + can consume. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>true if not yet at the end of the source.</DL> +</DD> +</DL> +<HR> + +<A NAME="next()"><!-- --></A><H3> +next</H3> +<PRE> +public char <B>next</B>()</PRE> +<DL> +<DD>Get the next character in the source string. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>The next character, or 0 if past the end of the source string.</DL> +</DD> +</DL> +<HR> + +<A NAME="next(char)"><!-- --></A><H3> +next</H3> +<PRE> +public char <B>next</B>(char c) + throws <A HREF="../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Consume the next character, and check that it matches a specified + character. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to match. +<DT><B>Returns:</B><DD>The character. +<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 character does not match.</DL> +</DD> +</DL> +<HR> + +<A NAME="next(int)"><!-- --></A><H3> +next</H3> +<PRE> +public java.lang.String <B>next</B>(int n) + throws <A HREF="../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Get the next n characters. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>n</CODE> - The number of characters to take. +<DT><B>Returns:</B><DD>A string of n characters. +<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> - Substring bounds error if there are not + n characters remaining in the source string.</DL> +</DD> +</DL> +<HR> + +<A NAME="nextClean()"><!-- --></A><H3> +nextClean</H3> +<PRE> +public char <B>nextClean</B>() + throws <A HREF="../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Get the next char in the string, skipping whitespace + and comments (slashslash, slashstar, and hash). +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>A character, or 0 if there are no more characters. +<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="nextString(char)"><!-- --></A><H3> +nextString</H3> +<PRE> +public java.lang.String <B>nextString</B>(char quote) + throws <A HREF="../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Return the characters up to the next close quote character. + Backslash processing is done. The formal JSON format does not + allow strings in single quotes, but an implementation is allowed to + accept them. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>quote</CODE> - The quoting character, either + <code>"</code> <small>(double quote)</small> or + <code>'</code> <small>(single quote)</small>. +<DT><B>Returns:</B><DD>A String. +<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> - Unterminated string.</DL> +</DD> +</DL> +<HR> + +<A NAME="nextTo(char)"><!-- --></A><H3> +nextTo</H3> +<PRE> +public java.lang.String <B>nextTo</B>(char d)</PRE> +<DL> +<DD>Get the text up but not including the specified character or the + end of line, whichever comes first. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>d</CODE> - A delimiter character. +<DT><B>Returns:</B><DD>A string.</DL> +</DD> +</DL> +<HR> + +<A NAME="nextTo(java.lang.String)"><!-- --></A><H3> +nextTo</H3> +<PRE> +public java.lang.String <B>nextTo</B>(java.lang.String delimiters)</PRE> +<DL> +<DD>Get the text up but not including one of the specified delimeter + characters or the end of line, whichever comes first. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>delimiters</CODE> - A set of delimiter characters. +<DT><B>Returns:</B><DD>A string, trimmed.</DL> +</DD> +</DL> +<HR> + +<A NAME="nextValue()"><!-- --></A><H3> +nextValue</H3> +<PRE> +public java.lang.Object <B>nextValue</B>() + throws <A HREF="../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A></PRE> +<DL> +<DD>Get the next value. The value can be a Boolean, Double, Integer, + JSONArray, JSONObject, Long, or String, or the JSONObject.NULL object. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>An object. +<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 syntax error.</DL> +</DD> +</DL> +<HR> + +<A NAME="skipTo(char)"><!-- --></A><H3> +skipTo</H3> +<PRE> +public char <B>skipTo</B>(char to)</PRE> +<DL> +<DD>Skip characters until the next character is the requested character. + If the requested character is not found, no characters are skipped. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>to</CODE> - A character to skip to. +<DT><B>Returns:</B><DD>The requested character, or zero if the requested character + is not found.</DL> +</DD> +</DL> +<HR> + +<A NAME="skipPast(java.lang.String)"><!-- --></A><H3> +skipPast</H3> +<PRE> +public void <B>skipPast</B>(java.lang.String to)</PRE> +<DL> +<DD>Skip characters until past the requested string. + If it is not found, we are left at the end of the source. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>to</CODE> - A string to skip past.</DL> +</DD> +</DL> +<HR> + +<A NAME="syntaxError(java.lang.String)"><!-- --></A><H3> +syntaxError</H3> +<PRE> +public <A HREF="../../../../../org/apache/sling/commons/json/JSONException.html" title="class in org.apache.sling.commons.json">JSONException</A> <B>syntaxError</B>(java.lang.String message)</PRE> +<DL> +<DD>Make a JSONException to signal a syntax error. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - The error message. +<DT><B>Returns:</B><DD>A JSONException object, suitable for throwing</DL> +</DD> +</DL> +<HR> + +<A NAME="toString()"><!-- --></A><H3> +toString</H3> +<PRE> +public java.lang.String <B>toString</B>()</PRE> +<DL> +<DD>Make a printable string of this JSONTokener. +<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>" at character [this.myIndex] of [this.mySource]"</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/JSONTokener.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/JSONString.html" title="interface in org.apache.sling.commons.json"><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/JSONTokener.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONTokener.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 | FIELD | <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/class-use/JSONArray.html ---------------------------------------------------------------------- diff --git a/apidocs/sling5/org/apache/sling/commons/json/class-use/JSONArray.html b/apidocs/sling5/org/apache/sling/commons/json/class-use/JSONArray.html new file mode 100644 index 0000000..d7ce481 --- /dev/null +++ b/apidocs/sling5/org/apache/sling/commons/json/class-use/JSONArray.html @@ -0,0 +1,503 @@ +<!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.JSONArray (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.JSONArray (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/JSONArray.html" title="class in org.apache.sling.commons.json"><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//class-useJSONArray.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONArray.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.JSONArray</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="#org.apache.sling.commons.json"><B>org.apache.sling.commons.json</B></A></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="#org.apache.sling.commons.json.util"><B>org.apache.sling.commons.json.util</B></A></TD> +<TD> </TD> +</TR> +</TABLE> + +<P> +<A NAME="org.apache.sling.commons.json"><!-- --></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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> in <A HREF="../../../../../../org/apache/sling/commons/json/package-summary.html">org.apache.sling.commons.json</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/package-summary.html">org.apache.sling.commons.json</A> that return <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#getJSONArray(int)">getJSONArray</A></B>(int index)</CODE> + +<BR> + Get the JSONArray associated with an index.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONObject.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONObject.html#getJSONArray(java.lang.String)">getJSONArray</A></B>(java.lang.String key)</CODE> + +<BR> + Get the JSONArray value associated with 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONObject.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONObject.html#names()">names</A></B>()</CODE> + +<BR> + Produce a JSONArray containing the names of the elements of this + JSONObject.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#optJSONArray(int)">optJSONArray</A></B>(int index)</CODE> + +<BR> + Get the optional JSONArray associated with an index.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONObject.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONObject.html#optJSONArray(java.lang.String)">optJSONArray</A></B>(java.lang.String key)</CODE> + +<BR> + Get an optional JSONArray associated with 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(boolean)">put</A></B>(boolean value)</CODE> + +<BR> + Append a boolean 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(java.util.Collection)">put</A></B>(java.util.Collection<?> value)</CODE> + +<BR> + Put a value in the JSONArray, where the value will be a + JSONArray which is produced from a Collection.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(double)">put</A></B>(double value)</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int)">put</A></B>(int value)</CODE> + +<BR> + Append an int 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, boolean)">put</A></B>(int index, + boolean value)</CODE> + +<BR> + Put or replace a boolean value in the JSONArray.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, java.util.Collection)">put</A></B>(int index, + java.util.Collection<?> value)</CODE> + +<BR> + Put a value in the JSONArray, where the value will be a + JSONArray which is produced from a Collection.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, double)">put</A></B>(int index, + double value)</CODE> + +<BR> + Put or replace 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, int)">put</A></B>(int index, + int value)</CODE> + +<BR> + Put or replace an int 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, long)">put</A></B>(int index, + long value)</CODE> + +<BR> + Put or replace 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, java.util.Map)">put</A></B>(int index, + java.util.Map<java.lang.String,?> value)</CODE> + +<BR> + Put a value in the JSONArray, where the value will be a + JSONObject which is produced from a Map.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(int, java.lang.Object)">put</A></B>(int index, + java.lang.Object value)</CODE> + +<BR> + Put or replace an object value in the JSONArray.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(long)">put</A></B>(long value)</CODE> + +<BR> + Append an 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(java.util.Map)">put</A></B>(java.util.Map<java.lang.String,?> value)</CODE> + +<BR> + Put a value in the JSONArray, where the value will be a + JSONObject which is produced from a Map.</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#put(java.lang.Object)">put</A></B>(java.lang.Object value)</CODE> + +<BR> + Append an object 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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONObject.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONObject.html#toJSONArray(org.apache.sling.commons.json.JSONArray)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names)</CODE> + +<BR> + Produce a JSONArray containing the values of the members of this + JSONObject.</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/package-summary.html">org.apache.sling.commons.json</A> with parameters of type <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>JSONObject.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONObject.html#toJSONArray(org.apache.sling.commons.json.JSONArray)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names)</CODE> + +<BR> + Produce a JSONArray containing the values of the members of this + JSONObject.</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/JSONObject.html" title="class in org.apache.sling.commons.json">JSONObject</A></CODE></FONT></TD> +<TD><CODE><B>JSONArray.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html#toJSONObject(org.apache.sling.commons.json.JSONArray)">toJSONObject</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names)</CODE> + +<BR> + Produce a JSONObject by combining a JSONArray of names with the values + of this JSONArray.</TD> +</TR> +</TABLE> + +<P> +<A NAME="org.apache.sling.commons.json.util"><!-- --></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/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> in <A HREF="../../../../../../org/apache/sling/commons/json/util/package-summary.html">org.apache.sling.commons.json.util</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/util/package-summary.html">org.apache.sling.commons.json.util</A> that return <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#rowToJSONArray(org.apache.sling.commons.json.JSONTokener)">rowToJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json">JSONTokener</A> x)</CODE> + +<BR> + Produce a JSONArray of strings from a row of comma delimited values.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toJSONArray(org.apache.sling.commons.json.JSONArray, org.apache.sling.commons.json.JSONTokener)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names, + <A HREF="../../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json">JSONTokener</A> x)</CODE> + +<BR> + Produce a JSONArray of JSONObjects from a comma delimited text string + using a supplied JSONArray as the source of element names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toJSONArray(org.apache.sling.commons.json.JSONArray, java.lang.String)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names, + java.lang.String string)</CODE> + +<BR> + Produce a JSONArray of JSONObjects from a comma delimited text string + using a supplied JSONArray as the source of element names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toJSONArray(org.apache.sling.commons.json.JSONTokener)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json">JSONTokener</A> x)</CODE> + +<BR> + Produce a JSONArray of JSONObjects from a comma delimited text string, + using the first row as a source of names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toJSONArray(java.lang.String)">toJSONArray</A></B>(java.lang.String string)</CODE> + +<BR> + Produce a JSONArray of JSONObjects from a comma delimited text string, + using the first row as a source of names.</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/util/package-summary.html">org.apache.sling.commons.json.util</A> with parameters of type <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONObject.html" title="class in org.apache.sling.commons.json">JSONObject</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#rowToJSONObject(org.apache.sling.commons.json.JSONArray, org.apache.sling.commons.json.JSONTokener)">rowToJSONObject</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names, + <A HREF="../../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json">JSONTokener</A> x)</CODE> + +<BR> + Produce a JSONObject from a row of comma delimited text, using a + parallel JSONArray of strings to provides the names of the elements.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#rowToString(org.apache.sling.commons.json.JSONArray)">rowToString</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> ja)</CODE> + +<BR> + Produce a comma delimited text row from a JSONArray.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toJSONArray(org.apache.sling.commons.json.JSONArray, org.apache.sling.commons.json.JSONTokener)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names, + <A HREF="../../../../../../org/apache/sling/commons/json/JSONTokener.html" title="class in org.apache.sling.commons.json">JSONTokener</A> x)</CODE> + +<BR> + Produce a JSONArray of JSONObjects from a comma delimited text string + using a supplied JSONArray as the source of element names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A></CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toJSONArray(org.apache.sling.commons.json.JSONArray, java.lang.String)">toJSONArray</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names, + java.lang.String string)</CODE> + +<BR> + Produce a JSONArray of JSONObjects from a comma delimited text string + using a supplied JSONArray as the source of element names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toString(org.apache.sling.commons.json.JSONArray)">toString</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> ja)</CODE> + +<BR> + Produce a comma delimited text from a JSONArray of JSONObjects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B>CDL.</B><B><A HREF="../../../../../../org/apache/sling/commons/json/util/CDL.html#toString(org.apache.sling.commons.json.JSONArray, org.apache.sling.commons.json.JSONArray)">toString</A></B>(<A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> names, + <A HREF="../../../../../../org/apache/sling/commons/json/JSONArray.html" title="class in org.apache.sling.commons.json">JSONArray</A> ja)</CODE> + +<BR> + Produce a comma delimited text from a JSONArray of JSONObjects using + a provided list of names.</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/JSONArray.html" title="class in org.apache.sling.commons.json"><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//class-useJSONArray.html" target="_top"><B>FRAMES</B></A> + <A HREF="JSONArray.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>