|
||||||||||
| 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(java.lang.String uri)
Return a Facelet instance as specified by the file at the passed URI. |
abstract Facelet |
getCompositeComponentMetadataFacelet(java.net.URL url)
Create a Facelet used to create composite component metadata from the passed URL. |
abstract Facelet |
getFacelet(java.lang.String uri)
Return a Facelet instance as specified by the file at the passed URI. |
abstract Facelet |
getFacelet(java.net.URL url)
Create a Facelet from the passed URL. |
static FaceletFactory |
getInstance()
Get the static instance |
abstract Facelet |
getViewMetadataFacelet(java.lang.String uri)
Return a Facelet instance as specified by the file at the passed URI. |
abstract Facelet |
getViewMetadataFacelet(java.net.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(java.lang.String uri)
throws java.io.IOException
uri -
java.io.IOException
javax.faces.view.facelets.FaceletException
javax.faces.FacesException
javax.el.ELException
public abstract Facelet getFacelet(java.net.URL url)
throws java.io.IOException,
javax.faces.view.facelets.FaceletException,
javax.faces.FacesException,
javax.el.ELException
url - source url
java.io.IOException
javax.faces.view.facelets.FaceletException
javax.faces.FacesException
javax.el.ELException
public abstract Facelet getViewMetadataFacelet(java.lang.String uri)
throws java.io.IOException
UIViewRoot(in facet javax_faces_metadata(one or many UIViewParameter instances))
This method should be called from FaceletViewMetadata.createMetadataView(FacesContext context)
uri -
java.io.IOException
public abstract Facelet getViewMetadataFacelet(java.net.URL url)
throws java.io.IOException,
javax.faces.view.facelets.FaceletException,
javax.faces.FacesException,
javax.el.ELException
url - source url
java.io.IOException
javax.faces.view.facelets.FaceletException
javax.faces.FacesException
javax.el.ELException
public abstract Facelet getCompositeComponentMetadataFacelet(java.lang.String uri)
throws java.io.IOException
This method should be called from vdl.getComponentMetadata(FacesContext context)
uri -
java.io.IOException
public abstract Facelet getCompositeComponentMetadataFacelet(java.net.URL url)
throws java.io.IOException,
javax.faces.view.facelets.FaceletException,
javax.faces.FacesException,
javax.el.ELException
url - source url
java.io.IOException
javax.faces.view.facelets.FaceletException
javax.faces.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 | |||||||||