From e7f80b6f125672e2c1a827168ad69ddf1cf66422 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 15 Sep 2014 21:26:16 -0400 Subject: Add latest maven 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 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html (limited to 'latest/sangria-listbinder/apidocs/com/tavianator') diff --git a/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..880704a --- /dev/null +++ b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,273 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria ListBinder 1.2-SNAPSHOT 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/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..22f7d35 --- /dev/null +++ b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,388 @@ + + + + + + +ListBinder (Sangria ListBinder 1.2-SNAPSHOT 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/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..903e135 --- /dev/null +++ b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,261 @@ + + + + + + +ListBinderBuilder (Sangria ListBinder 1.2-SNAPSHOT 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/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..36b8c65 --- /dev/null +++ b/latest/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-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

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

Hierarchy For Package com.tavianator.sangria.listbinder

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html b/latest/sangria-listbinder/apidocs/com/tavianator/sangria/listbinder/package-use.html new file mode 100644 index 0000000..eeea8b8 --- /dev/null +++ b/latest/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-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.listbinder

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3