public class DefaultFaceletFactory
extends com.sun.facelets.FaceletFactory
Copied from facelets-1.1.15.B1 by Jean-Marc Orliaguet
Constructor and Description |
---|
DefaultFaceletFactory(com.sun.facelets.compiler.Compiler compiler,
com.sun.facelets.impl.ResourceResolver resolver) |
DefaultFaceletFactory(com.sun.facelets.compiler.Compiler compiler,
com.sun.facelets.impl.ResourceResolver resolver,
long refreshPeriod) |
Modifier and Type | Method and Description |
---|---|
com.sun.facelets.compiler.Compiler |
getCompiler()
Compiler this factory uses
|
com.sun.facelets.Facelet |
getFacelet(String uri) |
com.sun.facelets.Facelet |
getFacelet(URL url)
Create a Facelet from the passed URL.
|
long |
getRefreshPeriod() |
URL |
resolveURL(URL source,
String path)
Resolves a path based on the passed URL.
|
public DefaultFaceletFactory(com.sun.facelets.compiler.Compiler compiler, com.sun.facelets.impl.ResourceResolver resolver) throws IOException
IOException
public DefaultFaceletFactory(com.sun.facelets.compiler.Compiler compiler, com.sun.facelets.impl.ResourceResolver resolver, long refreshPeriod)
public com.sun.facelets.Facelet getFacelet(String uri) throws IOException, com.sun.facelets.FaceletException, FacesException, ELException
getFacelet
in class com.sun.facelets.FaceletFactory
IOException
com.sun.facelets.FaceletException
FacesException
ELException
public URL resolveURL(URL source, String path) throws IOException
javax.faces.context.ExternalContext#getResource(java.lang.String)
.
Otherwise create a new URL via
URL(URL, String)
.source
- base to resolve frompath
- relative path to the sourceIOException
public com.sun.facelets.Facelet getFacelet(URL url) throws IOException, com.sun.facelets.FaceletException, FacesException, ELException
url
- source urlIOException
com.sun.facelets.FaceletException
FacesException
ELException
public com.sun.facelets.compiler.Compiler getCompiler()
public long getRefreshPeriod()
Copyright © 2011 Nuxeo SA. All Rights Reserved.