Module org.apache.wicket.core
Class ResourceReference.Key
- java.lang.Object
-
- org.apache.wicket.request.resource.ResourceReference.Key
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ResourceReference
public static class ResourceReference.Key extends Object implements Serializable
A (re-usable) data store for all relevant ResourceReference data- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Locale
getLocale()
Gets locale.String
getName()
Gets name.String
getScope()
Gets scope.Class<?>
getScopeClass()
String
getStyle()
Gets style.String
getVariation()
Gets variation.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Key
public Key(ResourceReference reference)
Construct.- Parameters:
reference
- resource reference
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
- See Also:
Object.hashCode()
-
getScope
public final String getScope()
Gets scope.- Returns:
- scope
-
getScopeClass
public final Class<?> getScopeClass()
- Returns:
- Assuming scope ist a fully qualified class name, than get the associated class
-
getName
public final String getName()
Gets name.- Returns:
- name
-
getLocale
public final Locale getLocale()
Gets locale.- Returns:
- locale
-
getStyle
public final String getStyle()
Gets style.- Returns:
- style
-
getVariation
public final String getVariation()
Gets variation.- Returns:
- variation
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-