|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.SharedResources
public class SharedResources
Constructor Summary | |
---|---|
SharedResources(ResourceReferenceRegistry registry)
|
Method Summary | |
---|---|
void |
add(java.lang.Class<?> scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style,
java.lang.String variation,
IResource resource)
Adds a resource. |
void |
add(java.lang.String name,
IResource resource)
Adds a resource. |
void |
add(java.lang.String name,
java.util.Locale locale,
IResource resource)
Adds a resource. |
ResourceReference |
get(java.lang.Class<?> scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style,
java.lang.String variation,
boolean strict)
Resolves a ResourceReference for a shared resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedResources(ResourceReferenceRegistry registry)
Method Detail |
---|
public final void add(java.lang.Class<?> scope, java.lang.String name, java.util.Locale locale, java.lang.String style, java.lang.String variation, IResource resource)
scope
- Scope of resourcename
- Logical name of resourcelocale
- The locale of the resourcestyle
- The resource style (see Session
)variation
- The component specific variation of the styleresource
- Resource to storepublic final void add(java.lang.String name, java.util.Locale locale, IResource resource)
name
- Logical name of resourcelocale
- The locale of the resourceresource
- Resource to storepublic final void add(java.lang.String name, IResource resource)
name
- Logical name of resourceresource
- Resource to storepublic ResourceReference get(java.lang.Class<?> scope, java.lang.String name, java.util.Locale locale, java.lang.String style, java.lang.String variation, boolean strict)
ResourceReference
for a shared resource.
scope
- name
- locale
- style
- variation
- strict
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |