| java.lang.Object com.sun.facelets.FaceletFactory com.sun.facelets.impl.DefaultFaceletFactory
DefaultFaceletFactory | final public class DefaultFaceletFactory extends FaceletFactory (Code) | | Default FaceletFactory implementation.
author: Jacob Hookom version: $Id: DefaultFaceletFactory.java,v 1.10 2007/04/09 01:13:17 youngm version: Exp $ |
Field Summary | |
final protected static Logger | log |
getCompiler | public Compiler getCompiler()(Code) | | Compiler this factory uses
final Compiler instance |
getFacelet | public Facelet getFacelet(URL url) throws IOException, FaceletException, FacesException, ELException(Code) | | Create a Facelet from the passed URL. This method checks if the cached
Facelet needs to be refreshed before returning. If so, uses the passed
URL to build a new instance;
Parameters: url - source url Facelet instance throws: IOException - throws: FaceletException - throws: FacesException - throws: ELException - |
getRefreshPeriod | public long getRefreshPeriod()(Code) | | |
needsToBeRefreshed | protected boolean needsToBeRefreshed(DefaultFacelet facelet)(Code) | | Template method for determining if the Facelet needs to be refreshed.
Parameters: facelet - Facelet that could have expired true if it needs to be refreshed |
resolveURL | public URL resolveURL(URL source, String path) throws IOException(Code) | | Resolves a path based on the passed URL. If the path starts with '/',
then resolve the path against
javax.faces.context.ExternalContext.getResource(java.lang.String) javax.faces.context.ExternalContext#getResource(java.lang.String) .
Otherwise create a new URL via
URL.URL(java.net.URLjava.lang.String) URL(URL, String) .
Parameters: source - base to resolve from Parameters: path - relative path to the source resolved URL throws: IOException - |
|
|