com.ibm.xsp.resource
Class DojoModulePathResource
java.lang.Object
com.ibm.xsp.complex.ValueBindingObjectImpl
com.ibm.xsp.resource.AbstractResource
com.ibm.xsp.resource.DojoModulePathResource
- All Implemented Interfaces:
- ComponentBindingObject, EncodableObject, ValueBindingObject, Resource, javax.faces.component.StateHolder
public class DojoModulePathResource
- extends AbstractResource
- implements EncodableObject
Currently this is an extension point, not a Resource that can be set in the
xsp file.
Method Summary |
java.lang.String |
getPrefix()
Return the prefix for the dojo resources |
java.lang.String |
getUrl()
URL that the Dojo resource should point to |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setPrefix(java.lang.String prefix)
The prefix to be set |
void |
setUrl(java.lang.String url)
URL to be added when looking for dojo resource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RENDERER_TYPE
public static final java.lang.String RENDERER_TYPE
- See Also:
- Constant Field Values
DojoModulePathResource
public DojoModulePathResource()
DojoModulePathResource
public DojoModulePathResource(java.lang.String prefix,
java.lang.String url)
- Parameters:
prefix
- url
-
getPrefix
public java.lang.String getPrefix()
- Return the prefix for the dojo resources
- Returns:
- the prefix
getUrl
public java.lang.String getUrl()
- URL that the Dojo resource should point to
- Returns:
- the url
setPrefix
public void setPrefix(java.lang.String prefix)
- The prefix to be set
- Parameters:
prefix
-
setUrl
public void setUrl(java.lang.String url)
- URL to be added when looking for dojo resource
- Parameters:
url
-
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class AbstractResource
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class AbstractResource