|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.view.facelets.FaceletFactory
public abstract class FaceletFactory
FaceletFactory for producing Facelets relative to the context of the underlying implementation.
| Constructor Summary | |
|---|---|
FaceletFactory()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FaceletFactory()
| Method Detail |
|---|
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 url
IOException
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 url
IOException
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 url
IOException
FaceletException
FacesException
javax.el.ELExceptionpublic static final void setInstance(FaceletFactory factory)
factory - public static final FaceletFactory getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||