| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final String | |
| private final long | |
| private final ExpressionFactory | |
| private final DefaultFaceletFactory | |
| private static final String | |
| private static final Logger | |
| private IdMapper | |
| private final long | |
| private final FaceletHandler | |
| private String | |
| private String | |
| private final URL |
| Access | Constructor and Description |
|---|---|
| public | DefaultFacelet(DefaultFaceletFactory factory, ExpressionFactory el, URL src, String alias, FaceletHandler root)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FacesContext
The current FacesContext (Should be the same as
FacesContext.getInstance()) facesContext, UIComponent The UIComponent to populate in a compositional fashion. In
most cases a Facelet will be base a UIViewRoot. parent)Implements abstract javax. The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document. |
| public String | |
| public long | Returns: final timestamp of when this Facelet was createdThe time when this Facelet was created, NOT the URL source code |
| private URL | |
| public ExpressionFactory | Returns: internal ExpressionFactory instanceReturn this Facelet's ExpressionFactory instance |
| private URL | Returns: URL pointing to destinationa relative url path path)Delegates resolution to DefaultFaceletFactory reference. |
| public String | |
| public String | |
| public URL | |
| private void | include(DefaultFaceletContext
the FaceletContext to use for applying our FaceletHandlers ctx, UIComponent the parent component to apply changes to parent)Given the passed FaceletContext, apply our child FaceletHandlers to the passed parent |
| public void | include(DefaultFaceletContext
FaceletContext to pass to the included Facelet ctx, UIComponent UIComponent to apply changes to parent, String relative path to the desired Facelet from the FaceletContext path)Used for delegation by the DefaultFaceletContext. |
| public void | include(DefaultFaceletContext
FaceletContext to pass to the included Facelet ctx, UIComponent UIComponent to apply changes to parent, URL URL source to include Facelet from url)Grabs a DefaultFacelet from referenced DefaultFaceletFacotry |
| private boolean | |
| private void | |
| private void | |
| public void | setSavedDoctype(String savedDoctype)
Implements com. |
| public void | setSavedXMLDecl(String savedXMLDecl)
Implements com. |
| public String |
| alias | back to summary |
|---|---|
| private final String alias | |
| APPLIED_KEY | back to summary |
|---|---|
| private static final String APPLIED_KEY | |
| createTime | back to summary |
|---|---|
| private final long createTime | |
| elFactory | back to summary |
|---|---|
| private final ExpressionFactory elFactory | |
| factory | back to summary |
|---|---|
| private final DefaultFaceletFactory factory | |
| JAVAX_FACES_ERROR_XHTML | back to summary |
|---|---|
| private static final String JAVAX_FACES_ERROR_XHTML | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| mapper | back to summary |
|---|---|
| private IdMapper mapper | |
| refreshPeriod | back to summary |
|---|---|
| private final long refreshPeriod | |
| root | back to summary |
|---|---|
| private final FaceletHandler root | |
| savedDoctype | back to summary |
|---|---|
| private String savedDoctype | |
| savedXMLDecl | back to summary |
|---|---|
| private String savedXMLDecl | |
| src | back to summary |
|---|---|
| private final URL src | |
| DefaultFacelet | back to summary |
|---|---|
| public DefaultFacelet(DefaultFaceletFactory factory, ExpressionFactory el, URL src, String alias, FaceletHandler root) | |
| apply | back to summary |
|---|---|
| public void apply(FacesContext facesContext, UIComponent parent) throws IOException Implements abstract javax. Doc from javax. The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.
| |
| getAlias | back to summary |
|---|---|
| public String getAlias() Return the alias name for error messages and logging
| |
| getCreateTime | back to summary |
|---|---|
| public long getCreateTime() The time when this Facelet was created, NOT the URL source code
| |
| getErrorFacelet | back to summary |
|---|---|
| private URL getErrorFacelet(ClassLoader loader) | |
| getExpressionFactory | back to summary |
|---|---|
| public ExpressionFactory getExpressionFactory() Return this Facelet's ExpressionFactory instance
| |
| getRelativePath | back to summary |
|---|---|
| private URL getRelativePath(String path) throws IOException Delegates resolution to DefaultFaceletFactory reference. Also, caches URLs for relative paths.
| |
| getSavedDoctype | back to summary |
|---|---|
| public String getSavedDoctype() Implements com.
| |
| getSavedXMLDecl | back to summary |
|---|---|
| public String getSavedXMLDecl() Implements com.
| |
| getSource | back to summary |
|---|---|
| public URL getSource() The URL this Facelet was created from.
| |
| include | back to summary |
|---|---|
| private void include(DefaultFaceletContext ctx, UIComponent parent) throws IOException Given the passed FaceletContext, apply our child FaceletHandlers to the passed parent
| |
| include | back to summary |
|---|---|
| public void include(DefaultFaceletContext ctx, UIComponent parent, String path) throws IOException Used for delegation by the DefaultFaceletContext. First pulls the URL
from
| |
| include | back to summary |
|---|---|
| public void include(DefaultFaceletContext ctx, UIComponent parent, URL url) throws IOException Grabs a DefaultFacelet from referenced DefaultFaceletFacotry
| |
| isDevelopment | back to summary |
|---|---|
| private boolean isDevelopment(FaceletContext ctx) | |
| markApplied | back to summary |
|---|---|
| private void markApplied(UIComponent parent) | |
| refresh | back to summary |
|---|---|
| private void refresh(UIComponent c) | |
| setSavedDoctype | back to summary |
|---|---|
| public void setSavedDoctype(String savedDoctype) Implements com.
| |
| setSavedXMLDecl | back to summary |
|---|---|
| public void setSavedXMLDecl(String savedXMLDecl) Implements com.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. |
| ApplyToken | back to summary |
|---|---|
public ApplyToken()
| |
| ApplyToken | back to summary |
|---|---|
| public ApplyToken(String alias, long time) | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |