From 17b69d672f8e4f5e99f54256a4141320b0a846e0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 4 Oct 2014 13:09:39 -0400 Subject: Add version 1.2 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.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html (limited to '1.2/sangria-listbinder/apidocs/com/tavianator') diff --git a/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..c414821 --- /dev/null +++ b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,273 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria ListBinder 1.2 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.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..5ae9253 --- /dev/null +++ b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,388 @@ + + + + + + +ListBinder (Sangria ListBinder 1.2 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<String>, which contains "a" followed by "b". It also + creates a binding for List<Provider<String>> — 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<String> 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.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..5b3e317 --- /dev/null +++ b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,261 @@ + + + + + + +ListBinderBuilder (Sangria ListBinder 1.2 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.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..5d20672 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html new file mode 100644 index 0000000..d65fc7e --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html new file mode 100644 index 0000000..a6cb136 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html new file mode 100644 index 0000000..6091e4e --- /dev/null +++ b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html @@ -0,0 +1,184 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria ListBinder 1.2 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.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html new file mode 100644 index 0000000..9f7a89e --- /dev/null +++ b/1.2/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html @@ -0,0 +1,141 @@ + + + + + + +com.tavianator.sangria.listbinder Class Hierarchy (Sangria ListBinder 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.listbinder

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.listbinder

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3