org.primefaces.extensions.application
Class PrimeFacesResource

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

public class PrimeFacesResource
extends javax.faces.application.ResourceWrapper

ResourceWrapper which appends the version of PrimeFaces to the URL.

Since:
0.5
Version:
$Revision: $
Author:
Thomas Andraschko / last modified by $Author: $

Field Summary
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
PrimeFacesResource(javax.faces.application.Resource resource)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getLibraryName()
           
 java.lang.String getRequestPath()
           
 java.lang.String getResourceName()
           
 javax.faces.application.Resource getWrapped()
           
 void setContentType(java.lang.String contentType)
           
 void setLibraryName(java.lang.String libraryName)
           
 void setResourceName(java.lang.String resourceName)
           
 java.lang.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

PrimeFacesResource

public PrimeFacesResource(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 java.lang.String getRequestPath()
Overrides:
getRequestPath in class javax.faces.application.ResourceWrapper

getContentType

public java.lang.String getContentType()
Overrides:
getContentType in class javax.faces.application.Resource

getLibraryName

public java.lang.String getLibraryName()
Overrides:
getLibraryName in class javax.faces.application.Resource

getResourceName

public java.lang.String getResourceName()
Overrides:
getResourceName in class javax.faces.application.Resource

setContentType

public void setContentType(java.lang.String contentType)
Overrides:
setContentType in class javax.faces.application.Resource

setLibraryName

public void setLibraryName(java.lang.String libraryName)
Overrides:
setLibraryName in class javax.faces.application.Resource

setResourceName

public void setResourceName(java.lang.String resourceName)
Overrides:
setResourceName in class javax.faces.application.Resource

toString

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


Copyright © 2011-2013. All Rights Reserved.