com.ibm.xsp.resource
Class DojoModulePathResource

java.lang.Object
  extended by com.ibm.xsp.complex.ValueBindingObjectImpl
      extended by com.ibm.xsp.resource.AbstractResource
          extended by 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.


Field Summary
static java.lang.String RENDERER_TYPE
           
 
Fields inherited from class com.ibm.xsp.resource.AbstractResource
FAMILY
 
Constructor Summary
DojoModulePathResource()
           
DojoModulePathResource(java.lang.String prefix, java.lang.String url)
           
 
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 com.ibm.xsp.resource.AbstractResource
encodeObject, getFamily, getRendererType, getServerResourceContents, getUniqueId, isRendered, loadContents, setRendered, setRendererType
 
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.xsp.complex.EncodableObject
encodeObject
 

Field Detail

RENDERER_TYPE

public static final java.lang.String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

DojoModulePathResource

public DojoModulePathResource()

DojoModulePathResource

public DojoModulePathResource(java.lang.String prefix,
                              java.lang.String url)
Parameters:
prefix -
url -
Method Detail

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