public abstract class FaceletFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LAST_RESOURCE_RESOLVED |
| Constructor and Description |
|---|
FaceletFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Facelet |
compileComponentFacelet(String taglibURI,
String tagName,
Map<String,Object> attributes)
Compile a component tag on the fly.
|
abstract Facelet |
getCompositeComponentMetadataFacelet(FacesContext context,
String uri)
Return a Facelet instance as specified by the file at the passed URI.
|
abstract Facelet |
getCompositeComponentMetadataFacelet(URL url)
Create a Facelet used to create composite component metadata from the passed URL.
|
abstract Facelet |
getFacelet(FaceletContext ctx,
URL url)
Create a Facelet from the passed URL, but take into account the context.
|
abstract Facelet |
getFacelet(FacesContext context,
String uri)
Return a Facelet instance as specified by the file at the passed URI.
|
abstract Facelet |
getFacelet(URL url)
Create a Facelet from the passed URL.
|
static FaceletFactory |
getInstance()
Get the static instance
|
abstract Facelet |
getViewMetadataFacelet(FacesContext context,
String uri)
Return a Facelet instance as specified by the file at the passed URI.
|
abstract Facelet |
getViewMetadataFacelet(URL url)
Create a Facelet used to create view metadata from the passed URL.
|
static void |
setInstance(FaceletFactory factory)
Set the static instance
|
public static final String LAST_RESOURCE_RESOLVED
public abstract Facelet getFacelet(FacesContext context, String uri) throws IOException
uri - IOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract Facelet getFacelet(URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url - source urlIOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract Facelet getFacelet(FaceletContext ctx, URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url - source urlIOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract Facelet getViewMetadataFacelet(FacesContext context, String uri) throws IOException
UIViewRoot(in facet javax_faces_metadata(one or many UIViewParameter instances))
This method should be called from FaceletViewMetadata.createMetadataView(FacesContext context)
uri - IOExceptionpublic abstract Facelet getViewMetadataFacelet(URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url - source urlIOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract Facelet getCompositeComponentMetadataFacelet(FacesContext context, String uri) throws IOException
This method should be called from vdl.getComponentMetadata(FacesContext context)
uri - IOExceptionpublic abstract Facelet getCompositeComponentMetadataFacelet(URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url - source urlIOExceptionFaceletExceptionFacesExceptionjavax.el.ELExceptionpublic abstract Facelet compileComponentFacelet(String taglibURI, String tagName, Map<String,Object> attributes)
taglibURI - tagName - attributes - public static final void setInstance(FaceletFactory factory)
factory - public static final FaceletFactory getInstance()
Copyright © 2022 The Apache Software Foundation. All rights reserved.