org.richfaces.resource
Class MediaOutputResource
java.lang.Object
javax.faces.application.Resource
org.richfaces.resource.AbstractCacheableResource
org.richfaces.resource.AbstractBaseResource
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
Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
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 javax.faces.application.Resource |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString |
MediaOutputResource
public MediaOutputResource()
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.