- All Implemented Interfaces:
Serializable
Attribute
: Has name, still needs scope or context.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Supports attributes in extensible contexts, loaded viaServiceLoader.load(java.lang.Class)
on each access tocontext(java.lang.Object)
.static interface
Supports scope attributes in extensible scopes, loaded viaServiceLoader.load(java.lang.Class)
on each access toscope(java.lang.Class)
. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontext
(C context) Attribute
: Uses the given context and this name.getName()
Gets the attribute Name.<C> Scope.Attribute
<C, T> Attribute
: Uses the given scope and this name, still needs context.<C> Scope.Attribute
<C, T> Attribute
: Uses the given scope (located by content type) and this name, still needs context.
-
Field Details
-
name
-
-
Constructor Details
-
Name
-
-
Method Details
-
getName
Gets the attribute Name. -
scope
Attribute
: Uses the given scope (located by content type) and this name, still needs context.Performance: This loads
Attribute.Name.ScopeFactory
viaServiceLoader.load(java.lang.Class)
on every call. It is strongly encouraged to use subclass-specific implementations where performance is critical. -
scope
Attribute
: Uses the given scope and this name, still needs context. -
context
Attribute
: Uses the given context and this name.Performance: This loads
Attribute.Name.ContextFactory
viaServiceLoader.load(java.lang.Class)
on every call. It is strongly encouraged to use subclass-specific implementations where performance is critical.
-