com.sun.faces.facelets.tag.jstl.core
private static class ForEachHandler.ForEachFaceletContext extends FaceletContextImplBase
Modifier and Type | Field and Description |
---|---|
private FaceletContextImplBase |
faceletContext |
private java.util.Map<java.lang.String,java.lang.Integer> |
ids |
private int |
index |
private java.lang.String |
prefix |
Modifier | Constructor and Description |
---|---|
private |
ForEachHandler.ForEachFaceletContext(javax.faces.view.facelets.FaceletContext faceletContext,
java.lang.String prefix,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
extendClient(TemplateClient client) |
java.lang.String |
generateUniqueId(java.lang.String base) |
java.lang.Object |
getAttribute(java.lang.String name) |
java.lang.Object |
getContext(java.lang.Class key) |
javax.el.ELResolver |
getELResolver() |
javax.el.ExpressionFactory |
getExpressionFactory() |
javax.faces.context.FacesContext |
getFacesContext() |
javax.el.FunctionMapper |
getFunctionMapper() |
int |
getIndex() |
java.util.Locale |
getLocale() |
java.lang.String |
getPrefix() |
javax.el.VariableMapper |
getVariableMapper() |
boolean |
includeDefinition(javax.faces.component.UIComponent parent,
java.lang.String name)
This method will walk through the TemplateClient stack to resolve and
apply the definition for the passed name.
|
void |
includeFacelet(javax.faces.component.UIComponent parent,
java.lang.String relativePath) |
void |
includeFacelet(javax.faces.component.UIComponent parent,
java.net.URL absolutePath) |
boolean |
isPropertyResolved() |
void |
popClient(TemplateClient client)
Pop the last added TemplateClient
|
void |
pushClient(TemplateClient client)
Push the passed TemplateClient onto the stack for Definition Resolution
|
void |
putContext(java.lang.Class key,
java.lang.Object contextObject) |
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setFunctionMapper(javax.el.FunctionMapper fnMapper) |
void |
setLocale(java.util.Locale locale) |
void |
setPropertyResolved(boolean resolved) |
void |
setVariableMapper(javax.el.VariableMapper varMapper) |
private java.lang.String prefix
private int index
private FaceletContextImplBase faceletContext
private final java.util.Map<java.lang.String,java.lang.Integer> ids
private ForEachHandler.ForEachFaceletContext(javax.faces.view.facelets.FaceletContext faceletContext, java.lang.String prefix, int index)
public javax.faces.context.FacesContext getFacesContext()
getFacesContext
in class javax.faces.view.facelets.FaceletContext
public java.lang.String generateUniqueId(java.lang.String base)
generateUniqueId
in class javax.faces.view.facelets.FaceletContext
public javax.el.ExpressionFactory getExpressionFactory()
getExpressionFactory
in class javax.faces.view.facelets.FaceletContext
public void setVariableMapper(javax.el.VariableMapper varMapper)
setVariableMapper
in class javax.faces.view.facelets.FaceletContext
public void setFunctionMapper(javax.el.FunctionMapper fnMapper)
setFunctionMapper
in class javax.faces.view.facelets.FaceletContext
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in class javax.faces.view.facelets.FaceletContext
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in class javax.faces.view.facelets.FaceletContext
public void includeFacelet(javax.faces.component.UIComponent parent, java.lang.String relativePath) throws java.io.IOException
includeFacelet
in class javax.faces.view.facelets.FaceletContext
java.io.IOException
public void includeFacelet(javax.faces.component.UIComponent parent, java.net.URL absolutePath) throws java.io.IOException
includeFacelet
in class javax.faces.view.facelets.FaceletContext
java.io.IOException
public javax.el.ELResolver getELResolver()
getELResolver
in class javax.el.ELContext
public javax.el.FunctionMapper getFunctionMapper()
getFunctionMapper
in class javax.el.ELContext
public javax.el.VariableMapper getVariableMapper()
getVariableMapper
in class javax.el.ELContext
public java.lang.Object getContext(java.lang.Class key)
getContext
in class javax.el.ELContext
public java.util.Locale getLocale()
getLocale
in class javax.el.ELContext
public int getIndex()
public java.lang.String getPrefix()
public boolean isPropertyResolved()
isPropertyResolved
in class javax.el.ELContext
public void putContext(java.lang.Class key, java.lang.Object contextObject)
putContext
in class javax.el.ELContext
public void setLocale(java.util.Locale locale)
setLocale
in class javax.el.ELContext
public void setPropertyResolved(boolean resolved)
setPropertyResolved
in class javax.el.ELContext
public void pushClient(TemplateClient client)
FaceletContextImplBase
pushClient
in class FaceletContextImplBase
TemplateClient
public void popClient(TemplateClient client)
FaceletContextImplBase
popClient
in class FaceletContextImplBase
TemplateClient
public void extendClient(TemplateClient client)
extendClient
in class FaceletContextImplBase
public boolean includeDefinition(javax.faces.component.UIComponent parent, java.lang.String name) throws java.io.IOException, javax.faces.view.facelets.FaceletException, javax.faces.FacesException, javax.el.ELException
FaceletContextImplBase
includeDefinition
in class FaceletContextImplBase
parent
- the UIComponent to apply toname
- name or null of the definition you want to applyjava.io.IOException
javax.faces.view.facelets.FaceletException
javax.faces.FacesException
javax.el.ELException
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.