org.primefaces.application
Class PrimeResource

java.lang.Object
  extended by javax.faces.application.ViewResource
      extended by javax.faces.application.Resource
          extended by javax.faces.application.ResourceWrapper
              extended by org.primefaces.application.PrimeResource
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.application.Resource>

public class PrimeResource
extends javax.faces.application.ResourceWrapper

ResourceWrapper which appends the version of PrimeFaces to the URL.


Field Summary
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
PrimeResource(javax.faces.application.Resource resource)
           
 
Method Summary
 String getContentType()
           
 String getLibraryName()
           
 String getRequestPath()
           
 String getResourceName()
           
 javax.faces.application.Resource getWrapped()
           
 void setContentType(String contentType)
           
 void setLibraryName(String libraryName)
           
 void setResourceName(String resourceName)
           
 String toString()
           
 
Methods inherited from class javax.faces.application.ResourceWrapper
getInputStream, getResponseHeaders, getURL, userAgentNeedsUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimeResource

public PrimeResource(javax.faces.application.Resource resource)
Method Detail

getWrapped

public javax.faces.application.Resource getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.Resource>
Overrides:
getWrapped in class javax.faces.application.ResourceWrapper

getRequestPath

public String getRequestPath()
Overrides:
getRequestPath in class javax.faces.application.ResourceWrapper

getContentType

public String getContentType()
Overrides:
getContentType in class javax.faces.application.ResourceWrapper

getLibraryName

public String getLibraryName()
Overrides:
getLibraryName in class javax.faces.application.ResourceWrapper

getResourceName

public String getResourceName()
Overrides:
getResourceName in class javax.faces.application.ResourceWrapper

setContentType

public void setContentType(String contentType)
Overrides:
setContentType in class javax.faces.application.ResourceWrapper

setLibraryName

public void setLibraryName(String libraryName)
Overrides:
setLibraryName in class javax.faces.application.ResourceWrapper

setResourceName

public void setResourceName(String resourceName)
Overrides:
setResourceName in class javax.faces.application.ResourceWrapper

toString

public String toString()
Overrides:
toString in class javax.faces.application.Resource


Copyright © 2013. All rights reserved.