public final class DefaultFacelet
extends com.sun.facelets.Facelet
Constructor and Description |
---|
DefaultFacelet(DefaultFaceletFactory factory,
ExpressionFactory el,
URL src,
String alias,
com.sun.facelets.FaceletHandler root) |
Modifier and Type | Method and Description |
---|---|
void |
apply(FacesContext facesContext,
UIComponent parent) |
String |
getAlias()
Return the alias name for error messages and logging
|
long |
getCreateTime()
The time when this Facelet was created, NOT the URL source code
|
ExpressionFactory |
getExpressionFactory()
Return this Facelet's ExpressionFactory instance
|
URL |
getSource()
The URL this Facelet was created from.
|
void |
include(org.nuxeo.theme.jsf.facelets.vendor.DefaultFaceletContext ctx,
UIComponent parent,
String path)
Used for delegation by the DefaultFaceletContext.
|
void |
include(org.nuxeo.theme.jsf.facelets.vendor.DefaultFaceletContext ctx,
UIComponent parent,
URL url)
Grabs a DefaultFacelet from referenced DefaultFaceletFacotry
|
String |
toString() |
public DefaultFacelet(DefaultFaceletFactory factory, ExpressionFactory el, URL src, String alias, com.sun.facelets.FaceletHandler root)
public void apply(FacesContext facesContext, UIComponent parent) throws IOException, FacesException, com.sun.facelets.FaceletException, ELException
apply
in class com.sun.facelets.Facelet
IOException
FacesException
com.sun.facelets.FaceletException
ELException
Facelet.apply(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
public String getAlias()
public ExpressionFactory getExpressionFactory()
public long getCreateTime()
public URL getSource()
public void include(org.nuxeo.theme.jsf.facelets.vendor.DefaultFaceletContext ctx, UIComponent parent, String path) throws IOException, FacesException, com.sun.facelets.FaceletException, ELException
getRelativePath(String)
, then
calls include(FaceletContext, UIComponent, URL)
.ctx
- FaceletContext to pass to the included Faceletparent
- UIComponent to apply changes topath
- relative path to the desired Facelet from the FaceletContextIOException
FacesException
com.sun.facelets.FaceletException
ELException
FaceletContext.includeFacelet(UIComponent, String)
public void include(org.nuxeo.theme.jsf.facelets.vendor.DefaultFaceletContext ctx, UIComponent parent, URL url) throws IOException, FacesException, com.sun.facelets.FaceletException, ELException
ctx
- FaceletContext to pass to the included Faceletparent
- UIComponent to apply changes tourl
- URL source to include Facelet fromIOException
FacesException
com.sun.facelets.FaceletException
ELException
DefaultFaceletFactory.getFacelet(URL)
Copyright © 2013 Nuxeo SA. All Rights Reserved.