public abstract class FaceletFactory extends Object
| Constructor and Description | 
|---|
| FaceletFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Facelet | getCompositeComponentMetadataFacelet(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(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(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 abstract Facelet getFacelet(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(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(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 static final void setInstance(FaceletFactory factory)
factory - public static final FaceletFactory getInstance()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.