public class ValidatorTagHandlerDelegateImpl
extends jakarta.faces.view.facelets.TagHandlerDelegate
implements jakarta.faces.view.AttachedObjectHandler
| Modifier and Type | Field and Description |
|---|---|
protected jakarta.faces.view.facelets.ValidatorHandler |
owner |
| Constructor and Description |
|---|
ValidatorTagHandlerDelegateImpl(jakarta.faces.view.facelets.ValidatorHandler owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(jakarta.faces.view.facelets.FaceletContext ctx,
jakarta.faces.component.UIComponent parent)
Called by classes that implement
|
void |
applyAttachedObject(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent parent)
Take the argument |
jakarta.faces.view.facelets.MetaRuleset |
createMetaRuleset(Class type)
Return a |
protected ComponentValidators.ValidatorInfo |
createValidatorInfo(jakarta.faces.view.facelets.FaceletContext ctx) |
String |
getFor()
Return the value of the "for" attribute specified by the page author on the tag for this
|
public ValidatorTagHandlerDelegateImpl(jakarta.faces.view.facelets.ValidatorHandler owner)
public void apply(jakarta.faces.view.facelets.FaceletContext ctx,
jakarta.faces.component.UIComponent parent)
throws IOException
jakarta.faces.view.facelets.TagHandlerDelegate
Called by classes that implement
FaceletHandler in their implementation of apply().
If the argument comp is new to the view, for each tag attribute declared to be in the pass through attribute
namespace, set the name and value of the attribute into the pass through attributes map of the component. See
UIComponent.getPassThroughAttributes(boolean). See the VDLDocs for the namespace URI of the pass through
attribute namespace. Attributes whose value is a ValueExpression must remain un-evaluated and stored in the
map as ValueExpression instances.
apply in class jakarta.faces.view.facelets.TagHandlerDelegatectx - the FaceletContext for this requestparent - the UIComponent that corresponds to this element.IOException - if any files necessary to apply this tag handler have any difficulty while loadingpublic jakarta.faces.view.facelets.MetaRuleset createMetaRuleset(Class type)
jakarta.faces.view.facelets.TagHandlerDelegate
Return a MetaRuleset particular to this kind of tag handler. Called from classes that implement
MetaTagHandler.
createMetaRuleset in class jakarta.faces.view.facelets.TagHandlerDelegatetype - the Class for which the MetaRuleset must be created.MetaRuleset particular to this kind of tag handler.public void applyAttachedObject(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent parent)
jakarta.faces.view.AttachedObjectHandler
Take the argument parent and apply this attached object to it. The action taken varies with class that
implements one of the subinterfaces of this interface.
applyAttachedObject in interface jakarta.faces.view.AttachedObjectHandlercontext - The FacesContext for this requestparent - The UIComponent to which this particular attached object must be applied.public String getFor()
jakarta.faces.view.AttachedObjectHandler
Return the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler.
getFor in interface jakarta.faces.view.AttachedObjectHandlerprotected ComponentValidators.ValidatorInfo createValidatorInfo(jakarta.faces.view.facelets.FaceletContext ctx)
Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.