org.apache.myfaces.view.facelets
Class AbstractFacelet
java.lang.Object
org.apache.myfaces.view.facelets.Facelet
org.apache.myfaces.view.facelets.AbstractFacelet
public abstract class AbstractFacelet
- extends Facelet
- Since:
- 2.0.1
- Version:
- $Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
- Author:
- Leonardo Uribe (latest modification by $Author: bommel $)
Methods inherited from class org.apache.myfaces.view.facelets.Facelet |
apply |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFacelet
public AbstractFacelet()
getExpressionFactory
public abstract javax.el.ExpressionFactory getExpressionFactory()
- Return this Facelet's ExpressionFactory instance
- Returns:
- internal ExpressionFactory instance
include
public abstract void include(AbstractFaceletContext ctx,
UIComponent parent,
String path)
throws IOException,
FacesException,
FaceletException,
javax.el.ELException
- Used for delegation by the DefaultFaceletContext. First pulls the URL from
getRelativePath(String)
, then calls include(FaceletContext,
UIComponent, URL)
.
- Parameters:
ctx
- FaceletContext to pass to the included Faceletparent
- UIComponent to apply changes topath
- relative path to the desired Facelet from the FaceletContext
- Throws:
IOException
FacesException
FaceletException
javax.el.ELException
- See Also:
FaceletContext.includeFacelet(UIComponent, String)
include
public abstract void include(AbstractFaceletContext ctx,
UIComponent parent,
URL url)
throws IOException,
FacesException,
FaceletException,
javax.el.ELException
- Grabs a DefaultFacelet from referenced DefaultFaceletFacotry
- Parameters:
ctx
- FaceletContext to pass to the included Faceletparent
- UIComponent to apply changes tourl
- URL source to include Facelet from
- Throws:
IOException
FacesException
FaceletException
javax.el.ELException
- See Also:
DefaultFaceletFactory.getFacelet(URL)
getAlias
public abstract String getAlias()
- Return the alias name for error messages and logging
- Returns:
- alias name
applyCompositeComponent
public abstract void applyCompositeComponent(AbstractFaceletContext ctx,
UIComponent parent,
Resource resource)
throws IOException,
FacesException,
FaceletException,
javax.el.ELException
- Throws:
IOException
FacesException
FaceletException
javax.el.ELException
isBuildingCompositeComponentMetadata
public abstract boolean isBuildingCompositeComponentMetadata()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.