com.sun.faces.facelets.tag.jsf
public class ComponentTagHandlerDelegateImpl extends javax.faces.view.facelets.TagHandlerDelegate
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
ComponentTagHandlerDelegateImpl.CreateComponentDelegate |
Modifier and Type | Field and Description |
---|---|
private javax.faces.view.facelets.TagAttribute |
binding |
protected java.lang.String |
componentType |
private ComponentTagHandlerDelegateImpl.CreateComponentDelegate |
createCompositeComponentDelegate |
protected javax.faces.view.facelets.TagAttribute |
id |
private static java.util.logging.Logger |
log |
private javax.faces.view.facelets.ComponentHandler |
owner |
private java.lang.String |
rendererType |
Constructor and Description |
---|
ComponentTagHandlerDelegateImpl(javax.faces.view.facelets.ComponentHandler owner) |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponentToView(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.component.UIComponent c,
boolean componentFound) |
private void |
adjustIndexOfDynamicChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent) |
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Method handles UIComponent tree creation in accordance with the JSF 1.2
spec.
|
protected void |
assignUniqueId(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.String id,
javax.faces.component.UIComponent c) |
private javax.faces.component.UIComponent |
createComponent(javax.faces.view.facelets.FaceletContext ctx)
If the binding attribute was specified, use that in conjuction with our
componentType String variable to call createComponent on the Application,
otherwise just pass the componentType String.
|
javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(java.lang.Class type) |
protected void |
doExistingComponentActions(javax.faces.view.facelets.FaceletContext ctx,
java.lang.String id,
javax.faces.component.UIComponent c) |
protected void |
doNewComponentActions(javax.faces.view.facelets.FaceletContext ctx,
java.lang.String id,
javax.faces.component.UIComponent c) |
protected void |
doOrphanedChildCleanup(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.component.UIComponent c) |
protected javax.faces.component.UIComponent |
findChild(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.String tagId) |
protected javax.faces.component.UIComponent |
findReparentedComponent(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.String tagId) |
private java.lang.String |
getFacetName(javax.faces.component.UIComponent parent) |
protected void |
popComponentFromEL(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c,
CompositeComponentStackManager ccStackManager,
boolean compCompPushed) |
private void |
privateOnComponentPopulated(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c) |
private void |
processValidators(javax.faces.context.FacesContext ctx,
javax.faces.component.EditableValueHolder editableValueHolder)
Process default validatior/wrapping validation information and install
Validators based off the result. |
protected boolean |
pushComponentToEL(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent c,
CompositeComponentStackManager ccStackManager) |
(package private) void |
setCreateCompositeComponentDelegate(ComponentTagHandlerDelegateImpl.CreateComponentDelegate createComponentDelegate) |
private javax.faces.view.facelets.ComponentHandler owner
private static final java.util.logging.Logger log
private final javax.faces.view.facelets.TagAttribute binding
protected java.lang.String componentType
protected final javax.faces.view.facelets.TagAttribute id
private final java.lang.String rendererType
private ComponentTagHandlerDelegateImpl.CreateComponentDelegate createCompositeComponentDelegate
public ComponentTagHandlerDelegateImpl(javax.faces.view.facelets.ComponentHandler owner)
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws java.io.IOException
DelegatingMetaTagHandler.getTagId()
.mark
its children for deletion.createComponent
.
MetaTagHandler.setAttributes(FaceletContext, Object)
finalize
for deletion.apply
in class javax.faces.view.facelets.TagHandlerDelegate
javax.faces.view.facelets.TagException
- if the UIComponent parent is nulljava.io.IOException
private void adjustIndexOfDynamicChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent parent)
public javax.faces.view.facelets.MetaRuleset createMetaRuleset(java.lang.Class type)
createMetaRuleset
in class javax.faces.view.facelets.TagHandlerDelegate
protected void addComponentToView(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, javax.faces.component.UIComponent c, boolean componentFound)
protected boolean pushComponentToEL(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c, CompositeComponentStackManager ccStackManager)
protected void popComponentFromEL(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c, CompositeComponentStackManager ccStackManager, boolean compCompPushed)
protected void doOrphanedChildCleanup(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, javax.faces.component.UIComponent c)
protected void assignUniqueId(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String id, javax.faces.component.UIComponent c)
protected void doNewComponentActions(javax.faces.view.facelets.FaceletContext ctx, java.lang.String id, javax.faces.component.UIComponent c)
protected void doExistingComponentActions(javax.faces.view.facelets.FaceletContext ctx, java.lang.String id, javax.faces.component.UIComponent c)
protected javax.faces.component.UIComponent findChild(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String tagId)
protected javax.faces.component.UIComponent findReparentedComponent(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String tagId)
void setCreateCompositeComponentDelegate(ComponentTagHandlerDelegateImpl.CreateComponentDelegate createComponentDelegate)
private javax.faces.component.UIComponent createComponent(javax.faces.view.facelets.FaceletContext ctx)
ctx
- FaceletContext to use in creating a componentApplication.createComponent(javax.faces.el.ValueBinding,
javax.faces.context.FacesContext, java.lang.String)
,
Application.createComponent(java.lang.String)
private void privateOnComponentPopulated(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c)
private void processValidators(javax.faces.context.FacesContext ctx, javax.faces.component.EditableValueHolder editableValueHolder)
Validators
based off the result.private java.lang.String getFacetName(javax.faces.component.UIComponent parent)
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.