Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-04


oracle.adf.view.rich.resource
Enum PageResource.ResourceType

java.lang.Object
  extended by java.lang.Enum<PageResource.ResourceType>
      extended by oracle.adf.view.rich.resource.PageResource.ResourceType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PageResource.ResourceType>
Enclosing class:
PageResource

public static enum PageResource.ResourceType
extends java.lang.Enum<PageResource.ResourceType>

Enumeration representing the type of resources that may be added to the HEAD element of the document.

See Also:
RichDocument.addResource(PageResource)

Enum Constant Summary
CSS
          text/css, to be rendered in a <style/> or <link> element
JAVASCRIPT
          text/javascript, to be rendered in a <script/> element

 

Method Summary
static PageResource.ResourceType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PageResource.ResourceType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

CSS

public static final PageResource.ResourceType CSS
text/css, to be rendered in a <style/> or <link> element

JAVASCRIPT

public static final PageResource.ResourceType JAVASCRIPT
text/javascript, to be rendered in a <script/> element

Method Detail

values

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

valueOf

public static PageResource.ResourceType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-04


Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.