|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.component.util.descriptors.Resource
public class Resource
This class holds information that describes a Resource. It
provides access to a ResourceFactory
for obtaining the
actual Resource object described by this descriptor. See the
layout.dtd file for more information on how to define a Resource
via XML. The LayoutDefinition will add all defined Resources to
the Request scope for easy access (including via JSF EL).
Constructor Summary | |
---|---|
Resource(java.lang.String id,
java.lang.String extraInfo,
java.lang.String factoryClass)
Constructor |
Method Summary | |
---|---|
protected ResourceFactory |
createFactory()
This method creates a new factory. |
java.lang.String |
getExtraInfo()
This holds "extraInfo" for the Resource, such as a ResourceBundle baseName. |
ResourceFactory |
getFactory()
This method provides access to the ResourceFactory. |
java.lang.String |
getId()
Accessor method for ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resource(java.lang.String id, java.lang.String extraInfo, java.lang.String factoryClass)
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getExtraInfo()
public ResourceFactory getFactory()
protected ResourceFactory createFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |