public abstract class AbstractFacelet extends Facelet
Constructor and Description |
---|
AbstractFacelet() |
Modifier and Type | Method and Description |
---|---|
abstract void |
applyCompositeComponent(AbstractFaceletContext ctx,
UIComponent parent,
Resource resource) |
abstract void |
applyDynamicComponentHandler(FacesContext facesContext,
UIComponent parent,
String baseKey) |
abstract String |
getAlias()
Return the alias name for error messages and logging
|
abstract javax.el.ExpressionFactory |
getExpressionFactory()
Return this Facelet's ExpressionFactory instance
|
String |
getFaceletId()
Return an identifier used to derive an unique id per facelet instance.
|
abstract void |
include(AbstractFaceletContext ctx,
UIComponent parent,
String path)
Used for delegation by the DefaultFaceletContext.
|
abstract void |
include(AbstractFaceletContext ctx,
UIComponent parent,
URL url)
Grabs a DefaultFacelet from referenced DefaultFaceletFacotry
|
abstract boolean |
isBuildingCompositeComponentMetadata() |
public abstract javax.el.ExpressionFactory getExpressionFactory()
public abstract void include(AbstractFaceletContext ctx, UIComponent parent, String path) throws IOException, FacesException, FaceletException, javax.el.ELException
ctx
- FaceletContext to pass to the included Faceletparent
- UIComponent to apply changes topath
- relative path to the desired Facelet from the FaceletContextIOException
FacesException
FaceletException
javax.el.ELException
FaceletContext.includeFacelet(UIComponent, String)
public abstract void include(AbstractFaceletContext ctx, UIComponent parent, URL url) throws IOException, FacesException, FaceletException, javax.el.ELException
ctx
- FaceletContext to pass to the included Faceletparent
- UIComponent to apply changes tourl
- URL source to include Facelet fromIOException
FacesException
FaceletException
javax.el.ELException
DefaultFaceletFactory.getFacelet(URL)
public abstract String getAlias()
public abstract void applyCompositeComponent(AbstractFaceletContext ctx, UIComponent parent, Resource resource) throws IOException, FacesException, FaceletException, javax.el.ELException
IOException
FacesException
FaceletException
javax.el.ELException
public abstract void applyDynamicComponentHandler(FacesContext facesContext, UIComponent parent, String baseKey) throws IOException, FacesException, FaceletException, javax.el.ELException
IOException
FacesException
FaceletException
javax.el.ELException
public abstract boolean isBuildingCompositeComponentMetadata()
public String getFaceletId()
Copyright © 2020 The Apache Software Foundation. All rights reserved.