From 7865786d43805a7e45240088b9de77e37b485c3e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 8 May 2015 20:53:48 -0400 Subject: Add version 1.3 site. --- .../listbinder/AnnotatedListBinderBuilder.html | 248 +++++++++++++++ .../tavianator/sangria/listbinder/ListBinder.html | 351 +++++++++++++++++++++ .../sangria/listbinder/ListBinderBuilder.html | 234 ++++++++++++++ .../class-use/AnnotatedListBinderBuilder.html | 150 +++++++++ .../sangria/listbinder/class-use/ListBinder.html | 145 +++++++++ .../listbinder/class-use/ListBinderBuilder.html | 163 ++++++++++ .../sangria/listbinder/package-frame.html | 25 ++ .../sangria/listbinder/package-summary.html | 173 ++++++++++ .../sangria/listbinder/package-tree.html | 132 ++++++++ .../tavianator/sangria/listbinder/package-use.html | 145 +++++++++ 10 files changed, 1766 insertions(+) create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html (limited to '1.3/sangria-listbinder/apidocs/com') diff --git a/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..4a97fd5 --- /dev/null +++ b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,248 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria ListBinder 1.3 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–2015. All rights reserved.

+ + diff --git a/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..351cad5 --- /dev/null +++ b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,351 @@ + + + + + + +ListBinder (Sangria ListBinder 1.3 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–2015. All rights reserved.

+ + diff --git a/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..3da5129 --- /dev/null +++ b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,234 @@ + + + + + + +ListBinderBuilder (Sangria ListBinder 1.3 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–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html new file mode 100644 index 0000000..2fa168e --- /dev/null +++ b/1.3/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html @@ -0,0 +1,173 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria ListBinder 1.3 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–2015. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.listbinder

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014–2015. All rights reserved.

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

Uses of Package
com.tavianator.sangria.listbinder

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

Copyright © 2014–2015. All rights reserved.

+ + -- cgit v1.2.3