| 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 Doctype | |
| 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 jakarta. The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document. |
| public void | applyMetadata(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)Overrides jakarta.
The passed UIComponent parent will be populated/restored in accordance with
the
section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document
with only the meta data as per the |
| 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 |
| public Doctype | |
| 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 relativePath)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 | |
| private URL | Returns: URL pointing to destinationa relative url path relativePath)Delegates resolution to DefaultFaceletFactory reference. |
| public void | setSavedDoctype(Doctype 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 | |
| JAKARTA_FACES_ERROR_XHTML | back to summary |
|---|---|
| private static final String JAKARTA_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 Doctype 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 jakarta. Doc from jakarta. The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document.
| |
| applyMetadata | back to summary |
|---|---|
| public void applyMetadata(FacesContext facesContext, UIComponent parent) throws IOException Overrides jakarta. Doc from jakarta.
The passed UIComponent parent will be populated/restored in accordance with
the
section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document
with only the meta data as per the
| |
| 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
| |
| getSavedDoctype | back to summary |
|---|---|
| public Doctype 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 relativePath) throws IOException Used for delegation by the DefaultFaceletContext. First validates that the path does not represent
a contracts resource, then 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) | |
| resolveURL | back to summary |
|---|---|
| private URL resolveURL(String relativePath) throws IOException Delegates resolution to DefaultFaceletFactory reference. Also, caches URLs for absolute paths.
| |
| setSavedDoctype | back to summary |
|---|---|
| public void setSavedDoctype(Doctype 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.
Satisfying this method's contract implies a non- | |
| 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. 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. |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements 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. |
| 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.
| |