org.richfaces.resource
Class MediaOutputResource

java.lang.Object
  extended by javax.faces.application.Resource
      extended by org.richfaces.resource.AbstractCacheableResource
          extended by org.richfaces.resource.AbstractBaseResource
              extended by org.richfaces.resource.MediaOutputResource
All Implemented Interfaces:
javax.faces.component.StateHolder, VersionedResource

public class MediaOutputResource
extends AbstractBaseResource
implements javax.faces.component.StateHolder

Since:
4.0
Author:
Nick Belaevski

Field Summary
 
Fields inherited from class org.richfaces.resource.AbstractBaseResource
URL_PROTOCOL
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
MediaOutputResource()
           
 
Method Summary
 InputStream getInputStream()
           
 void initialize(AbstractMediaOutput uiMediaOutput)
           
 boolean isTransient()
           
 void restoreState(javax.faces.context.FacesContext context, Object stateObject)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class org.richfaces.resource.AbstractBaseResource
getClassLoader, getContentLength, getEntityTag, getExpires, getLastModified, getRequestPath, getResponseHeaders, getTimeToLive, getURL, getVersion, isCacheable, setCacheable, setVersion
 
Methods inherited from class org.richfaces.resource.AbstractCacheableResource
isMatchesEntityTag, isMatchesEntityTag, isMatchesLastModified, isMatchesLastModified, userAgentNeedsUpdate
 
Methods inherited from class javax.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaOutputResource

public MediaOutputResource()
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in class javax.faces.application.Resource
Throws:
IOException

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface javax.faces.component.StateHolder

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object stateObject)
Specified by:
restoreState in interface javax.faces.component.StateHolder

initialize

public void initialize(AbstractMediaOutput uiMediaOutput)
Parameters:
uiMediaOutput -


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.