org.apache.wicket.resource.dependencies
Enum AbstractResourceDependentResourceReference.ResourceType

java.lang.Object
  extended by java.lang.Enum<AbstractResourceDependentResourceReference.ResourceType>
      extended by org.apache.wicket.resource.dependencies.AbstractResourceDependentResourceReference.ResourceType
All Implemented Interfaces:
Serializable, Comparable<AbstractResourceDependentResourceReference.ResourceType>
Enclosing class:
AbstractResourceDependentResourceReference

public static enum AbstractResourceDependentResourceReference.ResourceType
extends Enum<AbstractResourceDependentResourceReference.ResourceType>

The type of resource that an AbstractResourceDependentResourceReference represents.

Author:
Jeremy Thomerson

Enum Constant Summary
CSS
          CSS reference
JS
          JavaScript reference
PLAIN
          plain text
 
Method Summary
static AbstractResourceDependentResourceReference.ResourceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractResourceDependentResourceReference.ResourceType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JS

public static final AbstractResourceDependentResourceReference.ResourceType JS
JavaScript reference


CSS

public static final AbstractResourceDependentResourceReference.ResourceType CSS
CSS reference


PLAIN

public static final AbstractResourceDependentResourceReference.ResourceType PLAIN
plain text

Method Detail

values

public static final AbstractResourceDependentResourceReference.ResourceType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AbstractResourceDependentResourceReference.ResourceType c : AbstractResourceDependentResourceReference.ResourceType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static AbstractResourceDependentResourceReference.ResourceType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.