Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.ajax4jsf.resource

Package for manipulate page resources ( images, scripts, styles, applets etc ) at Java Server Faces render Phase and at request phase of concrete resource.

See:
Description

Class Summary
BaseResourceRenderer |
CacheContext |
CachedResourceContext |
CompressedScriptRenderer |
CountingOutputWriter | Class provides custom writer implementation with counting of bytes written Is using for replacement of css component writer
FacesResourceContext |
HTMLRenderer |
InternetResourceBase | Base class for all Html page resources - images, scripts, styles etc.
InternetResourceService |
JarResource | Class stoped all resources in application classpath.
Java2Dresource |
LogfileRenderer |
MimeRenderer |
OneTimeRenderer | Base class for resources, rendered only one time in page ( JavaScript, CSS )
ResourceLifecycle | Lifecycle for simulate faces request processing for resource.
ScriptRenderer |
ServletResourceContext |
StaticResource |
StyleRenderer | Render style element with content in page.
URIInternetResource |
UserResource |
UserResource.UriData |

## Package org.ajax4jsf.resource Description

# Package for manipulate page resources ( images, scripts, styles, applets etc ) at Java Server Faces render Phase and at request phase of concrete resource.

Note: The resource framework implements the Lightweight design patter. Therefore, the resource classes should not contain data depends of the particular request. The data is taken from the `javax.context.FacesContext` and `javax.component.UIComponent`, that is passed as a parameter when html is generated. For passing the data with URI, the `InternetResourceBase` class has getDataToSave method. It is invoked when the generation is taken place. The returned object is serialized. Then, restoreData method de-serialize it back. The `InternetResourceBuilder` class controls this process.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

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