http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/1b5bde65/content/site/apidocs/org/apache/juneau/ObjectMap.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/ObjectMap.html b/content/site/apidocs/org/apache/juneau/ObjectMap.html index 0878ed7..38e7c27 100644 --- a/content/site/apidocs/org/apache/juneau/ObjectMap.html +++ b/content/site/apidocs/org/apache/juneau/ObjectMap.html @@ -131,18 +131,19 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public class <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.101">ObjectMap</a> +<pre>public class <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.103">ObjectMap</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util">LinkedHashMap</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></pre> <div class="block">Java implementation of a JSON object. + <p> - An extension of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><code>LinkedHashMap</code></a>, so all methods available in that class are also available - to this class. + An extension of <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><code>LinkedHashMap</code></a>, so all methods available in that class are also available to this class. <p> - Note that the use of this class is optional. The serializers will accept any objects that implement - the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> interface. But this class provides some useful additional functionality - when working with JSON models constructed from Java Collections Framework objects. For example, a - constructor is provided for converting a JSON object string directly into a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. It also contains - accessor methods for to avoid common typecasting when accessing elements in a list. + Note that the use of this class is optional. + The serializers will accept any objects that implement the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> interface. + But this class provides some useful additional functionality when working with JSON models constructed from Java + Collections Framework objects. + For example, a constructor is provided for converting a JSON object string directly into a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. + It also contains accessor methods for to avoid common typecasting when accessing elements in a list. <h5 class='section'>Example:</h5> <p class='bcode'> @@ -202,6 +203,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa ObjectMap m2 = <jk>new</jk> ObjectMap(<js>"{b:2}"</js>).setInner(m1); <jk>int</jk> a = m2.getInt(<js>"a"</js>); <jc>// a == 1 </jc> </p> + <p> This class is not thread safe.</div> <dl> @@ -345,15 +347,14 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <tr id="i5" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#containsOuterKey-java.lang.Object-">containsOuterKey</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> -<div class="block">Returns <jk>true</jk> if this map contains the specified key, ignoring - the inner map if it exists.</div> +<div class="block">Returns <jk>true</jk> if this map contains the specified key, ignoring the inner map if it exists.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#deleteAt-java.lang.String-">deleteAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util"><code>remove(Object)</code></a>,but the key is a slash-delimited - path used to traverse entries in this POJO.</div> +<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util"><code>remove(Object)</code></a>,but the key is a slash-delimited path used to traverse entries + in this POJO.</div> </td> </tr> <tr id="i7" class="rowColor"> @@ -479,16 +480,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.String-java.lang.Object-">get</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> def)</code> -<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but returns the default value if the key - could not be found.</div> +<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but returns the default value if the key could not be found.</div> </td> </tr> <tr id="i27" class="rowColor"> <td class="colFirst"><code><T> T</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#getAt-java.lang.Class-java.lang.String-">getAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> -<div class="block">Same as <a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-"><code>get(Class,String)</code></a>, but the key is a slash-delimited - path used to traverse entries in this POJO.</div> +<div class="block">Same as <a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-"><code>get(Class,String)</code></a>, but the key is a slash-delimited path used to traverse + entries in this POJO.</div> </td> </tr> <tr id="i28" class="altColor"> @@ -616,8 +616,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <tr id="i47" class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#getStringArray-java.lang.String-">getStringArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> -<div class="block">Specialized method that calls <a href="../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-"><code>getString(String)</code></a> and splits the - results as a simple comma-delimited list.</div> +<div class="block">Specialized method that calls <a href="../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-"><code>getString(String)</code></a> and splits the results as a simple comma-delimited list.</div> </td> </tr> <tr id="i48" class="altColor"> @@ -641,16 +640,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#postAt-java.lang.String-java.lang.Object-">postAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> -<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append - to collections and arrays.</div> +<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append to collections and arrays.</div> </td> </tr> <tr id="i52" class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-">putAt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> -<div class="block">Same as <code>put(String,Object)</code>, but the key is a slash-delimited - path used to traverse entries in this POJO.</div> +<div class="block">Same as <code>put(String,Object)</code>, but the key is a slash-delimited path used to traverse entries in this + POJO.</div> </td> </tr> <tr id="i53" class="rowColor"> @@ -697,8 +695,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <tr id="i59" class="rowColor"> <td class="colFirst"><code><a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/ObjectMap.html#serializeTo-java.io.Writer-">serializeTo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w)</code> -<div class="block">Convenience method for serializing this map to the specified <code>Writer</code> using - the <a href="../../../org/apache/juneau/json/JsonSerializer.html#DEFAULT"><code>JsonSerializer.DEFAULT</code></a> serializer.</div> +<div class="block">Convenience method for serializing this map to the specified <code>Writer</code> using the + <a href="../../../org/apache/juneau/json/JsonSerializer.html#DEFAULT"><code>JsonSerializer.DEFAULT</code></a> serializer.</div> </td> </tr> <tr id="i60" class="altColor"> @@ -781,7 +779,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockListLast"> <li class="blockList"> <h4>EMPTY_MAP</h4> -<pre>public static final <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.111">EMPTY_MAP</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.113">EMPTY_MAP</a></pre> <div class="block">An empty read-only ObjectMap.</div> </li> </ul> @@ -799,7 +797,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.150">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s, +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.152">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s, <a href="../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> p) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block">Construct an ObjectMap directly from a string using the specified parser.</div> @@ -818,7 +816,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.169">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s) +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.171">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</a> s) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block">Shortcut for <code><jk>new</jk> ObjectMap(string,JsonParser.<jsf>DEFAULT</jsf>);</code></div> <dl> @@ -835,7 +833,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.181">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r, +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.183">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r, <a href="../../../org/apache/juneau/parser/Parser.html" title="class in org.apache.juneau.parser">Parser</a> p) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -856,7 +854,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.193">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r) +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.195">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> r) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block">Shortcut for <code><jk>new</jk> ObjectMap(reader, JsonParser.<jsf>DEFAULT</jsf>)</code>.</div> @@ -875,7 +873,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.207">ObjectMap</a>()</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.209">ObjectMap</a>()</pre> <div class="block">Construct an empty JSON object (i.e. an empty <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><code>LinkedHashMap</code></a>).</div> </li> </ul> @@ -885,7 +883,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.216">ObjectMap</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.218">ObjectMap</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> <div class="block">Construct an empty JSON object (i.e. an empty <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util"><code>LinkedHashMap</code></a>) with the specified bean context.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -899,7 +897,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockListLast"> <li class="blockList"> <h4>ObjectMap</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.225">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> m)</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.227">ObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> m)</pre> <div class="block">Construct a JSON object and fill it with the contents from the specified <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -921,14 +919,16 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>setInner</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.251">setInner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> inner)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.256">setInner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> inner)</pre> <div class="block">Set an inner map in this map to allow for chained get calls. + <p> If <a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.Object-"><code>get(Object)</code></a> returns <jk>null</jk>, then <a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.Object-"><code>get(Object)</code></a> will be called on the inner map. + <p> - In addition to providing the ability to chain maps, this method also provides the ability - to wrap an existing map inside another map so that you can add entries to the outer - map without affecting the values on the inner map. + In addition to providing the ability to chain maps, this method also provides the ability to wrap an existing map + inside another map so that you can add entries to the outer map without affecting the values on the inner map. + <p class='bcode'> ObjectMap m1 = <jk>new</jk> ObjectMap(<js>"{foo:1}"</js>); ObjectMap m2 = <jk>new</jk> ObjectMap().setInner(m1); @@ -939,7 +939,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>inner</code> - The inner map. - Can be <jk>null</jk> to remove the inner map from an existing map.</dd> + Can be <jk>null</jk> to remove the inner map from an existing map.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>This object (for method chaining).</dd> </dl> @@ -951,11 +951,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>findKeyIgnoreCase</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.262">findKeyIgnoreCase</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.269">findKeyIgnoreCase</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Searches for the specified key in this map ignoring case.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>key</code> - The key to search for. For performance reasons, it's preferable that the key be all lowercase.</dd> +<dd><code>key</code> - The key to search for. + For performance reasons, it's preferable that the key be all lowercase.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>The key, or <jk>null</jk> if map does not contain this key.</dd> </dl> @@ -967,10 +968,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>setBeanSession</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.279">setBeanSession</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.288">setBeanSession</a>(<a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> session)</pre> <div class="block">Override the default bean session used for converting POJOs. + <p> Default is <a href="../../../org/apache/juneau/BeanContext.html#DEFAULT"><code>BeanContext.DEFAULT</code></a>, which is sufficient in most cases. + <p> Useful if you're serializing/parsing beans with transforms defined.</div> <dl> @@ -987,7 +990,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getBeanSession</h4> -<pre>public <a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.289">getBeanSession</a>()</pre> +<pre>public <a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.298">getBeanSession</a>()</pre> <div class="block">Returns the <a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau"><code>BeanSession</code></a> currently associated with this map.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -1001,12 +1004,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>append</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.303">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.312">append</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> <div class="block">Convenience method for adding multiple objects to this map. + <p> - Equivalent to calling <code>put(key, value)</code>, but returns - this map so that the method can be chained.</div> + Equivalent to calling <code>put(key, value)</code>, but returns this map so that the method can be chained.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>key</code> - The key.</dd> @@ -1022,11 +1025,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>appendAll</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.317">appendAll</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> m)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.326">appendAll</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> m)</pre> <div class="block">Convenience method for adding a contents of another map to this map. + <p> - Equivalent to calling <code>putAll(m)</code>, but returns - this map so that the method can be chained.</div> + Equivalent to calling <code>putAll(m)</code>, but returns this map so that the method can be chained.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>m</code> - The map whose contents should be added to this map.</dd> @@ -1041,7 +1044,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.323">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.332">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util">get</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></dd> @@ -1056,10 +1059,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.338">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.346">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> def)</pre> -<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but returns the default value if the key - could not be found.</div> +<div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but returns the default value if the key could not be found.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>key</code> - The key.</dd> @@ -1075,9 +1077,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.353">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.362">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but casts or converts the value to the specified class type. + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for the list of valid data conversions.</div> <dl> @@ -1097,7 +1100,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.368">get</a>(<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><T,?> pojoSwap, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.377">get</a>(<a href="../../../org/apache/juneau/transform/PojoSwap.html" title="class in org.apache.juneau.transform">PojoSwap</a><T,?> pojoSwap, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but converts the raw value to the specified class type using the specified @@ -1123,10 +1126,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.388">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.398">get</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, T def)</pre> <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but casts or converts the value to the specified class type. + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for the list of valid data conversions.</div> <dl> @@ -1147,9 +1151,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.412">get</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.423">get</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but casts or converts the value to the specified class type. + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for the list of valid data conversions.</div> <dl> @@ -1171,10 +1176,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>get</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.427">get</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.439">get</a>(<a href="../../../org/apache/juneau/ClassMeta.html" title="class in org.apache.juneau">ClassMeta</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, T def)</pre> <div class="block">Same as <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true#get-java.lang.Object-" title="class or interface in java.util"><code>get()</code></a>, but casts or converts the value to the specified class type. + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for the list of valid data conversions.</div> <dl> @@ -1195,7 +1201,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>find</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.440">find</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.452">find</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the value for the first key in the list that has an entry in this map.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -1211,11 +1217,13 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>find</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.459">find</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.473">find</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the value for the first key in the list that has an entry in this map. + <p> Casts or converts the value to the specified class type. + <p> See <a href="../../../org/apache/juneau/BeanSession.html#convertToType-java.lang.Object-org.apache.juneau.ClassMeta-"><code>BeanSession.convertToType(Object, ClassMeta)</code></a> for the list of valid data conversions.</div> <dl> @@ -1235,10 +1243,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getAt</h4> -<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.491">getAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.507">getAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> -<div class="block">Same as <a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-"><code>get(Class,String)</code></a>, but the key is a slash-delimited - path used to traverse entries in this POJO. +<div class="block">Same as <a href="../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-"><code>get(Class,String)</code></a>, but the key is a slash-delimited path used to traverse + entries in this POJO. + <p> For example, the following code is equivalent: </p> @@ -1252,9 +1261,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <jc>// Using this method</jc> <jk>long</jk> l = m.getAt(<jk>long</jk>.<jk>class</jk>, <js>"foo/bar/0/baz"</js>); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Type Parameters:</span></dt> <dd><code>T</code> - The class type.</dd> @@ -1272,10 +1282,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>putAt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.519">putAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.537">putAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> -<div class="block">Same as <code>put(String,Object)</code>, but the key is a slash-delimited - path used to traverse entries in this POJO. +<div class="block">Same as <code>put(String,Object)</code>, but the key is a slash-delimited path used to traverse entries in this + POJO. + <p> For example, the following code is equivalent: </p> @@ -1289,9 +1300,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <jc>// Using this method</jc> m.putAt(<js>"foo/bar/0/baz"</js>, 123); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - The path to the entry.</dd> @@ -1307,10 +1319,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>postAt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.546">postAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.565">postAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> -<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append - to collections and arrays. +<div class="block">Similar to <a href="../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-"><code>putAt(String,Object)</code></a>, but used to append to collections and arrays. + <p> For example, the following code is equivalent: </p> @@ -1323,9 +1335,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <jc>// Using this method</jc> m.postAt(<js>"foo/bar"</js>, 123); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - The path to the entry.</dd> @@ -1341,9 +1354,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>deleteAt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.572">deleteAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> -<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util"><code>remove(Object)</code></a>,but the key is a slash-delimited - path used to traverse entries in this POJO. +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.593">deleteAt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block">Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true#remove-java.lang.Object-" title="class or interface in java.util"><code>remove(Object)</code></a>,but the key is a slash-delimited path used to traverse entries + in this POJO. + <p> For example, the following code is equivalent: </p> @@ -1356,9 +1370,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <jc>// Using this method</jc> m.deleteAt(<js>"foo/bar/0/baz"</js>); </p> + <p> - This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain - any of the various class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> + This method uses the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class to perform the lookup, so the map can contain any of the various + class types that the <a href="../../../org/apache/juneau/utils/PojoRest.html" title="class in org.apache.juneau.utils"><code>PojoRest</code></a> class supports (e.g. beans, collections, arrays).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - The path to the entry.</dd> @@ -1373,10 +1388,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>putJson</h4> -<pre>public void <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.585">putJson</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public void <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.607">putJson</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> json) throws <a href="../../../org/apache/juneau/parser/ParseException.html" title="class in org.apache.juneau.parser">ParseException</a></pre> <div class="block">Convenience method for inserting JSON directly into an attribute on this object. + <p> The JSON text can be an object (i.e. <js>"{...}"</js>) or an array (i.e. <js>"[...]"</js>).</div> <dl> @@ -1394,8 +1410,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.597">getString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.620">getString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>. + <p> Shortcut for <code>get(String.<jk>class</jk>, key)</code>.</div> <dl> @@ -1412,14 +1429,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getStringArray</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.608">getStringArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> -<div class="block">Specialized method that calls <a href="../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-"><code>getString(String)</code></a> and splits the - results as a simple comma-delimited list.</div> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.633">getStringArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<div class="block">Specialized method that calls <a href="../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-"><code>getString(String)</code></a> and splits the results as a simple comma-delimited list.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>key</code> - the key.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>A list of tokens, trimmed of whitespace. An empty list if entry not found. Never <jk>null</jk>.</dd> +<dd>A list of tokens, trimmed of whitespace. + An empty list if entry not found. + Never <jk>null</jk>.</dd> </dl> </li> </ul> @@ -1429,7 +1447,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getStringArray</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.620">getStringArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.645">getStringArray</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] def)</pre> <div class="block">Same as <a href="../../../org/apache/juneau/ObjectMap.html#getStringArray-java.lang.String-"><code>getStringArray(String)</code></a> but returns a default value if the value cannot be found.</div> <dl> @@ -1447,9 +1465,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.635">getString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.661">getString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>. + <p> Shortcut for <code>get(String.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1467,8 +1486,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getInt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.648">getInt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.675">getInt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>. + <p> Shortcut for <code>get(Integer.<jk>class</jk>, key)</code>.</div> <dl> @@ -1487,9 +1507,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getInt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.662">getInt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.690">getInt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> defVal)</pre> <div class="block">Returns the specified entry value converted to an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>. + <p> Shortcut for <code>get(Integer.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1509,8 +1530,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getLong</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.675">getLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.704">getLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>. + <p> Shortcut for <code>get(Long.<jk>class</jk>, key)</code>.</div> <dl> @@ -1529,9 +1551,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getLong</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.689">getLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.719">getLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>. + <p> Shortcut for <code>get(Long.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1551,8 +1574,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getBoolean</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.702">getBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.733">getBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>. + <p> Shortcut for <code>get(Boolean.<jk>class</jk>, key)</code>.</div> <dl> @@ -1571,9 +1595,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getBoolean</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.716">getBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.748">getBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>. + <p> Shortcut for <code>get(Boolean.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1593,8 +1618,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getMap</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.729">getMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.762">getMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. + <p> Shortcut for <code>get(Map.<jk>class</jk>, key)</code>.</div> <dl> @@ -1613,9 +1639,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getMap</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.743">getMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.777">getMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. + <p> Shortcut for <code>get(Map.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1635,8 +1662,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getList</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.756">getList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.791">getList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. + <p> Shortcut for <code>get(List.<jk>class</jk>, key)</code>.</div> <dl> @@ -1655,9 +1683,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getList</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.770">getList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.806">getList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><?> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. + <p> Shortcut for <code>get(List.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1677,8 +1706,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getObjectMap</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.783">getObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.820">getObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. + <p> Shortcut for <code>get(ObjectMap.<jk>class</jk>, key)</code>.</div> <dl> @@ -1697,9 +1727,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getObjectMap</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.797">getObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.835">getObjectMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau"><code>ObjectMap</code></a>. + <p> Shortcut for <code>get(ObjectMap.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1719,8 +1750,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getObjectList</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.810">getObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> +<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.849">getObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre> <div class="block">Returns the specified entry value converted to a <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau"><code>ObjectList</code></a>. + <p> Shortcut for <code>get(ObjectList.<jk>class</jk>, key)</code>.</div> <dl> @@ -1739,9 +1771,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>getObjectList</h4> -<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.824">getObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, +<pre>public <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.864">getObjectList</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key, <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> defVal)</pre> <div class="block">Returns the specified entry value converted to a <a href="../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau"><code>ObjectList</code></a>. + <p> Shortcut for <code>get(ObjectList.<jk>class</jk>, key, defVal)</code>.</div> <dl> @@ -1761,16 +1794,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>findString</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.837">findString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.879">findString</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the first entry that exists converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>. + <p> Shortcut for <code>find(String.<jk>class</jk>, keys)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>keys</code> - The list of keys to look for.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The converted value of the first key in the list that has an entry in this map, - or <jk>null</jk> if the map contains no mapping for any of the keys.</dd> +<dd>The converted value of the first key in the list that has an entry in this map, or <jk>null</jk> if the map + contains no mapping for any of the keys.</dd> </dl> </li> </ul> @@ -1780,16 +1814,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>findInt</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.851">findInt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.895">findInt</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the first entry that exists converted to an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>. + <p> Shortcut for <code>find(Integer.<jk>class</jk>, keys)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>keys</code> - The list of keys to look for.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The converted value of the first key in the list that has an entry in this map, - or <jk>null</jk> if the map contains no mapping for any of the keys.</dd> +<dd>The converted value of the first key in the list that has an entry in this map, or <jk>null</jk> if the map + contains no mapping for any of the keys.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau">InvalidDataConversionException</a></code> - If value cannot be converted.</dd> </dl> @@ -1801,16 +1836,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>findLong</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.865">findLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.911">findLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the first entry that exists converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>. + <p> Shortcut for <code>find(Long.<jk>class</jk>, keys)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>keys</code> - The list of keys to look for.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The converted value of the first key in the list that has an entry in this map, - or <jk>null</jk> if the map contains no mapping for any of the keys.</dd> +<dd>The converted value of the first key in the list that has an entry in this map, or <jk>null</jk> if the map + contains no mapping for any of the keys.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau">InvalidDataConversionException</a></code> - If value cannot be converted.</dd> </dl> @@ -1822,16 +1858,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>findBoolean</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.879">findBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.927">findBoolean</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the first entry that exists converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>. + <p> Shortcut for <code>find(Boolean.<jk>class</jk>, keys)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>keys</code> - The list of keys to look for.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The converted value of the first key in the list that has an entry in this map, - or <jk>null</jk> if the map contains no mapping for any of the keys.</dd> +<dd>The converted value of the first key in the list that has an entry in this map, or <jk>null</jk> if the map + contains no mapping for any of the keys.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.apache.juneau">InvalidDataConversionException</a></code> - If value cannot be converted.</dd> </dl> @@ -1843,16 +1880,17 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedHashMa <ul class="blockList"> <li class="blockList"> <h4>findMap</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.893">findMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> <a href="../../../src-html/org/apache/juneau/ObjectMap.html#line.943">findMap</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... keys)</pre> <div class="block">Returns the first entry that exists converted to a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. + <p> Shortcut for <code>find(Map.<jk>class</jk>, keys)</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>keys</code> - The list of keys to look for.</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>The converted value of the first key in the list that has an entry in this map, - or <jk>null</jk> if the map contains no mapping for any of the keys.</dd> +<dd>The converted value of the first key in the list that has an entry in this map, or <jk>null</jk> if the map + contains no mapping for any of the keys.</dd> <dt><span class="throwsLabel">Throws:</span></dt> <dd><code><a href="../../../org/apache/juneau/InvalidDataConversionException.html" title="class in org.ap
<TRUNCATED>
