<commit_before><?xml version="1.0"?>

<document>
  <properties>
    <title>Types</title>
    <author email="<EMAIL>"><NAME></author>
  </properties>

  <body>
    <section name="Type Mapping between XML-RPC and Java">
      <p>
      The following table explains how data types are converted between their XML-RPC
representation and Java.

Note that the automatic invocation mechanism expects your classes to take the
primitive data types as input parameters. If your class defines any other types
as input parameters (including java.lang.Integer, long, float), that
method won't be usable from XML-RPC unless you write your own handler.

For return values, both the primitive types and their wrapper classes work fine.

<table border="1" cellpadding="5">
<tr>
<td><b>XML-RPC data type</b></td>
<td><b>Data Types generated by the Parser</b></td>
<td><b>Types expected by the Invoker as input parameters of RPC handlers</b></td>
</tr>
<tr>
<td>&lt;i4> or &lt;int></td>
<td>java.lang.Integer</td>
<td><font color="#000000">int</font></td>
</tr>
<tr>
<td>&lt;boolean></td>
<td>java.lang.Boolean</td>
<td><font color="#000000">boolean</font></td>
</tr>
<tr>
<td>&lt;string></td>
<td>java.lang.String</td>
<td>java.lang.String</td>
</tr>
<tr>
<td>&lt;double></td>
<td>java.lang.Double</td>
<td><font color="#000000">double</font></td>
</tr>
<tr>
<td>&lt;dateTime.iso8601></td>
<td>java.util.Date</td>
<td>java.util.Date</td>
</tr>
<tr>
<td>&lt;struct></td>
<td>java.util.Hashtable</td>
<td>java.util.Hashtable</td>
</tr>
<tr>
<td>&lt;array></td>
<td>java.util.Vector</td>
<td>java.util.Vector</td>
</tr>
<tr>
<td>&lt;base64></td>
<td>byte[ ]</td>
<td>byte[ ]</td>
</tr>
</table>
      </p>
    </section>
  </body>
</document>

<!--



--><commit_msg>Added link and some cleanup.<commit_after><?xml version="1.0"?>

<document>
  <properties>
    <title>Types</title>
    <author email="<EMAIL>"><NAME></author>
  </properties>

  <body>
    <section name="Type Mapping between XML-RPC and Java">
      <p>
      The following table explains how data types are converted between their <a href="http://www.xmlrpc.com/spec">XML-RPC
representation</a> and Java.</p>

<p>Note that the automatic invocation mechanism expects your classes to take the
primitive data types as input parameters. If your class defines any other types
as input parameters (including java.lang.Integer, long, float), that
method won't be usable from XML-RPC unless you write your own handler.</p>

<p>For return values, both the primitive types and their wrapper classes work fine.</p>

<table border="1" cellpadding="5">
<tr>
<td><b>XML-RPC data type</b></td>
<td><b>Data Types generated by the Parser</b></td>
<td><b>Types expected by the Invoker as input parameters of RPC handlers</b></td>
</tr>
<tr>
<td>&lt;i4> or &lt;int></td>
<td>java.lang.Integer</td>
<td><font color="#000000">int</font></td>
</tr>
<tr>
<td>&lt;boolean></td>
<td>java.lang.Boolean</td>
<td><font color="#000000">boolean</font></td>
</tr>
<tr>
<td>&lt;string></td>
<td>java.lang.String</td>
<td>java.lang.String</td>
</tr>
<tr>
<td>&lt;double></td>
<td>java.lang.Double</td>
<td><font color="#000000">double</font></td>
</tr>
<tr>
<td>&lt;dateTime.iso8601></td>
<td>java.util.Date</td>
<td>java.util.Date</td>
</tr>
<tr>
<td>&lt;struct></td>
<td>java.util.Hashtable</td>
<td>java.util.Hashtable</td>
</tr>
<tr>
<td>&lt;array></td>
<td>java.util.Vector</td>
<td>java.util.Vector</td>
</tr>
<tr>
<td>&lt;base64></td>
<td>byte[ ]</td>
<td>byte[ ]</td>
</tr>
</table>

    </section>
  </body>
</document>

<!--



-->
{'fraction_non_alphanumeric': 0.21344206974128235, 'fraction_numerical': 0.016310461192350956, 'mean_word_length': 4.709470304975923, 'pattern_counts': {'":': 0, '<': 217, '<?xml version=': 2, '>': 235, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6294923', 'n_tokens_mistral': 1381, 'n_tokens_neox': 1327, 'n_words': 338}