[Checkins] SVN: p01.xmlhttp/ Added xmlhttp javascript library
Roger Ineichen
roger at projekt01.ch
Tue May 15 11:27:47 EDT 2007
Log message for revision 75766:
Added xmlhttp javascript library
Changed:
A p01.xmlhttp/branches/
A p01.xmlhttp/tags/
A p01.xmlhttp/trunk/
A p01.xmlhttp/trunk/src/
A p01.xmlhttp/trunk/src/p01/
A p01.xmlhttp/trunk/src/p01/xmlhttp/
A p01.xmlhttp/trunk/src/p01/xmlhttp/SETUP.cfg
A p01.xmlhttp/trunk/src/p01/xmlhttp/__init__.py
A p01.xmlhttp/trunk/src/p01/xmlhttp/browser.py
A p01.xmlhttp/trunk/src/p01/xmlhttp/configure.zcml
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/XMLHttp.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-frame.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-noframe.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/getXmlHttpRequest.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/help-doc.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index-all.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/logo.gif
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary-xmlhttp.js.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-tree.html
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/stylesheet.css
A p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc.bat
A p01.xmlhttp/trunk/src/p01/xmlhttp/layer.py
A p01.xmlhttp/trunk/src/p01/xmlhttp/p01.xmlhttp-configure.zcml
A p01.xmlhttp/trunk/src/p01/xmlhttp/xmlhttp.js
-=-
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/SETUP.cfg
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/SETUP.cfg (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/SETUP.cfg 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,3 @@
+<data-files zopeskel/etc/package-includes>
+ p01.xmlhttp-*.zcml
+</data-files>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/__init__.py
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/__init__.py (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/__init__.py 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,16 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+$Id: layer.py 197 2007-04-13 05:03:32Z rineichen $
+"""
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/browser.py
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/browser.py (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/browser.py 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,21 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+$Id: layer.py 197 2007-04-13 05:03:32Z rineichen $
+"""
+
+from zope.viewlet.viewlet import JavaScriptViewlet
+
+
+XMLHTTPJavaScriptViewlet = JavaScriptViewlet('xmlhttp.js')
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/configure.zcml
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/configure.zcml (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/configure.zcml 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,31 @@
+<configure
+ xmlns:zope="http://namespaces.zope.org/zope"
+ xmlns="http://namespaces.zope.org/browser"
+ xmlns:z3c="http://namespaces.zope.org/z3c"
+ i18n_domain="p01">
+
+ <zope:interface
+ interface="p01.xmlhttp.layer.IXMLHTTPBrowserLayer"
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
+ />
+
+ <resource
+ name="xmlhttp.js"
+ file="xmlhttp.js"
+ layer="p01.xmlhttp.layer.IXMLHTTPBrowserLayer"
+ />
+
+ <!-- register the viewlet for a content provider in your skin, or include
+ the xmlhttp.js directly in the header of your template.
+ <viewlet
+ name="xmlhttp.js"
+ for="*"
+ manager="<your content provider interface>"
+ class=".browser.XMLHTTPJavaScriptViewlet"
+ permission="zope.Public"
+ layer="p01.xmlhttp.layer.IXMLHTTPBrowserLayer"
+ weight="0"
+ />
+ -->
+
+</configure>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/XMLHttp.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/XMLHttp.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/XMLHttp.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,919 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<TITLE>
+XMLHttp
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title="XMLHttp";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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="overview-summary-xmlhttp.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</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>
+<B>P01, Javascript API Specification</B>
+</EM>
+</TD
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="getXmlHttpRequest.html"><B>PREV CLASS</B></A><!--
+ NEXT CLASS
+-->
+ <B>NEXT CLASS</B></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="XMLHttp.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: <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>
+<!-- =========== END OF NAVBAR =========== -->
+<HR>
+
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>Class XMLHttp</H2>
+<PRE>Object
+ |
+ +--<b>XMLHttp</b>
+</PRE>
+
+
+<HR>
+<DL>
+ <!-- Class definition -->
+ <DT>class
+ <B>XMLHttp</B>
+
+
+</DL>
+
+ <P>
+ <BR/>This is the basic XMLHttp class.
+ <BR/><I>Defined in <a href='overview-summary-xmlhttp.js.html'>xmlhttp.js</a></I><BR/><BR/>
+ </P>
+
+ <HR>
+
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<!-- ======== END NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+ <A NAME="field_summary"><!-- --></A>
+ <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <TD COLSPAN=2><FONT SIZE="+2">
+ <B>Field Summary</B></FONT></TD>
+ </TR>
+
+ <!-- This is one instance field summary -->
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#argString">argString</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#async">async</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#callback">callback</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#callbackArgs">callbackArgs</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#headers">headers</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#isAborted">isAborted</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#isComplete">isComplete</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#isInteractive">isInteractive</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#isLoaded">isLoaded</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#isLoading">isLoading</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#method">method</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#onComplete">onComplete</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#onError">onError</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#onInteractive">onInteractive</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#onLoaded">onLoaded</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#onLoading">onLoading</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#onTimeout">onTimeout</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#parameters">parameters</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#password">password</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#responseText">responseText</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#responseXML">responseXML</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#timeout">timeout</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#url">url</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#username">username</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+ <CODE> Object</CODE></FONT></TD>
+ <TD><CODE><B><A HREF="#xmlhttp">xmlhttp</A></B></CODE>
+ <BR>
+ </TD>
+ </TR>
+
+
+ </TABLE>
+
+
+
+
+
+<!-- =========== END FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD>
+ <CODE>
+ <B>
+ <A HREF="XMLHttp.html#XMLHttp()">XMLHttp</A>
+ </B>
+ (<string> url)
+ </CODE>
+ <BR>
+
+ Construct a new XMLHttp.
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TD>
+</TR>
+
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%">
+ <FONT SIZE="-1">
+ <CODE> Object</CODE>
+ </FONT>
+ </TD>
+ <TD>
+ <CODE>
+ <B>
+ <A HREF="#get">get</A></B>(<function> callback, <array> callbackArgs)
+ </CODE>
+ <BR>
+
+ Process a 'GET' request.
+ </TD>
+ </TR>
+
+ <TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD ALIGN="right" VALIGN="top" WIDTH="1%">
+ <FONT SIZE="-1">
+ <CODE> Object</CODE>
+ </FONT>
+ </TD>
+ <TD>
+ <CODE>
+ <B>
+ <A HREF="#post">post</A></B>(<function> callback, <array> callbackArgs)
+ </CODE>
+ <BR>
+
+ Process a 'POST' request.
+ </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="#setArguments">setArguments</A></B>(<array> args)
+ </CODE>
+ <BR>
+
+ Set the arguments for the request or the XMLHttp instance.
+ </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="#setHeaders">setHeaders</A></B>(<array> args)
+ </CODE>
+ <BR>
+
+ Set the header information for the XMLHttp instance.
+ </TD>
+ </TR>
+
+
+</TABLE>
+
+
+
+<P>
+<!-- ========== END METHOD SUMMARY =========== -->
+
+
+<!-- ============ FIELD DETAIL START =========== -->
+
+ <A NAME="field_detail"><!-- --></A>
+ <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
+ </TR>
+ </TABLE>
+
+
+ <A NAME="argString"><!-- --></A>
+ <H3>argString</H3>
+ <PRE>Object <B>argString</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="async"><!-- --></A>
+ <H3>async</H3>
+ <PRE>Object <B>async</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="callback"><!-- --></A>
+ <H3>callback</H3>
+ <PRE>Object <B>callback</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="callbackArgs"><!-- --></A>
+ <H3>callbackArgs</H3>
+ <PRE>Object <B>callbackArgs</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="headers"><!-- --></A>
+ <H3>headers</H3>
+ <PRE>Object <B>headers</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="isAborted"><!-- --></A>
+ <H3>isAborted</H3>
+ <PRE>Object <B>isAborted</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="isComplete"><!-- --></A>
+ <H3>isComplete</H3>
+ <PRE>Object <B>isComplete</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="isInteractive"><!-- --></A>
+ <H3>isInteractive</H3>
+ <PRE>Object <B>isInteractive</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="isLoaded"><!-- --></A>
+ <H3>isLoaded</H3>
+ <PRE>Object <B>isLoaded</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="isLoading"><!-- --></A>
+ <H3>isLoading</H3>
+ <PRE>Object <B>isLoading</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="method"><!-- --></A>
+ <H3>method</H3>
+ <PRE>Object <B>method</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="onComplete"><!-- --></A>
+ <H3>onComplete</H3>
+ <PRE>Object <B>onComplete</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="onError"><!-- --></A>
+ <H3>onError</H3>
+ <PRE>Object <B>onError</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="onInteractive"><!-- --></A>
+ <H3>onInteractive</H3>
+ <PRE>Object <B>onInteractive</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="onLoaded"><!-- --></A>
+ <H3>onLoaded</H3>
+ <PRE>Object <B>onLoaded</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="onLoading"><!-- --></A>
+ <H3>onLoading</H3>
+ <PRE>Object <B>onLoading</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="onTimeout"><!-- --></A>
+ <H3>onTimeout</H3>
+ <PRE>Object <B>onTimeout</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="parameters"><!-- --></A>
+ <H3>parameters</H3>
+ <PRE>Object <B>parameters</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="password"><!-- --></A>
+ <H3>password</H3>
+ <PRE>Object <B>password</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="responseText"><!-- --></A>
+ <H3>responseText</H3>
+ <PRE>Object <B>responseText</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="responseXML"><!-- --></A>
+ <H3>responseXML</H3>
+ <PRE>Object <B>responseXML</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="timeout"><!-- --></A>
+ <H3>timeout</H3>
+ <PRE>Object <B>timeout</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="url"><!-- --></A>
+ <H3>url</H3>
+ <PRE>Object <B>url</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="username"><!-- --></A>
+ <H3>username</H3>
+ <PRE>Object <B>username</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+ <A NAME="xmlhttp"><!-- --></A>
+ <H3>xmlhttp</H3>
+ <PRE>Object <B>xmlhttp</B></PRE>
+ <UL>
+
+
+ </UL>
+ <HR>
+
+
+
+<!-- ============ FIELD DETAIL END =========== -->
+
+ <!-- ========= CONSTRUCTOR DETAIL START ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <TD COLSPAN=1>
+ <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
+ </TD>
+ </TR>
+</TABLE>
+
+<A NAME="XMLHttp()"><!-- --></A><H3>
+XMLHttp</H3>
+<PRE><B>XMLHttp</B>(<string> url)</PRE>
+
+
+<UL>
+ Construct a new XMLHttp.
+</UL>
+
+
+
+ <UL>
+ <B>Parameters:</B>
+
+ <UL><CODE>url</CODE> - URL pointing to the server
+ </UL>
+
+
+ </UL>
+
+
+<!-- Constructor return value(s) -->
+
+ <UL>
+ <B>Returns:</B>
+ <UL>
+ A new XMLHttp
+ </UL>
+ </UL>
+
+<!-- End constructor return value(s) -->
+
+<!-- ADDITIONAL ATTRIBUTES -->
+
+<HR/>
+<!-- END ADDITIONAL ATTRIBUTES -->
+
+<!-- ========= CONSTRUCTOR DETAIL END ======== -->
+
+
+<!-- ============ METHOD DETAIL START ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <TD COLSPAN=1><FONT SIZE="+2">
+ <B>Method Detail</B></FONT>
+ </TD>
+ </TR>
+</TABLE>
+
+<!-- One single method detail entry -->
+
+ <A NAME="get"><!-- --></A>
+ <H3>get</H3>
+ <PRE>Object <B>get</B>(<function> callback, <array> callbackArgs)</PRE>
+
+ <UL>Process a 'GET' request.</UL>
+
+
+ <!-- METHOD PARAMETERS START -->
+
+ <UL>
+ <B>Parameters:</B>
+
+ <UL><CODE>callback</CODE> - callback funtion
+ </UL>
+
+ <UL><CODE>callbackArgs</CODE> - callback arguments
+ </UL>
+
+ </UL>
+
+ <!-- METHOD PARAMETERS END -->
+
+
+
+ <!-- ADDITIONAL ATTRIBUTES START -->
+
+ <!-- ADDITIONAL ATTRIBUTES END -->
+<HR>
+
+ <A NAME="post"><!-- --></A>
+ <H3>post</H3>
+ <PRE>Object <B>post</B>(<function> callback, <array> callbackArgs)</PRE>
+
+ <UL>Process a 'POST' request.</UL>
+
+
+ <!-- METHOD PARAMETERS START -->
+
+ <UL>
+ <B>Parameters:</B>
+
+ <UL><CODE>callback</CODE> - callback funtion
+ </UL>
+
+ <UL><CODE>callbackArgs</CODE> - callback arguments
+ </UL>
+
+ </UL>
+
+ <!-- METHOD PARAMETERS END -->
+
+
+
+ <!-- ADDITIONAL ATTRIBUTES START -->
+
+ <!-- ADDITIONAL ATTRIBUTES END -->
+<HR>
+
+ <A NAME="setArguments"><!-- --></A>
+ <H3>setArguments</H3>
+ <PRE>void <B>setArguments</B>(<array> args)</PRE>
+
+ <UL>Set the arguments for the request or the XMLHttp instance.</UL>
+
+
+ <!-- METHOD PARAMETERS START -->
+
+ <UL>
+ <B>Parameters:</B>
+
+ <UL><CODE>args</CODE> - of key, value
+ </UL>
+
+ </UL>
+
+ <!-- METHOD PARAMETERS END -->
+
+
+
+ <!-- ADDITIONAL ATTRIBUTES START -->
+
+ <!-- ADDITIONAL ATTRIBUTES END -->
+<HR>
+
+ <A NAME="setHeaders"><!-- --></A>
+ <H3>setHeaders</H3>
+ <PRE>void <B>setHeaders</B>(<array> args)</PRE>
+
+ <UL>Set the header information for the XMLHttp instance.</UL>
+
+
+ <!-- METHOD PARAMETERS START -->
+
+ <UL>
+ <B>Parameters:</B>
+
+ <UL><CODE>args</CODE> - of key, value
+ </UL>
+
+ </UL>
+
+ <!-- METHOD PARAMETERS END -->
+
+
+
+ <!-- ADDITIONAL ATTRIBUTES START -->
+
+ <!-- ADDITIONAL ATTRIBUTES END -->
+<HR>
+
+
+
+<!-- ============ METHOD DETAIL END ========== -->
+
+<!-- ========= END OF CLASS DATA ========= -->
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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="overview-summary-xmlhttp.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A> </TD>
+ <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</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>
+<B>P01, Javascript API Specification</B>
+</EM>
+</TD
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="getXmlHttpRequest.html"><B>PREV CLASS</B></A><!--
+ NEXT CLASS
+-->
+ <B>NEXT CLASS</B></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="XMLHttp.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: <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>
+
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<FONT SIZE="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</FONT>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-frame.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-frame.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-frame.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<TITLE>
+P01, Javascript API Specification All Classes
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title="P01, Javascript API Specification All Classes";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+ <IMG SRC="logo.gif"/>
+
+<H3 class="FrameHeadingFont"><B>P01, Javascript API Specification</B></H3>
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B><a href="overview-summary.html" target="classFrame">All Classes</a></B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%">
+
+
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="getXmlHttpRequest.html" TARGET="classFrame">getXmlHttpRequest</A>
+<BR>
+</FONT></TD>
+</TR>
+
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="XMLHttp.html" TARGET="classFrame">XMLHttp</A>
+<BR>
+</FONT></TD>
+</TR>
+
+</TABLE>
+
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-noframe.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-noframe.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/allclasses-noframe.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>
+P01, Javascript API Specification All Classes
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title="P01, Javascript API Specification All Classes";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+ <IMG SRC="logo.gif"/>
+
+<H3 CLASS="FrameHeadingFont">P01, Javascript API Specification</H3>
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B><a href="overview-summary.html">All Classes</a></B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%">
+
+
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="getXmlHttpRequest.html" >getXmlHttpRequest</A>
+<BR>
+</FONT></TD>
+</TR>
+
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="XMLHttp.html" >XMLHttp</A>
+<BR>
+</FONT></TD>
+</TR>
+
+</TABLE>
+
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/getXmlHttpRequest.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/getXmlHttpRequest.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/getXmlHttpRequest.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,264 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<TITLE>
+getXmlHttpRequest
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title="getXmlHttpRequest";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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="overview-summary-xmlhttp.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</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>
+<B>P01, Javascript API Specification</B>
+</EM>
+</TD
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <B>PREV CLASS</B><!--
+ NEXT CLASS
+-->
+ <A HREF="XMLHttp.html"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="getXmlHttpRequest.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: <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>
+<!-- =========== END OF NAVBAR =========== -->
+<HR>
+
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>Class getXmlHttpRequest</H2>
+<PRE>Object
+ |
+ +--<b>getXmlHttpRequest</b>
+</PRE>
+
+
+<HR>
+<DL>
+ <!-- Class definition -->
+ <DT>class
+ <B>getXmlHttpRequest</B>
+
+
+</DL>
+
+ <P>
+ <BR/>This is a global helper function for a cross browser XMLHttpRequest object.
+ <BR/><I>Defined in <a href='overview-summary-xmlhttp.js.html'>xmlhttp.js</a></I><BR/><BR/>
+ </P>
+
+ <HR>
+
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<!-- ======== END NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+
+
+<!-- =========== END FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+ <TD>
+ <CODE>
+ <B>
+ <A HREF="getXmlHttpRequest.html#getXmlHttpRequest()">getXmlHttpRequest</A>
+ </B>
+ ()
+ </CODE>
+ <BR>
+
+ Global helper function for a cross browser XMLHttpRequest object.
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+
+
+<P>
+<!-- ========== END METHOD SUMMARY =========== -->
+
+
+<!-- ============ FIELD DETAIL START =========== -->
+
+
+<!-- ============ FIELD DETAIL END =========== -->
+
+ <!-- ========= CONSTRUCTOR DETAIL START ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <TD COLSPAN=1>
+ <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
+ </TD>
+ </TR>
+</TABLE>
+
+<A NAME="getXmlHttpRequest()"><!-- --></A><H3>
+getXmlHttpRequest</H3>
+<PRE><B>getXmlHttpRequest</B>()</PRE>
+
+
+<UL>
+ Global helper function for a cross browser XMLHttpRequest object.
+</UL>
+
+
+
+ </UL>
+
+
+<!-- Constructor return value(s) -->
+
+ <UL>
+ <B>Returns:</B>
+ <UL>
+ A XMLHttpRequest instance for gecko browsers and a ActiveXObjecct for ie browsers. Unsuported browsers get null returned.
+ </UL>
+ </UL>
+
+<!-- End constructor return value(s) -->
+
+<!-- ADDITIONAL ATTRIBUTES -->
+
+<HR/>
+<!-- END ADDITIONAL ATTRIBUTES -->
+
+<!-- ========= CONSTRUCTOR DETAIL END ======== -->
+
+
+<!-- ============ METHOD DETAIL START ========== -->
+
+
+<!-- ============ METHOD DETAIL END ========== -->
+
+<!-- ========= END OF CLASS DATA ========= -->
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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="overview-summary-xmlhttp.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A> </TD>
+ <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</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>
+<B>P01, Javascript API Specification</B>
+</EM>
+</TD
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <B>PREV CLASS</B><!--
+ NEXT CLASS
+-->
+ <A HREF="XMLHttp.html"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="getXmlHttpRequest.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: <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>
+
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<FONT SIZE="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</FONT>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/help-doc.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/help-doc.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/help-doc.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>
+P01, Javascript API Specification API Help
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title=" API Help";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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"> <FONT CLASS="NavBarFont1">File</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+<B>P01, Javascript API Specification</B>
+</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" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="help-doc.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<CENTER>
+<H1>
+How This API Document Is Organized</H1>
+</CENTER>
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
+Class</H3>
+<BLOCKQUOTE>
+
+<P>
+Each class has its own separate page. Each of these pages has three sections consisting of a class description, summary tables, and detailed member descriptions:<UL>
+<LI>Class inheritance diagram<LI>Direct Subclasses<LI>Class declaration<LI>Class description
+<P>
+<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
+<P>
+<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
+Each summary entry contains the first sentence from the detailed description for that item. </BLOCKQUOTE>
+<!--H3>
+Tree (Class Hierarchy)</H3>
+<BLOCKQUOTE>
+There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all classes. The hierarchy page contains a list of classes. The classes are organized by inheritance structure starting with <code>Object</code>.<UL>
+</BLOCKQUOTE-->
+<!-- H3>
+Deprecated API</H3>
+<BLOCKQUOTE>
+The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE-->
+<H3>
+Index</H3>
+<BLOCKQUOTE>
+The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, constructors, methods, and fields.</BLOCKQUOTE>
+<H3>
+Prev/Next</H3>
+These links take you to the next or previous class, interface, package, or related page.<H3>
+Frames/No Frames</H3>
+These links show and hide the HTML frames. All pages are available with or without frames.
+<P>
+<FONT SIZE="-1">
+<EM>
+This help file applies to API documentation generated using the standard doclet.</EM>
+</FONT>
+<BR>
+<HR>
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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"> <FONT CLASS="NavBarFont1">File</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+<B>P01, Javascript API Specification</B>
+</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" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="help-doc.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<FONT SIZE="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</FONT>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index-all.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index-all.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index-all.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,394 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<TITLE>
+Index ()
+</TITLE>
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+</HEAD>
+<SCRIPT>
+function asd()
+{
+parent.document.title="Index ()";
+}
+</SCRIPT>
+<BODY BGCOLOR="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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"> <FONT CLASS="NavBarFont1">File</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </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>
+<B>P01, Javascript API Specification</B>
+</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" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<!--
+ Listing of letters
+-->
+ <A HREF="index-all.html#__A__">A</A> <A HREF="index-all.html#__C__">C</A> <A HREF="index-all.html#__G__">G</A> <A HREF="index-all.html#__H__">H</A> <A HREF="index-all.html#__I__">I</A> <A HREF="index-all.html#__M__">M</A> <A HREF="index-all.html#__O__">O</A> <A HREF="index-all.html#__P__">P</A> <A HREF="index-all.html#__R__">R</A> <A HREF="index-all.html#__S__">S</A> <A HREF="index-all.html#__T__">T</A> <A HREF="index-all.html#__U__">U</A> <A HREF="index-all.html#__X__">X</A>
+<HR>
+<!-- End letter listing -->
+
+<A NAME="__A__"><!-- --></A><H2>
+<B>A</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#argString"><B>argString</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#async"><B>async</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__C__"><!-- --></A><H2>
+<B>C</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#callback"><B>callback</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#callbackArgs"><B>callbackArgs</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__G__"><!-- --></A><H2>
+<B>G</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#get"><B>get(callback, callbackArgs)</B></A> -
+Instance method in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="getXmlHttpRequest.html#"><B>getXmlHttpRequest</B></A> -
+ class <A HREF="getXmlHttpRequest.html">getXmlHttpRequest</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="getXmlHttpRequest.html#constructor_detail"><B>getXmlHttpRequest()</B></A> -
+Constructor in class <A HREF="getXmlHttpRequest.html">getXmlHttpRequest</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__H__"><!-- --></A><H2>
+<B>H</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#headers"><B>headers</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__I__"><!-- --></A><H2>
+<B>I</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#isAborted"><B>isAborted</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#isComplete"><B>isComplete</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#isInteractive"><B>isInteractive</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#isLoaded"><B>isLoaded</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#isLoading"><B>isLoading</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__M__"><!-- --></A><H2>
+<B>M</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#method"><B>method</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__O__"><!-- --></A><H2>
+<B>O</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#onComplete"><B>onComplete</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#onError"><B>onError</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#onInteractive"><B>onInteractive</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#onLoaded"><B>onLoaded</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#onLoading"><B>onLoading</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#onTimeout"><B>onTimeout</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__P__"><!-- --></A><H2>
+<B>P</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#parameters"><B>parameters</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#password"><B>password</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#post"><B>post(callback, callbackArgs)</B></A> -
+Instance method in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__R__"><!-- --></A><H2>
+<B>R</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#responseText"><B>responseText</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#responseXML"><B>responseXML</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__S__"><!-- --></A><H2>
+<B>S</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#setArguments"><B>setArguments(args)</B></A> -
+Instance method in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#setHeaders"><B>setHeaders(args)</B></A> -
+Instance method in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__T__"><!-- --></A><H2>
+<B>T</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#timeout"><B>timeout</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__U__"><!-- --></A><H2>
+<B>U</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#url"><B>url</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#username"><B>username</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<A NAME="__X__"><!-- --></A><H2>
+<B>X</B></H2>
+
+<DL>
+<DT><A HREF="XMLHttp.html#"><B>XMLHttp</B></A> -
+ class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#xmlhttp"><B>xmlhttp</B></A> -
+Instance field in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<DL>
+<DT><A HREF="XMLHttp.html#constructor_detail"><B>XMLHttp(url)</B></A> -
+Constructor in class <A HREF="XMLHttp.html">XMLHttp</A>
+<DD>
+</DL>
+
+<HR>
+
+<!--
+ Listing of letters
+-->
+ <A HREF="index-all.html#__A__">A</A> <A HREF="index-all.html#__C__">C</A> <A HREF="index-all.html#__G__">G</A> <A HREF="index-all.html#__H__">H</A> <A HREF="index-all.html#__I__">I</A> <A HREF="index-all.html#__M__">M</A> <A HREF="index-all.html#__O__">O</A> <A HREF="index-all.html#__P__">P</A> <A HREF="index-all.html#__R__">R</A> <A HREF="index-all.html#__S__">S</A> <A HREF="index-all.html#__T__">T</A> <A HREF="index-all.html#__U__">U</A> <A HREF="index-all.html#__X__">X</A>
+
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <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"> <FONT CLASS="NavBarFont1">File</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </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>
+<B>P01, Javascript API Specification</B>
+</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" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<FONT SIZE="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</FONT>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/index.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+<TITLE>
+Generated Javascript Documentation
+</TITLE>
+</HEAD>
+<FRAMESET cols="20%,80%">
+
+<FRAME src="allclasses-frame.html" name="packageFrame">
+
+<FRAME src="getXmlHttpRequest.html" name="classFrame">
+</FRAMESET>
+<NOFRAMES>
+<H2>
+Frame Alert</H2>
+
+<P>
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+<BR>
+Link to <A HREF="allclasses-frame.html">Non-frame version.</A></NOFRAMES>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/logo.gif
===================================================================
(Binary files differ)
Property changes on: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/logo.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary-xmlhttp.js.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary-xmlhttp.js.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary-xmlhttp.js.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,490 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
+<html>
+<head>
+<title>
+P01, Javascript API Specification Overview
+</title>
+<link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+<script>
+function asd() {
+
+ parent.document.title="xmlhttp.js Overview";
+
+}
+</script>
+</head>
+<body bgcolor="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<a name="navbar_top"><!-- --></a>
+<table border="0" width="100%" cellpadding="1" cellspacing="0">
+<tr>
+<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
+<a name="navbar_top_firstrow"><!-- --></a>
+<table border="0" cellpadding="0" cellspacing="3">
+ <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>File</b></font> </td>
+
+
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td>
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</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 bgcolor="#EEEEFF" align="right" valign="top">
+<em>
+<b>P01, Javascript API Specification</b></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" target="_top"><b>FRAMES</b></a>
+ <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
+
+<script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</script>
+<noscript>
+<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
+</noscript>
+</font></td>
+</tr>
+</table>
+<!-- =========== END OF NAVBAR =========== -->
+
+<hr>
+<center>
+
+ <h2>xmlhttp.js</h2>
+
+</center>
+
+
+
+
+<h4>Summary</h4>
+<p>
+
+ Cross browser XMLHttpRequest implementation
+ Make sure the response set the Header to 'no-cache'.
+
+ <BR/><BR/><B>Version: </B>Draft, not complete documented<BR/><BR/><B>Author:</B> Roger Ineichen dev at projekt01.ch
+ <BR/>
+
+</p>
+
+<hr>
+
+
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan=2><font size="+2">
+
+ <b>Class Summary</b>
+
+ </font></td>
+ </tr>
+
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%"><b><a href="getXmlHttpRequest.html">getXmlHttpRequest</a></b></td>
+ <td>This is a global helper function for a cross browser XMLHttpRequest object.</td>
+ </tr>
+
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%"><b><a href="XMLHttp.html">XMLHttp</a></b></td>
+ <td>This is the basic XMLHttp class.</td>
+ </tr>
+
+ </table>
+ <hr/>
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<!-- ========== END METHOD SUMMARY =========== -->
+
+
+ <pre class="sourceview"><span class="comment">//----------------------------------------------------------------------------</span>
+<span class="comment">/**
+ * <span class="attrib">@fileoverview</span> Cross browser XMLHttpRequest implementation
+ * Make sure the response set the Header to 'no-cache'.
+ *
+ * <span class="attrib">@author</span> Roger Ineichen dev<span class="attrib">@projekt01</span>.ch
+ * <span class="attrib">@version</span> Draft, not complete documented
+ */</span>
+<span class="comment">//----------------------------------------------------------------------------</span>
+
+<span class="comment">//----------------------------------------------------------------------------</span>
+<span class="comment">// public API</span>
+<span class="comment">//----------------------------------------------------------------------------</span>
+
+<span class="comment">/**
+ * Construct a new XMLHttp.
+ * <span class="attrib">@class</span> This is the basic XMLHttp class.
+ * <span class="attrib">@constructor</span>
+ * <span class="attrib">@param</span> {string} url URL pointing to the server
+ * <span class="attrib">@return</span> A new XMLHttp
+ */</span>
+<span class="reserved">function</span> XMLHttp(url) {
+ <span class="reserved">this</span>.url = url;
+ <span class="reserved">this</span>.method = <span class="literal">'GET'</span>;
+ <span class="reserved">this</span>.async = false;
+ <span class="reserved">this</span>.username = null;
+ <span class="reserved">this</span>.password = null;
+ <span class="reserved">this</span>.timeout = null;
+ <span class="reserved">this</span>.argString = <span class="literal">""</span>;
+ <span class="reserved">this</span>.parameters = new Array();
+ <span class="reserved">this</span>.headers = new Array();
+ <span class="reserved">this</span>.headers[<span class="literal">'Content-Type'</span>] = <span class="literal">'application/x-www-form-urlencoded'</span>
+
+ <span class="comment">/* internal status flags */</span>
+ <span class="reserved">this</span>.isAborted = false;
+ <span class="reserved">this</span>.isLoading = false;
+ <span class="reserved">this</span>.isLoaded = false;
+ <span class="reserved">this</span>.isInteractive = false;
+ <span class="reserved">this</span>.isComplete = false;
+
+ <span class="comment">/* event handlers (attached functions get called if readyState reached) */</span>
+ <span class="reserved">this</span>.onLoading = null; <span class="comment">// if readyState 1</span>
+ <span class="reserved">this</span>.onLoaded = null; <span class="comment">// if readyState 2</span>
+ <span class="reserved">this</span>.onInteractive = null; <span class="comment">// if readyState 3</span>
+ <span class="reserved">this</span>.onComplete = null; <span class="comment">// if readyState 4</span>
+ <span class="reserved">this</span>.onError = null; <span class="comment">// if readyState 4 and status != 200</span>
+ <span class="reserved">this</span>.onTimeout = null; <span class="comment">// if timeout reached</span>
+ <span class="reserved">this</span>.callback = null; <span class="comment">// if readyState 4 and status == 200</span>
+ <span class="reserved">this</span>.callbackArgs = null;
+
+ <span class="comment">/* response variables */</span>
+ <span class="reserved">this</span>.responseText = null;
+ <span class="reserved">this</span>.responseXML = null;
+
+ <span class="comment">/* setup the xmlhttp request now */</span>
+ <span class="reserved">this</span>.xmlhttp = getXmlHttpRequest()
+}
+
+<span class="comment">/**
+ * Set the header information for the XMLHttp instance.
+ * <span class="attrib">@param</span> {array} args of key, value
+ */</span>
+XMLHttp.<span class="reserved">prototype</span>.setHeaders = <span class="reserved">function</span>(args) {
+ <span class="reserved">for</span> (var i in args) {
+ <span class="reserved">this</span>.headers[i] = args[i];
+ }
+}
+
+<span class="comment">/**
+ * Set the arguments for the request or the XMLHttp instance.
+ * <span class="attrib">@param</span> {array} args of key, value
+ */</span>
+XMLHttp.<span class="reserved">prototype</span>.setArguments = <span class="reserved">function</span>(args) {
+ <span class="reserved">for</span> (var i in args) {
+ <span class="comment">// set parameter to the xmlhttp instance or to the parameter array</span>
+ <span class="reserved">if</span> (typeof(<span class="reserved">this</span>[i])==<span class="literal">"undefined"</span>) {
+ <span class="reserved">this</span>.parameters[i] = args[i];
+ }
+ <span class="reserved">else</span> {
+ <span class="reserved">this</span>[i] = args[i];
+ }
+ }
+}
+
+<span class="comment">/**
+ * Process a 'POST' request.
+ * <span class="attrib">@param</span> {function} callback callback funtion
+ * <span class="attrib">@param</span> {array} callbackArgs callback arguments
+ */</span>
+XMLHttp.<span class="reserved">prototype</span>.post = <span class="reserved">function</span>(callback, callbackArgs) {
+ <span class="reserved">this</span>.method = <span class="literal">'POST'</span>;
+ <span class="reserved">this</span>.async = false;
+ <span class="reserved">if</span> (typeof(callback)==<span class="literal">"function"</span>) {
+ <span class="reserved">this</span>.callback = callback;
+ <span class="reserved">this</span>.async = true
+ }
+ <span class="reserved">if</span> (typeof(callbackArgs)!=<span class="literal">"undefined"</span>) {
+ <span class="reserved">this</span>.callbackArgs = callbackArgs;
+ }
+ <span class="reserved">if</span> (<span class="reserved">this</span>.async) {
+ <span class="reserved">this</span>.process();
+ }
+ <span class="reserved">else</span> {
+ <span class="reserved">return</span> <span class="reserved">this</span>.process();
+ }
+}
+
+<span class="comment">/**
+ * Process a 'GET' request.
+ * <span class="attrib">@param</span> {function} callback callback funtion
+ * <span class="attrib">@param</span> {array} callbackArgs callback arguments
+ */</span>
+XMLHttp.<span class="reserved">prototype</span>.get = <span class="reserved">function</span>(callback, callbackArgs) {
+ <span class="reserved">this</span>.method = <span class="literal">'GET'</span>;
+ <span class="reserved">this</span>.async = false;
+ <span class="reserved">if</span> (typeof(callback)==<span class="literal">"function"</span>) {
+ <span class="reserved">this</span>.callback = callback;
+ <span class="reserved">this</span>.async = true
+ }
+ <span class="reserved">if</span> (typeof(callbackArgs)!=<span class="literal">"undefined"</span>) {
+ <span class="reserved">this</span>.callbackArgs = callbackArgs;
+ }
+ <span class="reserved">if</span> (<span class="reserved">this</span>.async) {
+ <span class="reserved">this</span>.process();
+ }
+ <span class="reserved">else</span> {
+ <span class="reserved">return</span> <span class="reserved">this</span>.process();
+ }
+}
+
+
+<span class="comment">//----------------------------------------------------------------------------</span>
+<span class="comment">// helper methods (can be used directly if you need enhanced access, but the </span>
+<span class="comment">// method post and get are the prefered methods for processing a request.) </span>
+<span class="comment">//----------------------------------------------------------------------------</span>
+
+<span class="comment">/** <span class="attrib">@private</span> */</span>
+XMLHttp.<span class="reserved">prototype</span>.process = <span class="reserved">function</span>() {
+
+ <span class="reserved">if</span> (!<span class="reserved">this</span>.xmlhttp) <span class="reserved">return</span> false;
+
+ var self = <span class="reserved">this</span>;
+ <span class="reserved">this</span>.xmlhttp.onreadystatechange = <span class="reserved">function</span>() {
+ <span class="reserved">if</span> (self.xmlhttp == null) { <span class="reserved">return</span>; }
+ <span class="reserved">if</span> (self.xmlhttp.readyState == 1) { self._doLoading(self); }
+ <span class="reserved">if</span> (self.xmlhttp.readyState == 2) { self._doLoaded(self); }
+ <span class="reserved">if</span> (self.xmlhttp.readyState == 3) { self._doInteractive(self); }
+ <span class="reserved">if</span> (self.xmlhttp.readyState == 4) { self._doComplete(self); }
+ };
+
+ try {
+ var args = null;
+ <span class="reserved">for</span> (var i in <span class="reserved">this</span>.parameters) {
+ <span class="reserved">if</span> (<span class="reserved">this</span>.argString.length>0) { <span class="reserved">this</span>.argString += <span class="literal">"&"</span>; }
+ <span class="reserved">this</span>.argString += encodeURIComponent(i) + <span class="literal">"="</span> + encodeURIComponent(<span class="reserved">this</span>.parameters[i]);
+ }
+ <span class="reserved">if</span> (<span class="reserved">this</span>.method == <span class="literal">"GET"</span>) {
+ <span class="reserved">if</span> (<span class="reserved">this</span>.argString.length>0) {
+ <span class="reserved">this</span>.url += ((<span class="reserved">this</span>.url.indexOf(<span class="literal">"?"</span>)>-1)?<span class="literal">"&"</span>:<span class="literal">"?"</span>) + <span class="reserved">this</span>.argString;
+ }
+ <span class="reserved">this</span>.xmlhttp.open(<span class="reserved">this</span>.method, <span class="reserved">this</span>.url, <span class="reserved">this</span>.async);
+ }
+ <span class="reserved">if</span> (<span class="reserved">this</span>.method == <span class="literal">"POST"</span>) {
+ <span class="reserved">this</span>.xmlhttp.open(<span class="reserved">this</span>.method, <span class="reserved">this</span>.url, <span class="reserved">this</span>.async, <span class="reserved">this</span>.username, <span class="reserved">this</span>.password);
+ args = <span class="reserved">this</span>.argString;
+ }
+ <span class="reserved">if</span> (typeof(<span class="reserved">this</span>.xmlhttp.setRequestHeader)!=<span class="literal">"undefined"</span> && <span class="reserved">this</span>.xmlhttp.readyState == 1) {
+ <span class="reserved">for</span> (var i in <span class="reserved">this</span>.headers) {
+ <span class="reserved">this</span>.xmlhttp.setRequestHeader(i, <span class="reserved">this</span>.headers[i]);
+ }
+ }
+ <span class="reserved">if</span> (<span class="reserved">this</span>.timeout > 0) {
+ setTimeout(<span class="reserved">this</span>._doTimeout, <span class="reserved">this</span>.timeout);
+ }
+ <span class="reserved">this</span>.xmlhttp.send(args);
+ }
+ catch(z) { <span class="reserved">return</span> false; }
+ <span class="comment">/* on async call we return false and on sync calls we return the xmlhttp request */</span>
+ <span class="reserved">if</span> (<span class="reserved">this</span>.async) {
+ <span class="reserved">return</span> false;
+ }
+ <span class="reserved">else</span> {
+ <span class="reserved">return</span> <span class="reserved">this</span>.xmlhttp;
+ }
+}
+
+
+<span class="comment">//----------------------------------------------------------------------------</span>
+<span class="comment">// helper methods (can be used as a standalone cross browser xmlhttp request)</span>
+<span class="comment">//----------------------------------------------------------------------------</span>
+
+<span class="comment">/**
+ * Global helper function for a cross browser XMLHttpRequest object.
+ * <span class="attrib">@class</span> This is a global helper function for a cross browser XMLHttpRequest object.
+ * <span class="attrib">@constructor</span>
+ * <span class="attrib">@return</span> A XMLHttpRequest instance for gecko browsers and a ActiveXObjecct
+ * for ie browsers. Unsuported browsers get null returned.
+ */</span>
+getXmlHttpRequest = <span class="reserved">function</span>() {
+ <span class="reserved">if</span> (window.XMLHttpRequest) {
+ var req = new XMLHttpRequest();
+ <span class="comment">// some older versions of Moz did not support the readyState property</span>
+ <span class="comment">// and the onreadystate event so we patch it!</span>
+ <span class="reserved">if</span> (req.readyState == null) {
+ req.readyState = 1;
+ req.addEventListener(<span class="literal">"load"</span>, <span class="reserved">function</span> () {
+ req.readyState = 4;
+ <span class="reserved">if</span> (typeof req.onreadystatechange == <span class="literal">"function"</span>) {
+ req.onreadystatechange();
+ }
+ }, false);
+ }
+ <span class="reserved">return</span> req;
+ }
+ <span class="reserved">else</span> <span class="reserved">if</span> (window.ActiveXObject) {
+ var MSXML_XMLHTTP_IDS = new Array(
+ <span class="literal">"MSXML2.XMLHTTP.5.0"</span>,
+ <span class="literal">"MSXML2.XMLHTTP.4.0"</span>,
+ <span class="literal">"MSXML2.XMLHTTP.3.0"</span>,
+ <span class="literal">"MSXML2.XMLHTTP"</span>,
+ <span class="literal">"Microsoft.XMLHTTP"</span>);
+ var success = false;
+ <span class="reserved">for</span> (var i = 0; i < MSXML_XMLHTTP_IDS.length && !success; i++) {
+ try {
+ <span class="reserved">return</span> new ActiveXObject(MSXML_XMLHTTP_IDS[i]);
+ success = true;
+ } catch (e) {}
+ }
+ }
+ <span class="reserved">else</span> {
+ <span class="reserved">return</span> null;
+ }
+}
+
+
+<span class="comment">//----------------------------------------------------------------------------</span>
+<span class="comment">// built in helper methods</span>
+<span class="comment">//----------------------------------------------------------------------------</span>
+
+<span class="comment">/** <span class="attrib">@private</span> */</span>
+XMLHttp.<span class="reserved">prototype</span>._doLoading = <span class="reserved">function</span>(self) {
+ <span class="reserved">if</span> (self.isLoading) { <span class="reserved">return</span>; }
+ <span class="reserved">if</span> (typeof(self.onLoading)==<span class="literal">"function"</span>) {
+ self.onLoading(self.xmlhttp);
+ }
+ self.isLoading = true;
+}
+
+<span class="comment">/** <span class="attrib">@private</span> */</span>
+XMLHttp.<span class="reserved">prototype</span>._doLoaded = <span class="reserved">function</span>(self) {
+ <span class="reserved">if</span> (self.isLoaded) { <span class="reserved">return</span>; }
+ <span class="reserved">if</span> (typeof(self.onLoaded)==<span class="literal">"function"</span>) {
+ self.onLoaded(self.xmlhttp);
+ }
+ self.isLoaded = true;
+}
+
+<span class="comment">/** <span class="attrib">@private</span> */</span>
+XMLHttp.<span class="reserved">prototype</span>._doInteractive = <span class="reserved">function</span>(self) {
+ <span class="reserved">if</span> (self.isInteractive) { <span class="reserved">return</span>; }
+ <span class="reserved">if</span> (typeof(self.onInteractive)==<span class="literal">"function"</span>) {
+ self.onInteractive(self.xmlhttp);
+ }
+ self.isInteractive = true;
+}
+
+<span class="comment">/** <span class="attrib">@private</span> */</span>
+XMLHttp.<span class="reserved">prototype</span>._doComplete = <span class="reserved">function</span>(self) {
+ <span class="reserved">if</span> (self.isComplete || self.isAborted) { <span class="reserved">return</span>; }
+ self.isComplete = true;
+ self.status = self.xmlhttp.status;
+ self.statusText = self.xmlhttp.statusText;
+ self.responseText = self.xmlhttp.responseText;
+ self.responseXML = self.xmlhttp.responseXML;
+ <span class="reserved">if</span> (typeof(self.onComplete)==<span class="literal">"function"</span>) {
+ self.onComplete(self.xmlhttp);
+ }
+ <span class="reserved">if</span> (self.xmlhttp.status==200 && typeof(self.callback)==<span class="literal">"function"</span>) {
+ <span class="reserved">if</span> (self.callbackArgs) {
+ self.callback(self.xmlhttp, self.callbackArgs);
+ }
+ <span class="reserved">else</span> {
+ self.callback(self.xmlhttp);
+ }
+ }
+ <span class="reserved">if</span> (self.xmlhttp.status!=200 && typeof(self.onError)==<span class="literal">"function"</span>) {
+ self.onError(self.xmlhttp);
+ }
+ <span class="reserved">if</span> (self.async) {
+ <span class="comment">// on async calls, clean up so IE doesn't leak memory</span>
+ delete self.xmlhttp[<span class="literal">'onreadystatechange'</span>];
+ self.xmlhttp = null;
+ }
+}
+
+<span class="comment">/** <span class="attrib">@private</span> */</span>
+XMLHttp.<span class="reserved">prototype</span>._doTimeout = <span class="reserved">function</span>(self) {
+ <span class="reserved">if</span> (self.xmlhttp!=null && !self.isComplete) {
+ self.xmlhttp.abort();
+ self.isAborted = true;
+ <span class="reserved">if</span> (typeof(self.onTimeout)==<span class="literal">"function"</span>) {
+ self.onTimeout(self.xmlhttp);
+ }
+ <span class="comment">// Opera won't fire onreadystatechange after abort, but other browsers do. </span>
+ <span class="comment">// So we can't rely on the onreadystate function getting called. </span>
+ <span class="comment">// Clean up here!</span>
+ delete self.xmlhttp[<span class="literal">'onreadystatechange'</span>];
+ self.xmlhttp = null;
+ }
+}
+</pre>
+ <hr>
+
+
+
+<!-- ========== START OF NAVBAR ========== -->
+<a name="navbar_top"><!-- --></a>
+<table border="0" width="100%" cellpadding="1" cellspacing="0">
+<tr>
+<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
+<a name="navbar_top_firstrow"><!-- --></a>
+<table border="0" cellpadding="0" cellspacing="3">
+ <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>File</b></font> </td>
+
+
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td>
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</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 bgcolor="#EEEEFF" align="right" valign="top"><em>
+<b>P01, Javascript API Specification</b></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" target="_top"><b>FRAMES</b></a>
+ <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
+
+<script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</script>
+<noscript>
+<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
+</noscript>
+</font></td>
+</tr>
+</table>
+<!-- =========== END OF NAVBAR =========== -->
+
+<hr>
+<font size="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</font>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</body>
+</html>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-summary.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,184 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
+<html>
+<head>
+<title>
+P01, Javascript API Specification Overview
+</title>
+<link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+<script>
+function asd() {
+
+ parent.document.title="P01, Javascript API Specification Overview";
+
+}
+</script>
+</head>
+<body bgcolor="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<a name="navbar_top"><!-- --></a>
+<table border="0" width="100%" cellpadding="1" cellspacing="0">
+<tr>
+<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
+<a name="navbar_top_firstrow"><!-- --></a>
+<table border="0" cellpadding="0" cellspacing="3">
+ <tr align="center" valign="top">
+
+
+ <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> <font class="NavBarFont1Rev"><b>Overview</b></font> </td>
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <font class="NavBarFont1">File</font> </td>
+
+
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td>
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</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 bgcolor="#EEEEFF" align="right" valign="top">
+<em>
+<b>P01, Javascript API Specification</b></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" target="_top"><b>FRAMES</b></a>
+ <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
+
+<script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</script>
+<noscript>
+<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
+</noscript>
+</font></td>
+</tr>
+</table>
+<!-- =========== END OF NAVBAR =========== -->
+
+<hr>
+<center>
+
+ <h2>P01, Javascript API Specification</h2>
+
+</center>
+
+
+ <p>
+ This document is the API Specification for
+ P01, Javascript API Specification.
+ </p>
+
+
+
+<h4>Summary</h4>
+<p>
+
+ <html>
+<head>
+<title>P01, JavaScript documentation</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+<body>
+<div style="color: red;">TODO: The javascript API summary has to be written.</div>
+Draft version, the documentation is not complet because the documentation tags has to be written.
+</body>
+</html>
+
+
+</p>
+
+<hr>
+
+
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan=2><font size="+2">
+
+ <b>File Summary</b>
+
+ </font></td>
+ </tr>
+
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%"><b><a href="overview-summary-xmlhttp.js.html">xmlhttp.js</a></b></td>
+ <td>Cross browser XMLHttpRequest implementation
+ Make sure the response set the Header to 'no-cache'.</td>
+ </tr>
+
+ </table>
+ <hr/>
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<!-- ========== END METHOD SUMMARY =========== -->
+
+
+
+
+<!-- ========== START OF NAVBAR ========== -->
+<a name="navbar_top"><!-- --></a>
+<table border="0" width="100%" cellpadding="1" cellspacing="0">
+<tr>
+<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
+<a name="navbar_top_firstrow"><!-- --></a>
+<table border="0" cellpadding="0" cellspacing="3">
+ <tr align="center" valign="top">
+
+
+ <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> <font class="NavBarFont1Rev"><b>Overview</b></font> </td>
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <font class="NavBarFont1">File</font> </td>
+
+
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font> </td>
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</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 bgcolor="#EEEEFF" align="right" valign="top"><em>
+<b>P01, Javascript API Specification</b></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" target="_top"><b>FRAMES</b></a>
+ <a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
+
+<script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</script>
+<noscript>
+<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
+</noscript>
+</font></td>
+</tr>
+</table>
+<!-- =========== END OF NAVBAR =========== -->
+
+<hr>
+<font size="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</font>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</body>
+</html>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-tree.html
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-tree.html (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/overview-tree.html 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<TITLE>
+P01, Javascript API Specification Class Hierarchy
+</TITLE>
+<LINK REL="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+<SCRIPT>
+function asd()
+{
+parent.document.title="P01, Javascript API Specification Class Hierarchy";
+}
+</SCRIPT>
+</HEAD>
+<BODY BGCOLOR="white" onload="asd();">
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1"><A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><b>Overview</b></A></FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><b>Tree</b></FONT> </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 BGCOLOR="#FFFFFF" ALIGN="right" VALIGN="top"><EM>
+<B>P01, Javascript API Specification</B></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" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="overview-summary.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<HR>
+<H2>Class Hierarchy</H2>
+
+<UL><LI TYPE="circle">Object</LI><UL>
+ <LI TYPE="circle">
+ <A HREF="getXmlHttpRequest.html">
+ <B>getXmlHttpRequest</B></A></LI>
+
+ <LI TYPE="circle">
+ <A HREF="XMLHttp.html">
+ <B>XMLHttp</B></A></LI>
+ </UL></UL>
+
+<HR>
+
+<!-- ========== START OF NAVBAR ========== -->
+<A NAME="navbar_top"><!-- --></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1"><A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><b>Overview</b></A></FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">File</FONT> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><b>Tree</b></FONT> </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 BGCOLOR="#FFFFFF" ALIGN="right" VALIGN="top"><EM>
+<B>P01, Javascript API Specification</B></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" TARGET="_top"><B>FRAMES</B></A>
+ <A HREF="overview-summary.html" TARGET="_top"><B>NO FRAMES</B></A>
+
+<SCRIPT>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
+</NOSCRIPT>
+</FONT></TD>
+</TR>
+</TABLE>
+<!-- =========== END OF NAVBAR =========== -->
+
+<hr>
+<FONT SIZE="-1">
+<div>Copyright © 2007 by Projekt01 GmbH</div>
+</FONT>
+<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" parent="_parent">JSDoc</a> on Tue May 15 17:17:03 2007</div>
+</BODY>
+</HTML>
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/stylesheet.css
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/stylesheet.css (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc/stylesheet.css 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,39 @@
+/* JSDoc style sheet */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF }
+
+/* Table colors */
+.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
+.TableRowColor { background: #FFFFFF } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont { font-size: 10pt; font-family: Helvetica, Arial, san-serif }
+.FrameHeadingFont { font-size: 10pt; font-family: Helvetica, Arial, san-serif }
+.FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, san-serif }
+
+/* Example of smaller, sans-serif font in frames */
+/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
+
+/* Navigation bar fonts and colors */
+.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */
+.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+
+.jsdoc_ctime { font-family: Arial, Helvetica, sans-serif; font-size: 9pt;
+ text-align: right }
+
+/* Sourcecode view */
+.sourceview { background: #FFFFFF }
+.attrib { color: #DD7777 }
+.comment { color: #55AA55 }
+.reserved { color: #FF5555 }
+.literal { color: #5555FF }
+
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc.bat
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc.bat (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/jsdoc.bat 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,8 @@
+ at echo off
+set args=--directory .\jsdoc
+set args=%args% --logo ..\..\jsdoc\logo.gif
+set args=%args% --page-footer "<div>Copyright © 2007 by Projekt01 GmbH</div>"
+set args=%args% --project-name "P01, Javascript API Specification"
+set args=%args% --project-summary ..\..\jsdoc\summary.html
+set src=.
+perl ..\..\jsdoc\source\jsdoc.pl -r %args% %src%
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/layer.py
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/layer.py (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/layer.py 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,23 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+$Id: layer.py 197 2007-04-13 05:03:32Z rineichen $
+"""
+__docformat__ = "reStructuredText"
+
+from zope.publisher.interfaces.browser import IBrowserRequest
+
+
+class IXMLHTTPBrowserLayer(IBrowserRequest):
+ """The XMLHTTP request layer."""
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/p01.xmlhttp-configure.zcml
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/p01.xmlhttp-configure.zcml (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/p01.xmlhttp-configure.zcml 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1 @@
+<include package="p01.xmlhttp" />
Added: p01.xmlhttp/trunk/src/p01/xmlhttp/xmlhttp.js
===================================================================
--- p01.xmlhttp/trunk/src/p01/xmlhttp/xmlhttp.js (rev 0)
+++ p01.xmlhttp/trunk/src/p01/xmlhttp/xmlhttp.js 2007-05-15 15:27:46 UTC (rev 75766)
@@ -0,0 +1,310 @@
+//----------------------------------------------------------------------------
+/**
+ * @fileoverview Cross browser XMLHttpRequest implementation
+ * Make sure the response set the Header to 'no-cache'.
+ *
+ * @author Roger Ineichen dev at projekt01.ch
+ * @version Draft, not complete documented
+ */
+//----------------------------------------------------------------------------
+
+//----------------------------------------------------------------------------
+// public API
+//----------------------------------------------------------------------------
+
+/**
+ * Construct a new XMLHttp.
+ * @class This is the basic XMLHttp class.
+ * @constructor
+ * @param {string} url URL pointing to the server
+ * @return A new XMLHttp
+ */
+function XMLHttp(url) {
+ this.url = url;
+ this.method = 'GET';
+ this.async = false;
+ this.username = null;
+ this.password = null;
+ this.timeout = null;
+ this.argString = "";
+ this.parameters = new Array();
+ this.headers = new Array();
+ this.headers['Content-Type'] = 'application/x-www-form-urlencoded'
+
+ /* internal status flags */
+ this.isAborted = false;
+ this.isLoading = false;
+ this.isLoaded = false;
+ this.isInteractive = false;
+ this.isComplete = false;
+
+ /* event handlers (attached functions get called if readyState reached) */
+ this.onLoading = null; // if readyState 1
+ this.onLoaded = null; // if readyState 2
+ this.onInteractive = null; // if readyState 3
+ this.onComplete = null; // if readyState 4
+ this.onError = null; // if readyState 4 and status != 200
+ this.onTimeout = null; // if timeout reached
+ this.callback = null; // if readyState 4 and status == 200
+ this.callbackArgs = null;
+
+ /* response variables */
+ this.responseText = null;
+ this.responseXML = null;
+
+ /* setup the xmlhttp request now */
+ this.xmlhttp = getXmlHttpRequest()
+}
+
+/**
+ * Set the header information for the XMLHttp instance.
+ * @param {array} args of key, value
+ */
+XMLHttp.prototype.setHeaders = function(args) {
+ for (var i in args) {
+ this.headers[i] = args[i];
+ }
+}
+
+/**
+ * Set the arguments for the request or the XMLHttp instance.
+ * @param {array} args of key, value
+ */
+XMLHttp.prototype.setArguments = function(args) {
+ for (var i in args) {
+ // set parameter to the xmlhttp instance or to the parameter array
+ if (typeof(this[i])=="undefined") {
+ this.parameters[i] = args[i];
+ }
+ else {
+ this[i] = args[i];
+ }
+ }
+}
+
+/**
+ * Process a 'POST' request.
+ * @param {function} callback callback funtion
+ * @param {array} callbackArgs callback arguments
+ */
+XMLHttp.prototype.post = function(callback, callbackArgs) {
+ this.method = 'POST';
+ this.async = false;
+ if (typeof(callback)=="function") {
+ this.callback = callback;
+ this.async = true
+ }
+ if (typeof(callbackArgs)!="undefined") {
+ this.callbackArgs = callbackArgs;
+ }
+ if (this.async) {
+ this.process();
+ }
+ else {
+ return this.process();
+ }
+}
+
+/**
+ * Process a 'GET' request.
+ * @param {function} callback callback funtion
+ * @param {array} callbackArgs callback arguments
+ */
+XMLHttp.prototype.get = function(callback, callbackArgs) {
+ this.method = 'GET';
+ this.async = false;
+ if (typeof(callback)=="function") {
+ this.callback = callback;
+ this.async = true
+ }
+ if (typeof(callbackArgs)!="undefined") {
+ this.callbackArgs = callbackArgs;
+ }
+ if (this.async) {
+ this.process();
+ }
+ else {
+ return this.process();
+ }
+}
+
+
+//----------------------------------------------------------------------------
+// helper methods (can be used directly if you need enhanced access, but the
+// method post and get are the prefered methods for processing a request.)
+//----------------------------------------------------------------------------
+
+/** @private */
+XMLHttp.prototype.process = function() {
+
+ if (!this.xmlhttp) return false;
+
+ var self = this;
+ this.xmlhttp.onreadystatechange = function() {
+ if (self.xmlhttp == null) { return; }
+ if (self.xmlhttp.readyState == 1) { self._doLoading(self); }
+ if (self.xmlhttp.readyState == 2) { self._doLoaded(self); }
+ if (self.xmlhttp.readyState == 3) { self._doInteractive(self); }
+ if (self.xmlhttp.readyState == 4) { self._doComplete(self); }
+ };
+
+ try {
+ var args = null;
+ for (var i in this.parameters) {
+ if (this.argString.length>0) { this.argString += "&"; }
+ this.argString += encodeURIComponent(i) + "=" + encodeURIComponent(this.parameters[i]);
+ }
+ if (this.method == "GET") {
+ if (this.argString.length>0) {
+ this.url += ((this.url.indexOf("?")>-1)?"&":"?") + this.argString;
+ }
+ this.xmlhttp.open(this.method, this.url, this.async);
+ }
+ if (this.method == "POST") {
+ this.xmlhttp.open(this.method, this.url, this.async, this.username, this.password);
+ args = this.argString;
+ }
+ if (typeof(this.xmlhttp.setRequestHeader)!="undefined" && this.xmlhttp.readyState == 1) {
+ for (var i in this.headers) {
+ this.xmlhttp.setRequestHeader(i, this.headers[i]);
+ }
+ }
+ if (this.timeout > 0) {
+ setTimeout(this._doTimeout, this.timeout);
+ }
+ this.xmlhttp.send(args);
+ }
+ catch(z) { return false; }
+ /* on async call we return false and on sync calls we return the xmlhttp request */
+ if (this.async) {
+ return false;
+ }
+ else {
+ return this.xmlhttp;
+ }
+}
+
+
+//----------------------------------------------------------------------------
+// helper methods (can be used as a standalone cross browser xmlhttp request)
+//----------------------------------------------------------------------------
+
+/**
+ * Global helper function for a cross browser XMLHttpRequest object.
+ * @class This is a global helper function for a cross browser XMLHttpRequest object.
+ * @constructor
+ * @return A XMLHttpRequest instance for gecko browsers and a ActiveXObjecct
+ * for ie browsers. Unsuported browsers get null returned.
+ */
+getXmlHttpRequest = function() {
+ if (window.XMLHttpRequest) {
+ var req = new XMLHttpRequest();
+ // some older versions of Moz did not support the readyState property
+ // and the onreadystate event so we patch it!
+ if (req.readyState == null) {
+ req.readyState = 1;
+ req.addEventListener("load", function () {
+ req.readyState = 4;
+ if (typeof req.onreadystatechange == "function") {
+ req.onreadystatechange();
+ }
+ }, false);
+ }
+ return req;
+ }
+ else if (window.ActiveXObject) {
+ var MSXML_XMLHTTP_IDS = new Array(
+ "MSXML2.XMLHTTP.5.0",
+ "MSXML2.XMLHTTP.4.0",
+ "MSXML2.XMLHTTP.3.0",
+ "MSXML2.XMLHTTP",
+ "Microsoft.XMLHTTP");
+ var success = false;
+ for (var i = 0; i < MSXML_XMLHTTP_IDS.length && !success; i++) {
+ try {
+ return new ActiveXObject(MSXML_XMLHTTP_IDS[i]);
+ success = true;
+ } catch (e) {}
+ }
+ }
+ else {
+ return null;
+ }
+}
+
+
+//----------------------------------------------------------------------------
+// built in helper methods
+//----------------------------------------------------------------------------
+
+/** @private */
+XMLHttp.prototype._doLoading = function(self) {
+ if (self.isLoading) { return; }
+ if (typeof(self.onLoading)=="function") {
+ self.onLoading(self.xmlhttp);
+ }
+ self.isLoading = true;
+}
+
+/** @private */
+XMLHttp.prototype._doLoaded = function(self) {
+ if (self.isLoaded) { return; }
+ if (typeof(self.onLoaded)=="function") {
+ self.onLoaded(self.xmlhttp);
+ }
+ self.isLoaded = true;
+}
+
+/** @private */
+XMLHttp.prototype._doInteractive = function(self) {
+ if (self.isInteractive) { return; }
+ if (typeof(self.onInteractive)=="function") {
+ self.onInteractive(self.xmlhttp);
+ }
+ self.isInteractive = true;
+}
+
+/** @private */
+XMLHttp.prototype._doComplete = function(self) {
+ if (self.isComplete || self.isAborted) { return; }
+ self.isComplete = true;
+ self.status = self.xmlhttp.status;
+ self.statusText = self.xmlhttp.statusText;
+ self.responseText = self.xmlhttp.responseText;
+ self.responseXML = self.xmlhttp.responseXML;
+ if (typeof(self.onComplete)=="function") {
+ self.onComplete(self.xmlhttp);
+ }
+ if (self.xmlhttp.status==200 && typeof(self.callback)=="function") {
+ if (self.callbackArgs) {
+ self.callback(self.xmlhttp, self.callbackArgs);
+ }
+ else {
+ self.callback(self.xmlhttp);
+ }
+ }
+ if (self.xmlhttp.status!=200 && typeof(self.onError)=="function") {
+ self.onError(self.xmlhttp);
+ }
+ if (self.async) {
+ // on async calls, clean up so IE doesn't leak memory
+ delete self.xmlhttp['onreadystatechange'];
+ self.xmlhttp = null;
+ }
+}
+
+/** @private */
+XMLHttp.prototype._doTimeout = function(self) {
+ if (self.xmlhttp!=null && !self.isComplete) {
+ self.xmlhttp.abort();
+ self.isAborted = true;
+ if (typeof(self.onTimeout)=="function") {
+ self.onTimeout(self.xmlhttp);
+ }
+ // Opera won't fire onreadystatechange after abort, but other browsers do.
+ // So we can't rely on the onreadystate function getting called.
+ // Clean up here!
+ delete self.xmlhttp['onreadystatechange'];
+ self.xmlhttp = null;
+ }
+}
More information about the Checkins
mailing list