|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
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.ResourceLocation Enumeration representing the type of resources that may be added to the HEAD element of the document. |
static class |
PageResource.ResourceType Enumeration 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, java.lang.String value) Constructor |
|
PageResource(PageResource.ResourceType type, java.lang.String uri) Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
PageResource.ResourceLocation |
getLocation() Get the resource location |
PageResource.ResourceType |
getType() Get the resource type |
java.lang.String |
getURI() Deprecated. use getValue() instead |
java.lang.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, java.lang.String uri)
type
- The type of resource this is (CSS or JavaScript)uri
- The URI to the resourcepublic PageResource(PageResource.ResourceType type, PageResource.ResourceLocation location, java.lang.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, requiredMethod Detail |
---|
public PageResource.ResourceLocation getLocation()
public PageResource.ResourceType getType()
@Deprecated
public java.lang.String getURI()
getValue()
insteadpublic java.lang.String getValue()
getLocation()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |