diff options
Diffstat (limited to 'latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html')
-rw-r--r-- | latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html | 127 |
1 files changed, 53 insertions, 74 deletions
diff --git a/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html index 4e01c43..2434e1a 100644 --- a/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html +++ b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html @@ -2,39 +2,26 @@ <!-- NewPage --> <html lang="en"> <head> -<!-- Generated by javadoc (1.8.0_20) on Sat Oct 04 13:10:01 EDT 2014 --> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>ContextSensitiveBinder (Sangria 1.2-SNAPSHOT API)</title> -<meta name="date" content="2014-10-04"> +<!-- Generated by javadoc (version 1.7.0_79) on Fri May 08 20:24:47 EDT 2015 --> +<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> +<title>ContextSensitiveBinder (Sangria 1.3-SNAPSHOT API)</title> +<meta name="date" content="2015-05-08"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> -<script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- - try { - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="ContextSensitiveBinder (Sangria 1.2-SNAPSHOT API)"; - } - } - catch(err) { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ContextSensitiveBinder (Sangria 1.3-SNAPSHOT API)"; } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static 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> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<div class="topNav"><a name="navbar.top"> +<div class="topNav"><a name="navbar_top"> <!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.top.firstrow"> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -50,15 +37,15 @@ var activeTableTab = "activeTableTab"; </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/tavianator/sangria/contextual/ContextSensitiveBinder.html" target="_top">Frames</a></li> -<li><a href="ContextSensitiveBinder.html" target="_top">No Frames</a></li> +<li><a href="ContextSensitiveBinder.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> -<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -78,16 +65,16 @@ var activeTableTab = "activeTableTab"; <li>Nested | </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method.summary">Method</a></li> +<li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method.detail">Method</a></li> +<li><a href="#method_detail">Method</a></li> </ul> </div> -<a name="skip.navbar.top"> +<a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> @@ -110,12 +97,12 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public class <span class="typeNameLabel">ContextSensitiveBinder</span> +<pre>public class <span class="strong">ContextSensitiveBinder</span> 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 binder for <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveProvider.html" title="interface in com.tavianator.sangria.contextual"><code>ContextSensitiveProvider</code></a>s. <p> - For example, to bind a custom logger provider, you can write this inside <a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/AbstractModule.html?is-external=true#configure--" title="class or interface in com.google.inject"><code>AbstractModule.configure()</code></a>: + For example, to bind a custom logger provider, you can write this inside <a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/AbstractModule.html?is-external=true#configure()" title="class or interface in com.google.inject"><code>AbstractModule.configure()</code></a>: </p> <pre> @@ -123,14 +110,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? .bind(CustomLogger.class) .toContextSensitiveProvider(CustomLoggerProvider.class); </pre></div> -<dl> -<dt><span class="simpleTagLabel">Since:</span></dt> -<dd>1.0</dd> -<dt><span class="simpleTagLabel">Version:</span></dt> -<dd>1.0</dd> -<dt><span class="simpleTagLabel">Author:</span></dt> -<dd>Tavian Barnes (tavianator@tavianator.com)</dd> -</dl> +<dl><dt><span class="strong">Since:</span></dt> + <dd>1.0</dd> +<dt><span class="strong">Version:</span></dt> + <dd>1.0</dd> +<dt><span class="strong">Author:</span></dt> + <dd>Tavian Barnes (tavianator@tavianator.com)</dd></dl> </li> </ul> </div> @@ -139,47 +124,47 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> -<li class="blockList"><a name="method.summary"> +<li class="blockList"><a name="method_summary"> <!-- --> </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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </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"> +<tr class="altColor"> <td class="colFirst"><code><T> <a href="../../../../com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual">AnnotatedContextSensitiveBindingBuilder</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#bind-java.lang.Class-">bind</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)</code> +<td class="colLast"><code><strong><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#bind(java.lang.Class)">bind</a></strong>(<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)</code> <div class="block">See the EDSL examples <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>here</code></a>.</div> </td> </tr> -<tr id="i1" class="rowColor"> +<tr class="rowColor"> <td class="colFirst"><code><T> <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual">ContextSensitiveBindingBuilder</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#bind-com.google.inject.Key-">bind</a></span>(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Key.html?is-external=true" title="class or interface in com.google.inject">Key</a><T> key)</code> +<td class="colLast"><code><strong><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#bind(com.google.inject.Key)">bind</a></strong>(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Key.html?is-external=true" title="class or interface in com.google.inject">Key</a><T> key)</code> <div class="block">See the EDSL examples <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>here</code></a>.</div> </td> </tr> -<tr id="i2" class="altColor"> +<tr class="altColor"> <td class="colFirst"><code><T> <a href="../../../../com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual">AnnotatedContextSensitiveBindingBuilder</a><T></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#bind-com.google.inject.TypeLiteral-">bind</a></span>(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/TypeLiteral.html?is-external=true" title="class or interface in com.google.inject">TypeLiteral</a><T> type)</code> +<td class="colLast"><code><strong><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#bind(com.google.inject.TypeLiteral)">bind</a></strong>(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/TypeLiteral.html?is-external=true" title="class or interface in com.google.inject">TypeLiteral</a><T> type)</code> <div class="block">See the EDSL examples <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>here</code></a>.</div> </td> </tr> -<tr id="i3" class="rowColor"> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual">ContextSensitiveBinder</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#create-com.google.inject.Binder-">create</a></span>(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Binder.html?is-external=true" title="class or interface in com.google.inject">Binder</a> binder)</code> +<td class="colLast"><code><strong><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html#create(com.google.inject.Binder)">create</a></strong>(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Binder.html?is-external=true" title="class or interface in com.google.inject">Binder</a> binder)</code> <div class="block">Create a <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>ContextSensitiveBinder</code></a>.</div> </td> </tr> </table> <ul class="blockList"> -<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<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#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,%20int)" title="class or interface in java.lang">wait</a></code></li> </ul> </li> </ul> @@ -191,11 +176,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> -<li class="blockList"><a name="method.detail"> +<li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> -<a name="create-com.google.inject.Binder-"> +<a name="create(com.google.inject.Binder)"> <!-- --> </a> <ul class="blockList"> @@ -203,15 +188,11 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <h4>create</h4> <pre>public static <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual">ContextSensitiveBinder</a> create(<a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Binder.html?is-external=true" title="class or interface in com.google.inject">Binder</a> binder)</pre> <div class="block">Create a <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>ContextSensitiveBinder</code></a>.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>binder</code> - The <a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Binder.html?is-external=true" title="class or interface in com.google.inject"><code>Binder</code></a> to use.</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>A <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>ContextSensitiveBinder</code></a> instance.</dd> -</dl> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>binder</code> - The <a href="https://google.github.io/guice/api-docs/latest/javadoc/com/google/inject/Binder.html?is-external=true" title="class or interface in com.google.inject"><code>Binder</code></a> to use.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>ContextSensitiveBinder</code></a> instance.</dd></dl> </li> </ul> -<a name="bind-java.lang.Class-"> +<a name="bind(java.lang.Class)"> <!-- --> </a> <ul class="blockList"> @@ -221,7 +202,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">See the EDSL examples <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>here</code></a>.</div> </li> </ul> -<a name="bind-com.google.inject.TypeLiteral-"> +<a name="bind(com.google.inject.TypeLiteral)"> <!-- --> </a> <ul class="blockList"> @@ -231,7 +212,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">See the EDSL examples <a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBinder.html" title="class in com.tavianator.sangria.contextual"><code>here</code></a>.</div> </li> </ul> -<a name="bind-com.google.inject.Key-"> +<a name="bind(com.google.inject.Key)"> <!-- --> </a> <ul class="blockListLast"> @@ -249,11 +230,9 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> -<div class="bottomNav"><a name="navbar.bottom"> +<div class="bottomNav"><a name="navbar_bottom"> <!-- --> -</a> -<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> -<a name="navbar.bottom.firstrow"> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> @@ -269,15 +248,15 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </div> <div class="subNav"> <ul class="navList"> -<li><a href="../../../../com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html" title="interface in com.tavianator.sangria.contextual"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/tavianator/sangria/contextual/ContextSensitiveBinder.html" target="_top">Frames</a></li> -<li><a href="ContextSensitiveBinder.html" target="_top">No Frames</a></li> +<li><a href="ContextSensitiveBinder.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> -<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- @@ -297,19 +276,19 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li>Nested | </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method.summary">Method</a></li> +<li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> -<li><a href="#method.detail">Method</a></li> +<li><a href="#method_detail">Method</a></li> </ul> </div> -<a name="skip.navbar.bottom"> +<a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> -<p class="legalCopy"><small>Copyright © 2014. All rights reserved.</small></p> +<p class="legalCopy"><small>Copyright © 2014–2015. All rights reserved.</small></p> </body> </html> |