From 95bb12d092948a0e52f5fb2edd8e3c781efc2392 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Sep 2014 10:21:08 -0400 Subject: Add version 1.1 site. --- .../listbinder/AnnotatedListBinderBuilder.html | 273 +++++++++++++++ .../tavianator/sangria/listbinder/ListBinder.html | 388 +++++++++++++++++++++ .../sangria/listbinder/ListBinderBuilder.html | 261 ++++++++++++++ .../class-use/AnnotatedListBinderBuilder.html | 159 +++++++++ .../sangria/listbinder/class-use/ListBinder.html | 154 ++++++++ .../listbinder/class-use/ListBinderBuilder.html | 172 +++++++++ .../sangria/listbinder/package-frame.html | 26 ++ .../sangria/listbinder/package-summary.html | 184 ++++++++++ .../sangria/listbinder/package-tree.html | 141 ++++++++ .../tavianator/sangria/listbinder/package-use.html | 154 ++++++++ 10 files changed, 1912 insertions(+) create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html (limited to '1.1/sangria-listbinder/apidocs/com') diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..10fe116 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,273 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.listbinder
+

Interface AnnotatedListBinderBuilder<T>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    ListBinderBuilder<T>
    +
    +
    +
    +
    public interface AnnotatedListBinderBuilder<T>
    +extends ListBinderBuilder<T>
    +
    Fluent builder interface.
    +
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        annotatedWith

        +
        ListBinderBuilder<T> annotatedWith(Class<? extends Annotation> annotationType)
        +
        Make a binder for an annotated list type.
        +
        +
        Parameters:
        +
        annotationType - The annotation type for the list.
        +
        Returns:
        +
        A fluent builder.
        +
        +
      • +
      + + + +
        +
      • +

        annotatedWith

        +
        ListBinderBuilder<T> annotatedWith(Annotation annotation)
        +
        Make a binder for an annotated list type.
        +
        +
        Parameters:
        +
        annotation - The annotation instance for the list.
        +
        Returns:
        +
        A fluent builder.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..32d5eb1 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,388 @@ + + + + + + +ListBinder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.listbinder
+

Class ListBinder<T>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    T - The type of the list element.
    +
    +
    +
    +
    public class ListBinder<T>
    +extends Object
    +
    A multi-binder with guaranteed order. + +

    + ListBinder is much like Multibinder, except it provides a guaranteed iteration order, and binds a + List instead of a Set. For example: +

    + +
    + ListBinder<String> listBinder = ListBinder.build(binder(), String.class)
    +         .withDefaultPriority();
    + listBinder.addBinding().toInstance("a");
    + listBinder.addBinding().toInstance("b");
    + 
    + +

    + This will create a binding for a List&lt;String&gt;, which contains "a" followed by "b". It + also creates a binding for List&lt;Provider&lt;String&gt;&gt; — this may be useful in more advanced + cases to allow list elements to be lazily loaded. +

    + +

    To add an annotation to the list binding, simply write this:

    + +
    + ListBinder<String> listBinder = ListBinder.build(binder(), String.class)
    +         .annotatedWith(Names.named("name"))
    +         .withDefaultPriority();
    + 
    + +

    + and the created binding will be @Named("name") List&lt;String&gt; instead. +

    + +

    + For large lists, it may be helpful to split up their specification across different modules. This is accomplished by + specifying priorities for the ListBinders when they are created. For example: +

    + +
    + // In some module
    + ListBinder<String> listBinder1 = ListBinder.build(binder(), String.class)
    +         .withPriority(0);
    + listBinder1.addBinding().toInstance("a");
    + listBinder1.addBinding().toInstance("b");
    +
    + // ... some other module
    + ListBinder<String> listBinder2 = ListBinder.build(binder(), String.class)
    +         .withPriority(1);
    + listBinder2.addBinding().toInstance("c");
    + listBinder2.addBinding().toInstance("d");
    + 
    + +

    + The generated list will contain "a", "b", "c", "d", in order. This happens because + the first ListBinder had a smaller priority, so its entries come first. For more information about the + priority system, see Priority. +

    +
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..c511bb9 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,261 @@ + + + + + + +ListBinderBuilder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.listbinder
+

Interface ListBinderBuilder<T>

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    AnnotatedListBinderBuilder<T>
    +
    +
    +
    +
    public interface ListBinderBuilder<T>
    +
    Fluent builder interface.
    +
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..7e5f581 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html @@ -0,0 +1,159 @@ + + + + + + +Uses of Interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html new file mode 100644 index 0000000..859fbfb --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html @@ -0,0 +1,154 @@ + + + + + + +Uses of Class com.tavianator.sangria.listbinder.ListBinder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.listbinder.ListBinder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html new file mode 100644 index 0000000..f456962 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html @@ -0,0 +1,172 @@ + + + + + + +Uses of Interface com.tavianator.sangria.listbinder.ListBinderBuilder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.listbinder.ListBinderBuilder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html new file mode 100644 index 0000000..538cbf2 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html @@ -0,0 +1,26 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria ListBinder 1.1 API) + + + + + +

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html new file mode 100644 index 0000000..a8eb034 --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html @@ -0,0 +1,184 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.tavianator.sangria.listbinder

+
+
sangria-listbinder: A multi-binder with guaranteed order.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.listbinder Description

+
sangria-listbinder: A multi-binder with guaranteed order.
+
+
Since:
+
1.1
+
Version:
+
1.1
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html new file mode 100644 index 0000000..6ffb52d --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html @@ -0,0 +1,141 @@ + + + + + + +com.tavianator.sangria.listbinder Class Hierarchy (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.listbinder

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html new file mode 100644 index 0000000..58d169f --- /dev/null +++ b/1.1/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html @@ -0,0 +1,154 @@ + + + + + + +Uses of Package com.tavianator.sangria.listbinder (Sangria ListBinder 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.listbinder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3