* Registry of AttributeValue Factories supporting multiple datatypes. Any implementation of this must guarantee that there is a one-to-one relationship between AttributeValue (sub)classes and
* A valid key in this registry, i.e. valid argument for {@link #getExtension(String)}, is an identifier of a datatype corresponding to the value factory, as returned by
* bag values, typically a List for ordered results, e.g. attribute values for which order matters; or it may be a Set for result of bag/Set functions (intersection, union...)
...
...
@@ -467,7 +467,8 @@ public final class Bags
}
/**
* Creates instance of immutable attribute bag with {@link AttributeSources#REQUEST} as attribute source.
* Creates instance of immutable attribute bag with {@link AttributeSources#REQUEST} as attribute source. Use {@link #newAttributeBag(Datatype, Collection, AttributeSource)} instead if attribute
* bag comes from another source, e.g. AttributeProvider.
*
* @param values
* bag values, typically a List for ordered results, e.g. attribute values for which order matters; or it may be a Set for result of bag/Set functions (intersection, union...)