public class PageResourceHandler extends javax.faces.view.facelets.MetaTagHandler
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagConfig |
config |
protected javax.faces.view.facelets.TagAttribute |
flavor |
protected ResourceType[] |
handledTypesArray |
protected javax.faces.view.facelets.TagAttribute |
name |
protected javax.faces.view.facelets.TagAttribute |
target |
protected javax.faces.view.facelets.TagAttribute |
type |
protected javax.faces.view.facelets.TagAttribute[] |
vars |
Constructor and Description |
---|
PageResourceHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent) |
protected void |
applyPage(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
WebResourceManager wrm,
PageDescriptor page,
ResourceType type,
String flavor,
String targetValue,
javax.faces.view.facelets.FaceletHandler nextHandler) |
protected javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(Class type) |
protected javax.faces.view.facelets.ComponentConfig |
getJSFResourceComponentConfig(Resource resource,
String rendererType,
String target,
javax.faces.view.facelets.FaceletHandler nextHandler) |
protected com.sun.faces.facelets.tag.TagAttributeImpl |
getTagAttribute(String name,
String value) |
protected void |
includePageResource(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
String name,
ResourceType type,
String flavor,
String target,
javax.faces.view.facelets.FaceletHandler nextHandler) |
protected void |
includeResourceBundle(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
String name,
ResourceType type,
String flavor,
String target,
javax.faces.view.facelets.FaceletHandler nextHandler) |
protected void |
includeXHTML(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
List<Resource> rs,
javax.faces.view.facelets.FaceletHandler leaf) |
protected String |
resolveAttribute(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.view.facelets.TagAttribute var) |
protected ResourceType |
resolveType(String type) |
protected List<Resource> |
retrieveResources(WebResourceManager wrm,
PageDescriptor page,
ResourceType type) |
protected List<Resource> |
retrieveResources(WebResourceManager wrm,
String bundle,
ResourceType type) |
protected final javax.faces.view.facelets.TagConfig config
protected final javax.faces.view.facelets.TagAttribute name
protected final javax.faces.view.facelets.TagAttribute type
protected final javax.faces.view.facelets.TagAttribute flavor
protected final javax.faces.view.facelets.TagAttribute target
protected final javax.faces.view.facelets.TagAttribute[] vars
protected final ResourceType[] handledTypesArray
public PageResourceHandler(javax.faces.view.facelets.TagConfig config)
protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class javax.faces.view.facelets.MetaTagHandler
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException
IOException
protected void applyPage(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, WebResourceManager wrm, PageDescriptor page, ResourceType type, String flavor, String targetValue, javax.faces.view.facelets.FaceletHandler nextHandler) throws IOException
IOException
protected List<Resource> retrieveResources(WebResourceManager wrm, String bundle, ResourceType type)
protected List<Resource> retrieveResources(WebResourceManager wrm, PageDescriptor page, ResourceType type)
protected String resolveAttribute(javax.faces.view.facelets.FaceletContext ctx, javax.faces.view.facelets.TagAttribute var)
protected ResourceType resolveType(String type)
protected com.sun.faces.facelets.tag.TagAttributeImpl getTagAttribute(String name, String value)
protected javax.faces.view.facelets.ComponentConfig getJSFResourceComponentConfig(Resource resource, String rendererType, String target, javax.faces.view.facelets.FaceletHandler nextHandler)
protected void includeXHTML(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, List<Resource> rs, javax.faces.view.facelets.FaceletHandler leaf) throws IOException
IOException
protected void includeResourceBundle(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, String name, ResourceType type, String flavor, String target, javax.faces.view.facelets.FaceletHandler nextHandler) throws IOException
IOException
protected void includePageResource(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, String name, ResourceType type, String flavor, String target, javax.faces.view.facelets.FaceletHandler nextHandler) throws IOException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.