|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.resource.PageResource
public final class PageResource
Definition for a CSS or JavaScript resource that should be added to the page. Specifies a URI for a css or js file.
| Nested Class Summary | |
|---|---|
static class |
PageResource.ResourceLocationEnumeration representing the type of resources that may be added to the HEAD element of the document. |
static class |
PageResource.ResourceTypeEnumeration representing the type of resources that may be added to the HEAD element of the document. |
| Constructor Summary | |
|---|---|
PageResource(PageResource.ResourceType type, PageResource.ResourceLocation location, String value)Constructor |
|
PageResource(PageResource.ResourceType type, String uri)Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj) |
PageResource.ResourceLocation |
getLocation()Get the resource location |
PageResource.ResourceType |
getType()Get the resource type |
String |
getURI()Deprecated. use getValue() instead |
String |
getValue()The URI or the content depending on the location |
int |
hashCode() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageResource(PageResource.ResourceType type,
String uri)
type - The type of resource this is (CSS or JavaScript)uri - The URI to the resource
public PageResource(PageResource.ResourceType type,
PageResource.ResourceLocation location,
String value)
type - The type of resource this is (CSS or JavaScript)location - The location of the resource, requiredvalue - The URI or the in-line content, required| Method Detail |
|---|
public PageResource.ResourceLocation getLocation()
public PageResource.ResourceType getType()
@Deprecated
public String getURI()
getValue() insteadpublic String getValue()
getLocation()public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2013 Oracle Corporation. All Rights Reserved.