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(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
- IOException
FaceletException
FacesException
javax.el.ELException
public abstract Facelet getFacelet(URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url
- source urlIOException
FaceletException
FacesException
javax.el.ELException
public 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
- IOException
public abstract Facelet getViewMetadataFacelet(URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url
- source urlIOException
FaceletException
FacesException
javax.el.ELException
public abstract Facelet getCompositeComponentMetadataFacelet(String uri) throws IOException
This method should be called from vdl.getComponentMetadata(FacesContext context)
uri
- IOException
public abstract Facelet getCompositeComponentMetadataFacelet(URL url) throws IOException, FaceletException, FacesException, javax.el.ELException
url
- source urlIOException
FaceletException
FacesException
javax.el.ELException
public static final void setInstance(FaceletFactory factory)
factory
- public static final FaceletFactory getInstance()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.