http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/PropertyNamer.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/PropertyNamer.html b/content/site/apidocs/org/apache/juneau/PropertyNamer.html index 6135ce1..dedc571 100644 --- a/content/site/apidocs/org/apache/juneau/PropertyNamer.html +++ b/content/site/apidocs/org/apache/juneau/PropertyNamer.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>PropertyNamer (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>PropertyNamer (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PropertyNamer (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="PropertyNamer (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -105,17 +105,13 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public interface <a href="../../../src-html/org/apache/juneau/PropertyNamer.html#line.27">PropertyNamer</a></pre> +<pre>public interface <a href="../../../src-html/org/apache/juneau/PropertyNamer.html#line.25">PropertyNamer</a></pre> <div class="block">Defines an API for converting conventional bean property names to some other form. <p> For example, given the bean property <js>"fooBarURL"</js>, the <a href="../../../org/apache/juneau/PropertyNamerDashedLC.html" title="class in org.apache.juneau"><code>PropertyNamerDashedLC</code></a> property namer will convert this to <js>"foo-bar-url"</js>. <p> Property namers are associated with beans through the <a href="../../../org/apache/juneau/annotation/Bean.html#propertyNamer--"><code>Bean.propertyNamer()</code></a> annotation.</div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -161,7 +157,7 @@ var activeTableTab = "activeTableTab"; <ul class="blockListLast"> <li class="blockList"> <h4>getPropertyName</h4> -<pre><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/PropertyNamer.html#line.34">getPropertyName</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> name)</pre> +<pre><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/PropertyNamer.html#line.32">getPropertyName</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> name)</pre> <div class="block">Convert the specified default property name to some other value.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -240,6 +236,6 @@ var activeTableTab = "activeTableTab"; <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html b/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html index 7b431c2..eca745b 100644 --- a/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html +++ b/content/site/apidocs/org/apache/juneau/PropertyNamerDashedLC.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>PropertyNamerDashedLC (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>PropertyNamerDashedLC (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PropertyNamerDashedLC (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="PropertyNamerDashedLC (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public final class <a href="../../../src-html/org/apache/juneau/PropertyNamerDashedLC.html#line.27">PropertyNamerDashedLC</a> +<pre>public final class <a href="../../../src-html/org/apache/juneau/PropertyNamerDashedLC.html#line.25">PropertyNamerDashedLC</a> extends <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> implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a></pre> <div class="block">Converts property names to dashed-lower-case format. @@ -124,10 +124,6 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <li><js>"fooBarURL"</js> -> <js>"foo-bar-url"</js> <li><js>"FooBarURL"</js> -> <js>"foo-bar-url"</js> </ul></div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -197,7 +193,7 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <ul class="blockListLast"> <li class="blockList"> <h4>PropertyNamerDashedLC</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/PropertyNamerDashedLC.html#line.27">PropertyNamerDashedLC</a>()</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/PropertyNamerDashedLC.html#line.25">PropertyNamerDashedLC</a>()</pre> </li> </ul> </li> @@ -214,7 +210,7 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <ul class="blockListLast"> <li class="blockList"> <h4>getPropertyName</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/PropertyNamerDashedLC.html#line.30">getPropertyName</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> name)</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/PropertyNamerDashedLC.html#line.28">getPropertyName</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> name)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../org/apache/juneau/PropertyNamer.html#getPropertyName-java.lang.String-">PropertyNamer</a></code></span></div> <div class="block">Convert the specified default property name to some other value.</div> <dl> @@ -296,6 +292,6 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html b/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html index eb22be0..b76b5e7 100644 --- a/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html +++ b/content/site/apidocs/org/apache/juneau/PropertyNamerDefault.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>PropertyNamerDefault (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>PropertyNamerDefault (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="PropertyNamerDefault (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="PropertyNamerDefault (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public final class <a href="../../../src-html/org/apache/juneau/PropertyNamerDefault.html#line.32">PropertyNamerDefault</a> +<pre>public final class <a href="../../../src-html/org/apache/juneau/PropertyNamerDefault.html#line.30">PropertyNamerDefault</a> extends <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> implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a></pre> <div class="block">Default property namer. @@ -127,10 +127,6 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf </ul> <p> See <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true#decapitalize-java.lang.String-" title="class or interface in java.beans"><code>Introspector.decapitalize(String)</code></a> for exact rules.</div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -200,7 +196,7 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <ul class="blockListLast"> <li class="blockList"> <h4>PropertyNamerDefault</h4> -<pre>public <a href="../../../src-html/org/apache/juneau/PropertyNamerDefault.html#line.32">PropertyNamerDefault</a>()</pre> +<pre>public <a href="../../../src-html/org/apache/juneau/PropertyNamerDefault.html#line.30">PropertyNamerDefault</a>()</pre> </li> </ul> </li> @@ -217,7 +213,7 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <ul class="blockListLast"> <li class="blockList"> <h4>getPropertyName</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/PropertyNamerDefault.html#line.35">getPropertyName</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> name)</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/PropertyNamerDefault.html#line.33">getPropertyName</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> name)</pre> <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../org/apache/juneau/PropertyNamer.html#getPropertyName-java.lang.String-">PropertyNamer</a></code></span></div> <div class="block">Convert the specified default property name to some other value.</div> <dl> @@ -299,6 +295,6 @@ implements <a href="../../../org/apache/juneau/PropertyNamer.html" title="interf <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/Session.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Session.html b/content/site/apidocs/org/apache/juneau/Session.html index 4099e08..6912ec1 100644 --- a/content/site/apidocs/org/apache/juneau/Session.html +++ b/content/site/apidocs/org/apache/juneau/Session.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Session (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>Session (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,12 +12,18 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Session (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="Session (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { } //--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> @@ -71,13 +77,13 @@ <li>Nested | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li> +<li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> -<li>Method</li> +<li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> @@ -103,19 +109,17 @@ <li class="blockList"> <dl> <dt>Direct Known Subclasses:</dt> -<dd><a href="../../../org/apache/juneau/parser/ParserSession.html" title="class in org.apache.juneau.parser">ParserSession</a>, <a href="../../../org/apache/juneau/serializer/SerializerSession.html" title="class in org.apache.juneau.serializer">SerializerSession</a>, <a href="../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a></dd> +<dd><a href="../../../org/apache/juneau/BeanSession.html" title="class in org.apache.juneau">BeanSession</a>, <a href="../../../org/apache/juneau/svl/VarResolverSession.html" title="class in org.apache.juneau.svl">VarResolverSession</a></dd> </dl> <hr> <br> -<pre>public abstract class <a href="../../../src-html/org/apache/juneau/Session.html#line.24">Session</a> +<pre>public abstract class <a href="../../../src-html/org/apache/juneau/Session.html#line.31">Session</a> extends <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">A one-time-use non-thread-safe object that's meant to be used once and then thrown away. <p> - Serializers and parsers use context objects to retrieve config properties and to use it + Serializers and parsers use session objects to retrieve config properties and to use it as a scratchpad during serialize and parse actions.</div> <dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../org/apache/juneau/ContextFactory.html" title="class in org.apache.juneau"><code>ContextFactory</code></a></dd> </dl> @@ -139,7 +143,8 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </tr> <tr class="altColor"> <td class="colFirst"><code>protected </code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#Session-org.apache.juneau.Context-">Session</a></span>(<a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a> ctx)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#Session-org.apache.juneau.Context-org.apache.juneau.ObjectMap-">Session</a></span>(<a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a> ctx, + <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op)</code> <div class="block">Default constructor.</div> </td> </tr> @@ -152,12 +157,90 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <!-- --> </a> <h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#addToCache-java.util.Map-">addToCache</a></span>(<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>> cacheObjects)</code> +<div class="block">Adds arbitrary objects to this session's cache.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#addToCache-java.lang.String-java.lang.Object-">addToCache</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> val)</code> +<div class="block">Adds an arbitrary object to this session's cache.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#addWarning-java.lang.String-java.lang.Object...-">addWarning</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> msg, + <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>... args)</code> +<div class="block">Logs a warning message.</div> +</td> +</tr> +<tr id="i3" 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/Session.html#asMap--">asMap</a></span>()</code> +<div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#close--">close</a></span>()</code> +<div class="block">Perform cleanup on this context object if necessary.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#finalize--">finalize</a></span>()</code> </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><T> T</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#getFromCache-java.lang.Class-java.lang.String-">getFromCache</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> c, + <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">Returns an object stored in the session cache.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#getLogger--">getLogger</a></span>()</code> +<div class="block">Returns the logger associated with this session.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<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/Session.html#getProperties--">getProperties</a></span>()</code> +<div class="block">Returns the properties associated with this session.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code><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="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/Session.html#getWarnings--">getWarnings</a></span>()</code> +<div class="block">Returns the warnings that occurred in this session.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Session.html#hasWarnings--">hasWarnings</a></span>()</code> +<div class="block">Returns <jk>true</jk> if warnings occurred in this session.</div> +</td> +</tr> +<tr id="i11" 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/Session.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.<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></h3> -<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/la ng/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> </ul> </li> </ul> @@ -173,18 +256,213 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <!-- --> </a> <h3>Constructor Detail</h3> -<a name="Session-org.apache.juneau.Context-"> +<a name="Session-org.apache.juneau.Context-org.apache.juneau.ObjectMap-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Session</h4> -<pre>protected <a href="../../../src-html/org/apache/juneau/Session.html#line.32">Session</a>(<a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a> ctx)</pre> +<pre>protected <a href="../../../src-html/org/apache/juneau/Session.html#line.47">Session</a>(<a href="../../../org/apache/juneau/Context.html" title="class in org.apache.juneau">Context</a> ctx, + <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> op)</pre> <div class="block">Default constructor.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ctx</code> - The context creating this session object. The context contains all the configuration settings for the session.</dd> +<dd><code>op</code> - Properties associated with this session.</dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getProperties--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getProperties</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/Session.html#line.56">getProperties</a>()</pre> +<div class="block">Returns the properties associated with this session.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The properties associated with this session.</dd> +</dl> +</li> +</ul> +<a name="addToCache-java.lang.String-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addToCache</h4> +<pre>public void <a href="../../../src-html/org/apache/juneau/Session.html#line.67">addToCache</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> val)</pre> +<div class="block">Adds an arbitrary object to this session's cache. + Can be used to store objects for reuse during a session.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>key</code> - The key. Can be any string.</dd> +<dd><code>val</code> - The cahed object.</dd> +</dl> +</li> +</ul> +<a name="addToCache-java.util.Map-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addToCache</h4> +<pre>public void <a href="../../../src-html/org/apache/juneau/Session.html#line.80">addToCache</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>> cacheObjects)</pre> +<div class="block">Adds arbitrary objects to this session's cache. + Can be used to store objects for reuse during a session.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cacheObjects</code> - The objects to add to this session's cache. + No-op if <jk>null</jk>.</dd> +</dl> +</li> +</ul> +<a name="getFromCache-java.lang.Class-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFromCache</h4> +<pre>public <T> T <a href="../../../src-html/org/apache/juneau/Session.html#line.96">getFromCache</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> c, + <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 an object stored in the session cache.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>c</code> - The class type of the object.</dd> +<dd><code>key</code> - The session object key.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The cached object, or <jk>null</jk> if it doesn't exist.</dd> +</dl> +</li> +</ul> +<a name="addWarning-java.lang.String-java.lang.Object...-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addWarning</h4> +<pre>public final void <a href="../../../src-html/org/apache/juneau/Session.html#line.106">addWarning</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> msg, + <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>... args)</pre> +<div class="block">Logs a warning message.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>msg</code> - The warning message.</dd> +<dd><code>args</code> - Optional printf arguments to replace in the error message.</dd> +</dl> +</li> +</ul> +<a name="hasWarnings--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasWarnings</h4> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/Session.html#line.119">hasWarnings</a>()</pre> +<div class="block">Returns <jk>true</jk> if warnings occurred in this session.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><jk>true</jk> if warnings occurred in this session.</dd> +</dl> +</li> +</ul> +<a name="getWarnings--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getWarnings</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="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/Session.html#line.128">getWarnings</a>()</pre> +<div class="block">Returns the warnings that occurred in this session.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The warnings that occurred in this session, or <jk>null</jk> if no warnings occurred.</dd> +</dl> +</li> +</ul> +<a name="getLogger--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogger</h4> +<pre>protected <a href="../../../org/apache/juneau/internal/JuneauLogger.html" title="class in org.apache.juneau.internal">JuneauLogger</a> <a href="../../../src-html/org/apache/juneau/Session.html#line.138">getLogger</a>()</pre> +<div class="block">Returns the logger associated with this session. + Subclasses can override this method to provide their own logger.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The logger associated with this session.</dd> +</dl> +</li> +</ul> +<a name="asMap--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>asMap</h4> +<pre><a href="../../../org/apache/juneau/annotation/Overrideable.html" title="annotation in org.apache.juneau.annotation">@Overrideable</a> +public <a href="../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a> <a href="../../../src-html/org/apache/juneau/Session.html#line.150">asMap</a>()</pre> +<div class="block">Returns the properties defined on this bean context as a simple map for debugging purposes.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A new map containing the properties defined on this context.</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</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/Session.html#line.155">toString</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <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></dd> +</dl> +</li> +</ul> +<a name="close--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>close</h4> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/Session.html#line.169">close</a>() + throws <a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></pre> +<div class="block">Perform cleanup on this context object if necessary.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><jk>true</jk> if this method wasn't previously called.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="../../../org/apache/juneau/BeanRuntimeException.html" title="class in org.apache.juneau">BeanRuntimeException</a></code> - If called more than once, or in debug mode and warnings occurred.</dd> +</dl> +</li> +</ul> +<a name="finalize--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>finalize</h4> +<pre>protected void <a href="../../../src-html/org/apache/juneau/Session.html#line.177">finalize</a>() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a></code> in class <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></dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> </dl> </li> </ul> @@ -244,19 +522,19 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li>Nested | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> -<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li> +<li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> -<li>Method</li> +<li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/Streamable.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Streamable.html b/content/site/apidocs/org/apache/juneau/Streamable.html index 15b8968..826c8cd 100644 --- a/content/site/apidocs/org/apache/juneau/Streamable.html +++ b/content/site/apidocs/org/apache/juneau/Streamable.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Streamable (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>Streamable (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Streamable (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="Streamable (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -101,20 +101,16 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <dl> <dt>All Known Implementing Classes:</dt> -<dd><a href="../../../org/apache/juneau/server/StreamResource.html" title="class in org.apache.juneau.server">StreamResource</a></dd> +<dd><a href="../../../org/apache/juneau/rest/StreamResource.html" title="class in org.apache.juneau.rest">StreamResource</a></dd> </dl> <hr> <br> -<pre>public interface <a href="../../../src-html/org/apache/juneau/Streamable.html#line.26">Streamable</a></pre> +<pre>public interface <a href="../../../src-html/org/apache/juneau/Streamable.html#line.24">Streamable</a></pre> <div class="block">Interface that identifies that an object can be serialized directly to an output stream. <p> Instances must identify the media type of the content by implementing the <a href="../../../org/apache/juneau/Streamable.html#getMediaType--"><code>getMediaType()</code></a> method. </p></div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -166,7 +162,7 @@ var activeTableTab = "activeTableTab"; <ul class="blockList"> <li class="blockList"> <h4>streamTo</h4> -<pre>void <a href="../../../src-html/org/apache/juneau/Streamable.html#line.34">streamTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os) +<pre>void <a href="../../../src-html/org/apache/juneau/Streamable.html#line.32">streamTo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> os) throws <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">Serialize this object to the specified output stream.</div> <dl> @@ -183,7 +179,7 @@ var activeTableTab = "activeTableTab"; <ul class="blockListLast"> <li class="blockList"> <h4>getMediaType</h4> -<pre><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/Streamable.html#line.41">getMediaType</a>()</pre> +<pre><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/Streamable.html#line.39">getMediaType</a>()</pre> <div class="block">Returns the serialized media type for this resource (e.g. <js>"text/html"</js>).</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -260,6 +256,6 @@ var activeTableTab = "activeTableTab"; <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/Visibility.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Visibility.html b/content/site/apidocs/org/apache/juneau/Visibility.html index 6097fa7..5ed3f9d 100644 --- a/content/site/apidocs/org/apache/juneau/Visibility.html +++ b/content/site/apidocs/org/apache/juneau/Visibility.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Visibility (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>Visibility (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Visibility (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="Visibility (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>public enum <a href="../../../src-html/org/apache/juneau/Visibility.html#line.31">Visibility</a> +<pre>public enum <a href="../../../src-html/org/apache/juneau/Visibility.html#line.29">Visibility</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>></pre> <div class="block">Defines class/field/method visibilities. <p> @@ -130,10 +130,6 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is <li><a href="../../../org/apache/juneau/BeanContext.html#BEAN_beanFieldVisibility"><code>BeanContext.BEAN_beanFieldVisibility</code></a> <li><a href="../../../org/apache/juneau/BeanContext.html#BEAN_methodVisibility"><code>BeanContext.BEAN_methodVisibility</code></a> </ul></div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -299,7 +295,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>NONE</h4> -<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.34">NONE</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.32">NONE</a></pre> <div class="block">Ignore all</div> </li> </ul> @@ -309,7 +305,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>PUBLIC</h4> -<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.37">PUBLIC</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.35">PUBLIC</a></pre> <div class="block">Include only <jk>public</jk> classes/fields/methods.</div> </li> </ul> @@ -319,7 +315,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>PROTECTED</h4> -<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.40">PROTECTED</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.38">PROTECTED</a></pre> <div class="block">Include only <jk>public</jk> or <jk>protected</jk> classes/fields/methods.</div> </li> </ul> @@ -329,7 +325,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>DEFAULT</h4> -<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.43">DEFAULT</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.41">DEFAULT</a></pre> <div class="block">Include all but <jk>private</jk> classes/fields/methods.</div> </li> </ul> @@ -339,7 +335,7 @@ the order they are declared.</div> <ul class="blockListLast"> <li class="blockList"> <h4>PRIVATE</h4> -<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.46">PRIVATE</a></pre> +<pre>public static final <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.44">PRIVATE</a></pre> <div class="block">Include all classes/fields/methods.</div> </li> </ul> @@ -357,7 +353,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>values</h4> -<pre>public static <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>[] <a href="../../../src-html/org/apache/juneau/Visibility.html#line.39">values</a>()</pre> +<pre>public static <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a>[] <a href="../../../src-html/org/apache/juneau/Visibility.html#line.37">values</a>()</pre> <div class="block">Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -377,7 +373,7 @@ for (Visibility c : Visibility.values()) <ul class="blockList"> <li class="blockList"> <h4>valueOf</h4> -<pre>public static <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.39">valueOf</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> name)</pre> +<pre>public static <a href="../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.37">valueOf</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> name)</pre> <div class="block">Returns the enum constant of this type with the specified name. The string must match <i>exactly</i> an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -399,7 +395,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>isVisible</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.62">isVisible</a>(int mod)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.60">isVisible</a>(int mod)</pre> <div class="block">Identifies if the specified mod matches this visibility. <h6 class='topic'>Example:</h6> @@ -423,7 +419,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>isVisible</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.78">isVisible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> x)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.76">isVisible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> x)</pre> <div class="block">Shortcut for <code>isVisible(x.getModifiers());</code></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -439,7 +435,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>isVisible</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.88">isVisible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> x)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.86">isVisible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> x)</pre> <div class="block">Shortcut for <code>isVisible(x.getModifiers());</code></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -455,7 +451,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>isVisible</h4> -<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.98">isVisible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> x)</pre> +<pre>public boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.96">isVisible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> x)</pre> <div class="block">Shortcut for <code>isVisible(x.getModifiers());</code></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -471,7 +467,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>transform</h4> -<pre>public <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.110">transform</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> x)</pre> +<pre>public <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.108">transform</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> x)</pre> <div class="block">Makes constructor accessible if it matches the visibility requirements, or returns <jk>null</jk> if it doesn't. Security exceptions thrown on the call to <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(boolean)</code></a> are quietly ignored.</div> <dl> @@ -489,7 +485,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>transform</h4> -<pre>public <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.127">transform</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> x)</pre> +<pre>public <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.125">transform</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> x)</pre> <div class="block">Makes method accessible if it matches the visibility requirements, or returns <jk>null</jk> if it doesn't. Security exceptions thrown on the call to <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(boolean)</code></a> are quietly ignored.</div> <dl> @@ -507,7 +503,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>transform</h4> -<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.144">transform</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> x)</pre> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> <a href="../../../src-html/org/apache/juneau/Visibility.html#line.142">transform</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> x)</pre> <div class="block">Makes field accessible if it matches the visibility requirements, or returns <jk>null</jk> if it doesn't. Security exceptions thrown on the call to <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(boolean)</code></a> are quietly ignored.</div> <dl> @@ -525,7 +521,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>setAccessible</h4> -<pre>public static boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.159">setAccessible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> x)</pre> +<pre>public static boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.157">setAccessible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> x)</pre> <div class="block">Attempts to call <code>x.setAccessible(<jk>true</jk>)</code> and quietly ignores security exceptions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -541,7 +537,7 @@ not permitted.)</div> <ul class="blockList"> <li class="blockList"> <h4>setAccessible</h4> -<pre>public static boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.175">setAccessible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> x)</pre> +<pre>public static boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.173">setAccessible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> x)</pre> <div class="block">Attempts to call <code>x.setAccessible(<jk>true</jk>)</code> and quietly ignores security exceptions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -557,7 +553,7 @@ not permitted.)</div> <ul class="blockListLast"> <li class="blockList"> <h4>setAccessible</h4> -<pre>public static boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.191">setAccessible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> x)</pre> +<pre>public static boolean <a href="../../../src-html/org/apache/juneau/Visibility.html#line.189">setAccessible</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html?is-external=true" title="class or interface in java.lang.reflect">Field</a> x)</pre> <div class="block">Attempts to call <code>x.setAccessible(<jk>true</jk>)</code> and quietly ignores security exceptions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -636,6 +632,6 @@ not permitted.)</div> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/Writable.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/Writable.html b/content/site/apidocs/org/apache/juneau/Writable.html index cd4297b..1680a52 100644 --- a/content/site/apidocs/org/apache/juneau/Writable.html +++ b/content/site/apidocs/org/apache/juneau/Writable.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Writable (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>Writable (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Writable (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="Writable (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -101,20 +101,16 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <dl> <dt>All Known Implementing Classes:</dt> -<dd><a href="../../../org/apache/juneau/server/ReaderResource.html" title="class in org.apache.juneau.server">ReaderResource</a>, <a href="../../../org/apache/juneau/serializer/StringObject.html" title="class in org.apache.juneau.serializer">StringObject</a></dd> +<dd><a href="../../../org/apache/juneau/rest/ReaderResource.html" title="class in org.apache.juneau.rest">ReaderResource</a>, <a href="../../../org/apache/juneau/serializer/StringObject.html" title="class in org.apache.juneau.serializer">StringObject</a></dd> </dl> <hr> <br> -<pre>public interface <a href="../../../src-html/org/apache/juneau/Writable.html#line.26">Writable</a></pre> +<pre>public interface <a href="../../../src-html/org/apache/juneau/Writable.html#line.24">Writable</a></pre> <div class="block">Interface that identifies that an object can be serialized directly to a writer. <p> Instances must identify the media type of the content by implementing the <a href="../../../org/apache/juneau/Writable.html#getMediaType--"><code>getMediaType()</code></a> method. </p></div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -134,7 +130,7 @@ var activeTableTab = "activeTableTab"; <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> -<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="colFirst"><code><a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/juneau/Writable.html#getMediaType--">getMediaType</a></span>()</code> <div class="block">Returns the serialized media type for this resource (e.g.</div> </td> @@ -166,7 +162,7 @@ var activeTableTab = "activeTableTab"; <ul class="blockList"> <li class="blockList"> <h4>writeTo</h4> -<pre>void <a href="../../../src-html/org/apache/juneau/Writable.html#line.34">writeTo</a>(<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) +<pre>void <a href="../../../src-html/org/apache/juneau/Writable.html#line.32">writeTo</a>(<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) throws <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">Serialize this object to the specified writer.</div> <dl> @@ -183,7 +179,7 @@ var activeTableTab = "activeTableTab"; <ul class="blockListLast"> <li class="blockList"> <h4>getMediaType</h4> -<pre><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/Writable.html#line.41">getMediaType</a>()</pre> +<pre><a href="../../../org/apache/juneau/MediaType.html" title="class in org.apache.juneau">MediaType</a> <a href="../../../src-html/org/apache/juneau/Writable.html#line.39">getMediaType</a>()</pre> <div class="block">Returns the serialized media type for this resource (e.g. <js>"text/html"</js>)</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -260,6 +256,6 @@ var activeTableTab = "activeTableTab"; <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html> http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b3409c1c/content/site/apidocs/org/apache/juneau/annotation/Bean.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/annotation/Bean.html b/content/site/apidocs/org/apache/juneau/annotation/Bean.html index 3639f0e..b833353 100644 --- a/content/site/apidocs/org/apache/juneau/annotation/Bean.html +++ b/content/site/apidocs/org/apache/juneau/annotation/Bean.html @@ -4,7 +4,7 @@ <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Bean (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)</title> +<title>Bean (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)</title> <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> @@ -12,7 +12,7 @@ <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Bean (Apache Juneau (incubating) 6.0.1-incubating-SNAPSHOT)"; + parent.document.title="Bean (Apache Juneau (incubating) 6.0.2-incubating-SNAPSHOT)"; } } catch(err) { @@ -97,7 +97,7 @@ <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</a>) <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>) <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html?is-external=true" title="class or interface in java.lang.annotation">@Inherited</a> -public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.42">Bean</a></pre> +public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.40">Bean</a></pre> <div class="block">Used to tailor how beans get interpreted by the framework. <p> Can be used to do the following: @@ -108,10 +108,6 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea </ul> <p> This annotation can be applied to classes and interfaces.</div> -<dl> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>James Bognar ([email protected])</dd> -</dl> </li> </ul> </div> @@ -131,54 +127,60 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <th class="colLast" scope="col">Optional Element and Description</th> </tr> <tr class="altColor"> +<td class="colFirst"><code><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><?>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/Bean.html#beanDictionary--">beanDictionary</a></span></code> +<div class="block">The list of classes that make up the bean dictionary for all properties of this bean.</div> +</td> +</tr> +<tr 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/annotation/Bean.html#excludeProperties--">excludeProperties</a></span></code> <div class="block">Specifies a list of properties that should be excluded from <a href="../../../../org/apache/juneau/BeanMap.html#entrySet--"><code>BeanMap.entrySet()</code></a>.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><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><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/Bean.html#interfaceClass--">interfaceClass</a></span></code> <div class="block">Identifies a class to be used as the interface class for this and all subclasses.</div> </td> </tr> -<tr class="altColor"> +<tr 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/annotation/Bean.html#properties--">properties</a></span></code> <div class="block">The set and order of names of properties associated with a bean class.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><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><? extends <a href="../../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/Bean.html#propertyNamer--">propertyNamer</a></span></code> <div class="block">Associates a <a href="../../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau"><code>PropertyNamer</code></a> with this bean to tailor the names of the bean properties.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/Bean.html#sort--">sort</a></span></code> <div class="block">Sort bean properties in alphabetical order.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><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><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/Bean.html#stopClass--">stopClass</a></span></code> <div class="block">Identifies a stop class for the annotated class.</div> </td> </tr> -<tr class="altColor"> +<tr 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/annotation/Bean.html#subTypeProperty--">subTypeProperty</a></span></code> <div class="block">Defines a virtual property on a superclass that identifies bean subtype classes.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><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><?>[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/annotation/Bean.html#subTypes--">subTypes</a></span></code> <div class="block">Used in conjunction with <a href="../../../../org/apache/juneau/annotation/Bean.html#subTypeProperty--"><code>subTypeProperty()</code></a> to set up bean subtypes.</div> </td> </tr> -<tr class="altColor"> +<tr 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/annotation/Bean.html#typeName--">typeName</a></span></code> <div class="block">An identifying name for this class.</div> @@ -205,7 +207,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>typeName</h4> -<pre>public abstract <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/annotation/Bean.html#line.95">typeName</a></pre> +<pre>public abstract <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/annotation/Bean.html#line.92">typeName</a></pre> <div class="block">An identifying name for this class. <p> The name is used to identify the class type during parsing when it cannot be inferred through reflection. @@ -217,7 +219,6 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea a simple name/value mapping of names to classes. Names do not need to be universally unique. However, they must be unique within a dictionary. - <h6 class='topic'>Example:</h6> <p class='bcode'> <ja>@Bean</ja>(typeName=<js>"foo"</js>) @@ -270,14 +271,13 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>properties</h4> -<pre>public abstract <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/annotation/Bean.html#line.114">properties</a></pre> +<pre>public abstract <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/annotation/Bean.html#line.110">properties</a></pre> <div class="block">The set and order of names of properties associated with a bean class. <p> The order specified is the same order that the entries will be returned by the <a href="../../../../org/apache/juneau/BeanMap.html#entrySet--"><code>BeanMap.entrySet()</code></a> and related methods. <p> This annotation is an alternative to using the <a href="../../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> class with an implemented <a href="../../../../org/apache/juneau/transform/BeanFilter.html#getProperties--"><code>BeanFilter.getProperties()</code></a> method. - <h6 class='topic'>Example:</h6> <p class='bcode'> <jc>// Address class with only street/city/state properties (in that order).</jc> @@ -301,7 +301,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>sort</h4> -<pre>public abstract boolean <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.132">sort</a></pre> +<pre>public abstract boolean <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.128">sort</a></pre> <div class="block">Sort bean properties in alphabetical order. <p> When <jk>true</jk>, all bean properties will be serialized and access in alphabetical order. @@ -331,7 +331,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>excludeProperties</h4> -<pre>public abstract <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/annotation/Bean.html#line.148">excludeProperties</a></pre> +<pre>public abstract <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/annotation/Bean.html#line.144">excludeProperties</a></pre> <div class="block">Specifies a list of properties that should be excluded from <a href="../../../../org/apache/juneau/BeanMap.html#entrySet--"><code>BeanMap.entrySet()</code></a>. <p> This annotation is an alternative to using the <a href="../../../../org/apache/juneau/transform/BeanFilter.html" title="class in org.apache.juneau.transform"><code>BeanFilter</code></a> class with an implemented <a href="../../../../org/apache/juneau/transform/BeanFilter.html#getExcludeProperties--"><code>BeanFilter.getExcludeProperties()</code></a> method. @@ -359,7 +359,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>propertyNamer</h4> -<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a>> <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.168">propertyNamer</a></pre> +<pre>public abstract <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><? extends <a href="../../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau">PropertyNamer</a>> <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.164">propertyNamer</a></pre> <div class="block">Associates a <a href="../../../../org/apache/juneau/PropertyNamer.html" title="interface in org.apache.juneau"><code>PropertyNamer</code></a> with this bean to tailor the names of the bean properties. <p> Property namers are used to transform bean property names from standard form to some other form. @@ -391,7 +391,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>subTypeProperty</h4> -<pre>public abstract <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/annotation/Bean.html#line.216">subTypeProperty</a></pre> +<pre>public abstract <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/annotation/Bean.html#line.212">subTypeProperty</a></pre> <div class="block">Defines a virtual property on a superclass that identifies bean subtype classes. <p> In the following example, the abstract class has two subclasses that are differentiated @@ -451,7 +451,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>subTypes</h4> -<pre>public abstract <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><?>[] <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.221">subTypes</a></pre> +<pre>public abstract <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><?>[] <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.217">subTypes</a></pre> <div class="block">Used in conjunction with <a href="../../../../org/apache/juneau/annotation/Bean.html#subTypeProperty--"><code>subTypeProperty()</code></a> to set up bean subtypes.</div> <dl> <dt>Default:</dt> @@ -468,7 +468,7 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <ul class="blockList"> <li class="blockList"> <h4>interfaceClass</h4> -<pre>public abstract <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><?> <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.251">interfaceClass</a></pre> +<pre>public abstract <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><?> <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.247">interfaceClass</a></pre> <div class="block">Identifies a class to be used as the interface class for this and all subclasses. <p> When specified, only the list of properties defined on the interface class will be used during serialization. @@ -507,10 +507,10 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <li class="blockList"><a name="stopClass--"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>stopClass</h4> -<pre>public abstract <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><?> <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.276">stopClass</a></pre> +<pre>public abstract <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><?> <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.272">stopClass</a></pre> <div class="block">Identifies a stop class for the annotated class. <p> Identical in purpose to the stop class specified by <a href="http://docs.oracle.com/javase/7/docs/api/java/beans/Introspector.html?is-external=true#getBeanInfo-java.lang.Class-java.lang.Class-" title="class or interface in java.beans"><code>Introspector.getBeanInfo(Class, Class)</code></a>. @@ -540,6 +540,34 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea </ul> </li> </ul> +<ul class="blockList"> +<li class="blockList"><a name="beanDictionary--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>beanDictionary</h4> +<pre>public abstract <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><?>[] <a href="../../../../src-html/org/apache/juneau/annotation/Bean.html#line.289">beanDictionary</a></pre> +<div class="block">The list of classes that make up the bean dictionary for all properties of this bean. + <p> + This is a shorthand for setting the <a href="../../../../org/apache/juneau/annotation/BeanProperty.html#beanDictionary--"><code>BeanProperty.beanDictionary()</code></a> on all properties of the bean. + <p> + This list can consist of the following class types: + <ul> + <li>Any bean class that specifies a value for <a href="../../../../org/apache/juneau/annotation/Bean.html#typeName--"><code>@Bean.name()</code></a>; + <li>Any subclass of <a href="../../../../org/apache/juneau/BeanDictionaryList.html" title="class in org.apache.juneau"><code>BeanDictionaryList</code></a> that defines an entire set of mappings. + Note that the subclass MUST implement a no-arg constructor so that it can be instantiated. + <li>Any subclass of <a href="../../../../org/apache/juneau/BeanDictionaryMap.html" title="class in org.apache.juneau"><code>BeanDictionaryMap</code></a> that defines an entire set of mappings. + Note that the subclass MUST implement a no-arg constructor so that it can be instantiated. + </ul></div> +<dl> +<dt>Default:</dt> +<dd>{}</dd> +</dl> +</li> +</ul> +</li> +</ul> </li> </ul> </div> @@ -605,6 +633,6 @@ public @interface <a href="../../../../src-html/org/apache/juneau/annotation/Bea <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2016 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2017 <a href="http://www.apache.org/">Apache</a>. All rights reserved.</small></p> </body> </html>
