Index
All Classes and Interfaces|All Packages|Serialized Form
A
- activate(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Registry
-
Activates the given groups.
- activate(Group.Name) - Method in class com.aoapps.web.resources.registry.Registry
-
Activates the given group.
- activate(Group.Name...) - Method in class com.aoapps.web.resources.registry.Registry
-
Activates the given groups.
- activate(Iterable<Group.Name>) - Method in class com.aoapps.web.resources.registry.Registry
-
Activates the given groups.
- activate(String) - Method in class com.aoapps.web.resources.registry.Registry
-
Activates the given group.
- activate(String...) - Method in class com.aoapps.web.resources.registry.Registry
-
Activates the given groups.
- add(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds new scripts, if not already present.
- add(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds new styles, if not already present.
- add(Script...) - Method in class com.aoapps.web.resources.registry.Scripts
- add(Style...) - Method in class com.aoapps.web.resources.registry.Styles
- add(Iterable<Script>) - Method in class com.aoapps.web.resources.registry.Scripts
- add(Iterable<Style>) - Method in class com.aoapps.web.resources.registry.Styles
- add(Iterable<R>) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds new resources, if not already present.
- add(String) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds a new script, if not already present.
- add(String) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds a new style, if not already present.
- add(String...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds new scripts, if not already present.
- add(String...) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds new styles, if not already present.
- add(R) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds a new resource, if not already present.
- add(R...) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds new resources, if not already present.
- addOrdering(boolean, Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds ordering constraints between multiple scripts, if not already present.
- addOrdering(boolean, Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds ordering constraints between multiple styles, if not already present.
- addOrdering(boolean, Script...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds ordering constraints between multiple resources, if not already present.
- addOrdering(boolean, Style...) - Method in class com.aoapps.web.resources.registry.Styles
- addOrdering(boolean, Iterable<Script>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds ordering constraints between multiple resources, if not already present.
- addOrdering(boolean, Iterable<Style>) - Method in class com.aoapps.web.resources.registry.Styles
- addOrdering(boolean, Iterable<R>) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds ordering constraints between multiple resources, if not already present.
- addOrdering(boolean, String...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds ordering constraints between multiple scripts, if not already present.
- addOrdering(boolean, String...) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds ordering constraints between multiple styles, if not already present.
- addOrdering(boolean, String, String) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds an ordering constraint between two scripts.
- addOrdering(boolean, String, String) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds an ordering constraint between two styles.
- addOrdering(boolean, R...) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds ordering constraints between multiple resources, if not already present.
- addOrdering(boolean, R, R) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds an ordering constraint between two resources.
- addOrdering(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds required ordering constraints between multiple scripts, if not already present.
- addOrdering(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds required ordering constraints between multiple styles, if not already present.
- addOrdering(Script...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds required ordering constraints between multiple resources, if not already present.
- addOrdering(Style...) - Method in class com.aoapps.web.resources.registry.Styles
- addOrdering(Iterable<Script>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds required ordering constraints between multiple resources, if not already present.
- addOrdering(Iterable<Style>) - Method in class com.aoapps.web.resources.registry.Styles
- addOrdering(Iterable<R>) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds required ordering constraints between multiple resources, if not already present.
- addOrdering(String...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds required ordering constraints between multiple scripts, if not already present.
- addOrdering(String...) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds required ordering constraints between multiple styles, if not already present.
- addOrdering(String, String) - Method in class com.aoapps.web.resources.registry.Scripts
-
Adds a required ordering constraint between two scripts.
- addOrdering(String, String) - Method in class com.aoapps.web.resources.registry.Styles
-
Adds a required ordering constraint between two styles.
- addOrdering(R...) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds required ordering constraints between multiple resources, if not already present.
- addOrdering(R, R) - Method in class com.aoapps.web.resources.registry.Resources
-
Adds a required ordering constraint between two resources.
- async(boolean) - Method in class com.aoapps.web.resources.registry.Script.Builder
B
- BODY_END - Enum constant in enum com.aoapps.web.resources.registry.Script.Position
-
Scripts added just before the body closing tag.
- BODY_START - Enum constant in enum com.aoapps.web.resources.registry.Script.Position
-
Scripts added just after the body opening tag.
- build() - Method in class com.aoapps.web.resources.registry.Resource.Builder
- build() - Method in class com.aoapps.web.resources.registry.Script.Builder
- build() - Method in class com.aoapps.web.resources.registry.Style.Builder
- builder() - Static method in class com.aoapps.web.resources.registry.Script
- builder() - Static method in class com.aoapps.web.resources.registry.Style
- Builder() - Constructor for class com.aoapps.web.resources.registry.Resource.Builder
- Builder() - Constructor for class com.aoapps.web.resources.registry.Script.Builder
- Builder() - Constructor for class com.aoapps.web.resources.registry.Style.Builder
C
- checkName(String) - Static method in class com.aoapps.web.resources.registry.Group.Name
-
Checks a group name.
- checkOrdering(Script, Script) - Method in class com.aoapps.web.resources.registry.Scripts
-
Checks that the before and after ordering is allowed.
- checkOrdering(R, R) - Method in class com.aoapps.web.resources.registry.Resources
-
Checks that the before and after ordering is allowed.
- com.aoapps.web.resources.registry - module com.aoapps.web.resources.registry
- com.aoapps.web.resources.registry - package com.aoapps.web.resources.registry
- COMPARATOR - Static variable in class com.aoapps.web.resources.registry.Script
-
Scripts start with a default ordering that should minimize the number of explicit ordering declarations.
- COMPARATOR - Static variable in class com.aoapps.web.resources.registry.Style
-
Styles start with a default ordering that should minimize the number of explicit ordering declarations: TODO: Review that this is the best default ordering.
- compareTo(Group.Name) - Method in class com.aoapps.web.resources.registry.Group.Name
- compareTo(Script) - Method in class com.aoapps.web.resources.registry.Script
-
All concrete implementations of Resource must be comparable to themselves.
- compareTo(Style) - Method in class com.aoapps.web.resources.registry.Style
-
All concrete implementations of Resource must be comparable to themselves.
- compareTo(R) - Method in class com.aoapps.web.resources.registry.Resource
-
All concrete implementations of Resource must be comparable to themselves.
- copy() - Method in class com.aoapps.web.resources.registry.Group
-
Gets a deep copy of this group.
- copy() - Method in class com.aoapps.web.resources.registry.Registry
-
Gets a deep copy of this registry.
- copy() - Method in class com.aoapps.web.resources.registry.Resources
-
Gets a deep copy of these resources.
- copy() - Method in class com.aoapps.web.resources.registry.Scripts
-
Gets a deep copy of these resources.
- copy() - Method in class com.aoapps.web.resources.registry.Styles
-
Gets a deep copy of these resources.
- crossorigin(String) - Method in class com.aoapps.web.resources.registry.Script.Builder
-
Sets the crossorigin, which defaults to
null
. - crossorigin(String) - Method in class com.aoapps.web.resources.registry.Style.Builder
-
Sets the crossorigin, which defaults to
null
.
D
- deactivate(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Registry
-
Deactivates the given groups.
- deactivate(Group.Name) - Method in class com.aoapps.web.resources.registry.Registry
-
Deactivates the given group.
- deactivate(Group.Name...) - Method in class com.aoapps.web.resources.registry.Registry
-
Deactivates the given groups.
- deactivate(Iterable<Group.Name>) - Method in class com.aoapps.web.resources.registry.Registry
-
Deactivates the given groups.
- deactivate(String) - Method in class com.aoapps.web.resources.registry.Registry
-
Deactivates the given group.
- deactivate(String...) - Method in class com.aoapps.web.resources.registry.Registry
-
Deactivates the given groups.
- DEFAULT - Static variable in enum com.aoapps.web.resources.registry.Script.Position
-
The default position.
- defer(boolean) - Method in class com.aoapps.web.resources.registry.Script.Builder
-
Sets the defer, which defaults to
false
. - direction(Style.Direction) - Method in class com.aoapps.web.resources.registry.Style.Builder
-
Sets the direction, which defaults to
null
. - disabled(boolean) - Method in class com.aoapps.web.resources.registry.Style.Builder
-
Sets the disabled flag, which defaults to
false
.
E
- equals(Object) - Method in class com.aoapps.web.resources.registry.Group.Name
- equals(Object) - Method in class com.aoapps.web.resources.registry.Resource
-
Two resources may be compared to see if they are exactly equal, including all relevant attributes.
- equals(Object) - Method in class com.aoapps.web.resources.registry.Script
- equals(Object) - Method in class com.aoapps.web.resources.registry.Style
G
- getActivations() - Method in class com.aoapps.web.resources.registry.Registry
-
Gets an unmodifiable view of the current activations.
- getCrossorigin() - Method in class com.aoapps.web.resources.registry.Script
-
Gets the optional crossorigin policy.
- getCrossorigin() - Method in class com.aoapps.web.resources.registry.Style
-
Gets the optional crossorigin policy.
- getDirection() - Method in class com.aoapps.web.resources.registry.Style
-
Gets the direction for the style.
- getDirection(String) - Static method in enum com.aoapps.web.resources.registry.Style.Direction
-
Gets the expected direction for the given language.
- getDirection(Locale) - Static method in enum com.aoapps.web.resources.registry.Style.Direction
-
Gets the expected direction for the given locale.
- getGroup(Group.Name) - Method in class com.aoapps.web.resources.registry.Registry
-
Gets the group for a given name, creating it if not already present.
- getGroup(Group.Name, boolean) - Method in class com.aoapps.web.resources.registry.Registry
-
Gets the group for a given name, optionally creating it if not already present.
- getGroup(String) - Method in class com.aoapps.web.resources.registry.Registry
-
Gets the group for a given name, creating it if not already present.
- getGroup(String, boolean) - Method in class com.aoapps.web.resources.registry.Registry
-
Gets the group for a given name, optionally creating it if not already present.
- getMedia() - Method in class com.aoapps.web.resources.registry.Style
-
Gets the optional media condition.
- getPosition() - Method in class com.aoapps.web.resources.registry.Script
-
Gets this script position.
- getResources(Class<R>, SerializableFunction<? super Collection<S>, S>) - Method in class com.aoapps.web.resources.registry.Group
-
Gets the resources for a given type.
- getSnapshot() - Method in class com.aoapps.web.resources.registry.Resources
-
Gets a snapshot copy of the current set of resources, in no particular order.
- getSorted() - Method in class com.aoapps.web.resources.registry.Resources
-
Gets the set of all resources of the given class, first with their natural ordering, then with a topological sort to manage ordering constraints.
- getUri() - Method in class com.aoapps.web.resources.registry.Resource
-
Gets the URI if the resource.
- Group - Class in com.aoapps.web.resources.registry
-
Groups are named sets of resources, along with ordering requirements.
- Group() - Constructor for class com.aoapps.web.resources.registry.Group
-
Creates a new group.
- Group(Group) - Constructor for class com.aoapps.web.resources.registry.Group
-
Copy constructor.
- Group(Collection<? extends Group>) - Constructor for class com.aoapps.web.resources.registry.Group
-
Union constructor.
- Group.Name - Class in com.aoapps.web.resources.registry
-
A valid group name.
H
- hashCode() - Method in class com.aoapps.web.resources.registry.Group.Name
- hashCode() - Method in class com.aoapps.web.resources.registry.Resource
-
The hash key must be consistent with
Resource.equals(java.lang.Object)
. - hashCode() - Method in class com.aoapps.web.resources.registry.Script
- hashCode() - Method in class com.aoapps.web.resources.registry.Style
- HEAD_END - Enum constant in enum com.aoapps.web.resources.registry.Script.Position
-
Scripts added just before the head closing tag.
- HEAD_START - Enum constant in enum com.aoapps.web.resources.registry.Script.Position
-
Scripts added just after the head opening tag.
I
- isAsync() - Method in class com.aoapps.web.resources.registry.Script
-
Gets this script is asynchronous.
- isDefer() - Method in class com.aoapps.web.resources.registry.Script
-
Gets this script is deferred.
- isDisabled() - Method in class com.aoapps.web.resources.registry.Style
-
Style may be disabled by default, then enabled via JavaScript.
- isEmpty() - Method in class com.aoapps.web.resources.registry.Group
-
Gets all resources are empty.
- isEmpty() - Method in class com.aoapps.web.resources.registry.Registry
-
Empty when there are no activations and all groups are empty.
- isEmpty() - Method in class com.aoapps.web.resources.registry.Resources
-
Gets these resources are empty.
L
- LTR - Enum constant in enum com.aoapps.web.resources.registry.Style.Direction
-
Left-to-right.
M
- media(String) - Method in class com.aoapps.web.resources.registry.Style.Builder
-
Sets the media, which defaults to
null
.
N
- Name(String) - Constructor for class com.aoapps.web.resources.registry.Group.Name
P
- position(Script.Position) - Method in class com.aoapps.web.resources.registry.Script.Builder
-
Sets the position, which defaults to
Script.Position.DEFAULT
.
R
- Registry - Class in com.aoapps.web.resources.registry
-
A registry contains a set of groups, along with activations.
- Registry() - Constructor for class com.aoapps.web.resources.registry.Registry
- Registry(Registry) - Constructor for class com.aoapps.web.resources.registry.Registry
-
Copy constructor.
- remove(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes scripts.
- remove(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes styles.
- remove(Script...) - Method in class com.aoapps.web.resources.registry.Scripts
- remove(Style...) - Method in class com.aoapps.web.resources.registry.Styles
- remove(Iterable<Script>) - Method in class com.aoapps.web.resources.registry.Scripts
- remove(Iterable<Style>) - Method in class com.aoapps.web.resources.registry.Styles
- remove(Iterable<R>) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes resources.
- remove(String) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes a script.
- remove(String) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes a style.
- remove(String...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes scripts.
- remove(String...) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes styles.
- remove(R) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes a resource.
- remove(R...) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes resources.
- removeOrdering(boolean, Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes ordering constraints between multiple scripts.
- removeOrdering(boolean, Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes ordering constraints between multiple styles.
- removeOrdering(boolean, Script...) - Method in class com.aoapps.web.resources.registry.Scripts
- removeOrdering(boolean, Style...) - Method in class com.aoapps.web.resources.registry.Styles
- removeOrdering(boolean, Iterable<Script>) - Method in class com.aoapps.web.resources.registry.Scripts
- removeOrdering(boolean, Iterable<Style>) - Method in class com.aoapps.web.resources.registry.Styles
- removeOrdering(boolean, Iterable<R>) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes ordering constraints between multiple resources.
- removeOrdering(boolean, String...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes ordering constraints between multiple scripts.
- removeOrdering(boolean, String...) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes ordering constraints between multiple styles.
- removeOrdering(boolean, String, String) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes an ordering constraint between two scripts.
- removeOrdering(boolean, String, String) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes an ordering constraint between two styles.
- removeOrdering(boolean, R...) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes ordering constraints between multiple resources.
- removeOrdering(boolean, R, R) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes an ordering constraint between two resources.
- removeOrdering(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes required ordering constraints between multiple scripts.
- removeOrdering(Iterables.String<?>) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes required ordering constraints between multiple styles.
- removeOrdering(Script...) - Method in class com.aoapps.web.resources.registry.Scripts
- removeOrdering(Style...) - Method in class com.aoapps.web.resources.registry.Styles
- removeOrdering(Iterable<Script>) - Method in class com.aoapps.web.resources.registry.Scripts
- removeOrdering(Iterable<Style>) - Method in class com.aoapps.web.resources.registry.Styles
- removeOrdering(Iterable<R>) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes required ordering constraints between multiple resources.
- removeOrdering(String...) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes required ordering constraints between multiple scripts.
- removeOrdering(String...) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes required ordering constraints between multiple styles.
- removeOrdering(String, String) - Method in class com.aoapps.web.resources.registry.Scripts
-
Removes a required ordering constraint between two scripts.
- removeOrdering(String, String) - Method in class com.aoapps.web.resources.registry.Styles
-
Removes a required ordering constraint between two styles.
- removeOrdering(R...) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes required ordering constraints between multiple resources.
- removeOrdering(R, R) - Method in class com.aoapps.web.resources.registry.Resources
-
Removes a required ordering constraint between two resources.
- Resource<R> - Class in com.aoapps.web.resources.registry
-
A resource given its full URL or application context-relative path.
- Resource(String) - Constructor for class com.aoapps.web.resources.registry.Resource
-
Creates a new resource.
- Resource.Builder<R> - Class in com.aoapps.web.resources.registry
-
Base builder pattern.
- Resources<R> - Class in com.aoapps.web.resources.registry
-
A set of resources for a single class.
- Resources() - Constructor for class com.aoapps.web.resources.registry.Resources
- Resources(Resources<R>) - Constructor for class com.aoapps.web.resources.registry.Resources
-
Copy constructor.
- Resources(Collection<? extends Resources<R>>) - Constructor for class com.aoapps.web.resources.registry.Resources
-
Union constructor.
- RTL - Enum constant in enum com.aoapps.web.resources.registry.Style.Direction
-
Right-to-left.
S
- Script - Class in com.aoapps.web.resources.registry
-
A script is identified by URI, but has other constraints.
- Script(String) - Constructor for class com.aoapps.web.resources.registry.Script
-
Creates a new script.
- Script(String, Script.Position, boolean, boolean, String) - Constructor for class com.aoapps.web.resources.registry.Script
-
Creates a new script.
- Script.Builder - Class in com.aoapps.web.resources.registry
-
Builder pattern for
Script
. - Script.Position - Enum in com.aoapps.web.resources.registry
-
The set of allowed script locations.
- scripts - Variable in class com.aoapps.web.resources.registry.Group
-
The partition for scripts.
- Scripts - Class in com.aoapps.web.resources.registry
-
A partition with some extra convenience overloads for
Script
. - setActivation(Group.Name, Boolean) - Method in class com.aoapps.web.resources.registry.Registry
-
Sets the activation for the given group.
- Style - Class in com.aoapps.web.resources.registry
-
A CSS stylesheet is identified by URI, but has other constraints.
- Style(String) - Constructor for class com.aoapps.web.resources.registry.Style
-
Creates a new style.
- Style(String, String, Style.Direction, String, boolean) - Constructor for class com.aoapps.web.resources.registry.Style
-
Creates a new style.
- Style.Builder - Class in com.aoapps.web.resources.registry
-
Builder pattern for
Style
. - Style.Direction - Enum in com.aoapps.web.resources.registry
-
The direction of a
Style
. - styles - Variable in class com.aoapps.web.resources.registry.Group
-
The partition for CSS styles.
- Styles - Class in com.aoapps.web.resources.registry
-
A partition with some extra convenience overloads for
Style
.
T
- toString() - Method in class com.aoapps.web.resources.registry.Group.Name
- toString() - Method in class com.aoapps.web.resources.registry.Resource
- toString() - Method in class com.aoapps.web.resources.registry.Script
- toString() - Method in class com.aoapps.web.resources.registry.Style
U
- union(Collection<Scripts>) - Static method in class com.aoapps.web.resources.registry.Scripts
-
Gets a the union of multiple groups.
- union(Collection<Styles>) - Static method in class com.aoapps.web.resources.registry.Styles
-
Gets a the union of multiple groups.
- uri - Variable in class com.aoapps.web.resources.registry.Resource.Builder
- uri(String) - Method in class com.aoapps.web.resources.registry.Resource.Builder
- uri(String) - Method in class com.aoapps.web.resources.registry.Script.Builder
- uri(String) - Method in class com.aoapps.web.resources.registry.Style.Builder
V
- validate(String) - Static method in class com.aoapps.web.resources.registry.Group.Name
-
Validates a
Group
name. - valueOf(String) - Static method in enum com.aoapps.web.resources.registry.Script.Position
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aoapps.web.resources.registry.Style.Direction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.aoapps.web.resources.registry.Script.Position
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aoapps.web.resources.registry.Style.Direction
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form