Uses of Class
jakarta.faces.component.UIComponent
-
Packages that use UIComponent Package Description jakarta.faces.application jakarta.faces.component jakarta.faces.component.behavior jakarta.faces.component.html Specialized user interface component classes for HTML.jakarta.faces.component.search jakarta.faces.component.visit jakarta.faces.context jakarta.faces.convert jakarta.faces.event jakarta.faces.render jakarta.faces.validator jakarta.faces.view jakarta.faces.view.facelets -
-
Uses of UIComponent in jakarta.faces.application
Methods in jakarta.faces.application that return UIComponent Modifier and Type Method Description UIComponentApplication. createComponent(ValueExpression componentExpression, FacesContext context, String componentType)UIComponentApplication. createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)LikeApplication.createComponent(ValueExpression, FacesContext, String)except theRendererfor the component to be returned must be inspected for the annotations mentioned inApplication.createComponent(ValueExpression, FacesContext, String)as specified in the documentation for that method.UIComponentApplication. createComponent(FacesContext context, Resource componentResource)UIComponentApplication. createComponent(FacesContext context, String componentType, String rendererType)LikeApplication.createComponent(String)except theRendererfor the component to be returned must be inspected for the annotations mentioned inApplication.createComponent(ValueExpression, FacesContext, String)as specified in the documentation for that method.abstract UIComponentApplication. createComponent(String componentType)Instantiate and return a newUIComponentinstance of the class specified by a previous call toaddComponent()for the specified component type.UIComponentApplicationWrapper. createComponent(ValueExpression componentExpression, FacesContext context, String componentType)The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String)on the wrappedApplicationobject.UIComponentApplicationWrapper. createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String, String)on the wrappedApplicationobject.UIComponentApplicationWrapper. createComponent(FacesContext context, Resource componentResource)The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, Resource)on the wrappedApplicationobject.UIComponentApplicationWrapper. createComponent(FacesContext context, String componentType, String rendererType)The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, String, String)on the wrappedApplicationobject.UIComponentApplicationWrapper. createComponent(String componentType)The default behavior of this method is to callApplication.createComponent(String)on the wrappedApplicationobject. -
Uses of UIComponent in jakarta.faces.component
Subclasses of UIComponent in jakarta.faces.component Modifier and Type Class Description classUIColumnUIColumn is aUIComponentthat represents a single column of data within a parentUIDatacomponent.classUICommandUICommand is aUIComponentthat represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".classUIComponentBaseUIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined byUIComponent.classUIDataUIData is aUIComponentthat supports data binding to a collection of data objects represented by aDataModelinstance, which is the current value of this component itself (typically established via aValueExpression).classUIFormUIForm is aUIComponentthat represents an input form to be presented to the user, and whose child components represent (among other things) the input fields to be included when the form is submitted.classUIGraphicUIGraphic is aUIComponentthat displays a graphical image to the user.classUIImportConstantsclassUIInputUIInput is aUIComponentthat represents a component that both displays output to the user (likeUIOutputcomponents do) and processes request parameters on the subsequent request that need to be decoded.classUIMessageThis component is responsible for displaying messages for a specificUIComponent, identified by aclientIdor component id relative to the closest ancestorNamingContainer.classUIMessagesThe renderer for this component is responsible for obtaining the messages from theFacesContextand displaying them to the user.classUINamingContainerUINamingContainer is a convenience base class for components that wish to implementNamingContainerfunctionality.classUIOutcomeTargetThis component is paired with thejakarta.faces.Buttonorjakarta.faces.Linkrenderers and encapsulates properties relating to the rendering of outcomes directly to the response.classUIOutputUIOutput is aUIComponentthat has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.classUIPanelUIPanel is aUIComponentthat manages the layout of its child components.classUIParameterUIParameter is aUIComponentthat represents an optionally named configuration parameter for a parent component.classUISelectBooleanclassUISelectItemUISelectItem is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of aSelectIteminstance to the list of available options for the parent component.classUISelectItemGroupUISelectItemGroup is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of oneSelectItemGroupof one or moreSelectIteminstances to the list of available options in the parent component.classUISelectItemGroupsUISelectItemGroups is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of one or moreSelectItemGroupof one or moreSelectIteminstances to the list of available options in the parent component.classUISelectItemsUISelectItems is a component that may be nested inside aUISelectManyorUISelectOnecomponent, and causes the addition of one or moreSelectIteminstances to the list of available options in the parent component.classUISelectManyUISelectMany is aUIComponentthat represents the user's choice of a zero or more items from among a discrete set of available options.classUISelectOneUISelectOne is aUIComponentthat represents the user's choice of zero or one items from among a discrete set of available options.classUIViewActionUIViewAction represents a method invocation that occurs during the request processing lifecycle, usually in response to an initial request, as opposed to a postback.classUIViewParameterUIViewParameter represents a binding between a request parameter and a model property orUIViewRootproperty.classUIViewRootUIViewRoot is the UIComponent that represents the root of the UIComponent tree.classUIWebsocketThe<f:websocket>tag opens an one-way (server to client) websocket based push connection in client side which can be reached from server side viaPushContextinterface injected in any CDI/container managed artifact via@Pushannotation.Methods in jakarta.faces.component that return UIComponent Modifier and Type Method Description abstract UIComponentUIComponent. findComponent(String expr)Search for and return theUIComponentwith anidthat matches the specified search expression (if any), according to the algorithm described below.UIComponentUIComponentBase. findComponent(String expression)static UIComponentUIComponent. getCompositeComponentParent(UIComponent component)Finds the nearest composite component parent of the specified component.static UIComponentUIComponent. getCurrentComponent(FacesContext context)Return theUIComponentinstance that is currently processing.static UIComponentUIComponent. getCurrentCompositeComponent(FacesContext context)Return the closest ancestor component, relative to the component returned fromgetCurrentComponent(jakarta.faces.context.FacesContext), that is a composite component, ornullif no such component exists.abstract UIComponentUIComponent. getFacet(String name)Convenience method to return the named facet, if it exists, ornullotherwise.UIComponentUIComponentBase. getFacet(String name)UIComponentUIColumn. getFooter()Return the footer facet of the column (if any).UIComponentUIData. getFooter()Return the footer facet of this component (if any).UIComponentUIColumn. getHeader()Return the header facet of the column (if any).UIComponentUIData. getHeader()Return the header facet of this component (if any).UIComponentUIComponent. getNamingContainer()Starting with "this", return the closest component in the ancestry that is aNamingContainerornullif none can be found.abstract UIComponentUIComponent. getParent()Return the parentUIComponentof thisUIComponent, if any.UIComponentUIComponentBase. getParent()Methods in jakarta.faces.component that return types with arguments of type UIComponent Modifier and Type Method Description abstract List<UIComponent>UIComponent. getChildren()List<UIComponent>UIComponentBase. getChildren()List<UIComponent>UIViewRoot. getComponentResources(FacesContext context)Return an unmodifiable orderedListof allUIComponentresources of all supported targets.List<UIComponent>UIViewRoot. getComponentResources(FacesContext context, String target)abstract Map<String,UIComponent>UIComponent. getFacets()Return a mutableMaprepresenting the facetUIComponents associated with thisUIComponent, keyed by facet name (which must be a String).Map<String,UIComponent>UIComponentBase. getFacets()abstract Iterator<UIComponent>UIComponent. getFacetsAndChildren()Iterator<UIComponent>UIComponentBase. getFacetsAndChildren()Methods in jakarta.faces.component with parameters of type UIComponent Modifier and Type Method Description voidUIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource)Add argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.voidUIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource, String target)Add argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.static UIComponentUIComponent. getCompositeComponentParent(UIComponent component)Finds the nearest composite component parent of the specified component.voidContextCallback. invokeContextCallback(FacesContext context, UIComponent target)This method will be called by an implementation ofinvokeOnComponent(jakarta.faces.context.FacesContext, java.lang.String, jakarta.faces.component.ContextCallback)and must be passed the component with theclientIdgiven as an argument toinvokeOnComponent.static booleanUIComponent. isCompositeComponent(UIComponent component)Returntrueifcomponentis a composite component, otherwisefalse.voidUIComponent. pushComponentToEL(FacesContext context, UIComponent component)Push the currentUIComponentthisto theFacesContextattribute map saving the previousUIComponentfor a subsequent call topopComponentFromEL(jakarta.faces.context.FacesContext).voidUIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource)Remove argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.voidUIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource, String target)Remove argumentcomponent, which is assumed to represent a resource instance, as a resource to this view.voidUIColumn. setFooter(UIComponent footer)Set the footer facet of the column.voidUIData. setFooter(UIComponent footer)Set the footer facet of this component.voidUIColumn. setHeader(UIComponent header)Set the header facet of the column.voidUIData. setHeader(UIComponent header)Set the header facet of this component.abstract voidUIComponent. setParent(UIComponent parent)Set the parentUIComponentof thisUIComponent.voidUIComponentBase. setParent(UIComponent parent) -
Uses of UIComponent in jakarta.faces.component.behavior
Methods in jakarta.faces.component.behavior that return UIComponent Modifier and Type Method Description abstract UIComponentClientBehaviorContext. getComponent()Returns theUIComponentthat is requesting theClientBehaviorscript.Methods in jakarta.faces.component.behavior with parameters of type UIComponent Modifier and Type Method Description static ClientBehaviorContextClientBehaviorContext. createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)Creates a ClientBehaviorContext instance.voidClientBehavior. decode(FacesContext context, UIComponent component)Decode any new state of thisClientBehaviorfrom the request contained in the specifiedFacesContext.voidClientBehaviorBase. decode(FacesContext context, UIComponent component)Default implementation of ofClientBehavior.decode(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent). -
Uses of UIComponent in jakarta.faces.component.html
Subclasses of UIComponent in jakarta.faces.component.html Modifier and Type Class Description classHtmlBodyNONEclassHtmlColumnRepresents a column that will be rendered in an HTMLtableelement.classHtmlCommandButtonRepresents an HTMLinputelement for a button of typesubmitorreset.classHtmlCommandLinkRepresents an HTMLaelement for a hyperlink that acts like a submit button.classHtmlCommandScriptRepresents an HTMLscriptelement for a function that acts like an ajax form submit.classHtmlDataTableRepresents a set of repeating data (segregated into columns by child UIColumn components) that will be rendered in an HTMLtableelement.classHtmlDoctypeNONEclassHtmlFormRepresents an HTMLformelement.classHtmlGraphicImageRepresents an HTMLimgelement, used to retrieve and render a graphical image.classHtmlHeadNONEclassHtmlInputFileRepresents an HTMLinputelement of typefile.classHtmlInputHiddenRepresents an HTMLinputelement of typehidden.classHtmlInputSecretRepresents an HTMLinputelement of typepassword.classHtmlInputTextRepresents an HTMLinputelement of typetext.classHtmlInputTextareaRepresents an HTMLtextareaelement.classHtmlMessageBy default, therendererTypeproperty must be set to "jakarta.faces.Message".classHtmlMessagesBy default, therendererTypeproperty must be set to "jakarta.faces.Messages".classHtmlOutcomeTargetButtonRepresents an HTMLinputelement of type "button" or image that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by theoutcomeproperty.classHtmlOutcomeTargetLinkRepresents an HTMLa(hyperlink) element that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by theoutcomeproperty.classHtmlOutputFormatRepresents a component that looks up a localized message in a resource bundle, optionally uses it as aMessageFormatpattern string and substitutes in parameter values from nested UIParameter components, and renders the result.classHtmlOutputLabelRepresents an HTMLlabelelement, used to define an accessible label for a corresponding input element.classHtmlOutputLinkRepresents an HTMLa(hyperlink) element that may be used to link to an arbitrary URL defined by thevalueproperty.classHtmlOutputTextRenders the component value as text, optionally wrapping in aspanelement if I18N attributes, CSS styles or style classes are specified.classHtmlPanelGridRenders child components in a table, starting a new row after the specified number of columns.classHtmlPanelGroupCauses all child components of this component to be rendered.classHtmlSelectBooleanCheckboxRepresents an HTMLinputelement of typecheckbox.classHtmlSelectManyCheckboxRepresents a multiple-selection component that is rendered as a set of HTMLinputelements of typecheckbox.classHtmlSelectManyListboxRepresents a multiple-selection component that is rendered as an HTMLselectelement, showing either all available options or the specified number of options.classHtmlSelectManyMenuRepresents a multiple-selection component that is rendered as an HTMLselectelement, showing a single available option at a time.classHtmlSelectOneListboxRepresents a single-selection component that is rendered as an HTMLselectelement, showing either all available options or the specified number of options.classHtmlSelectOneMenuRepresents a single-selection component that is rendered as an HTMLselectelement, showing a single available option at a time.classHtmlSelectOneRadioRepresents a single-selection component that is rendered as a set of HTMLinputelements of typeradio. -
Uses of UIComponent in jakarta.faces.component.search
Methods in jakarta.faces.component.search that return UIComponent Modifier and Type Method Description abstract UIComponentSearchExpressionContext. getSource()Returns the source / base component from which we will start to perform our search.Methods in jakarta.faces.component.search with parameters of type UIComponent Modifier and Type Method Description static SearchExpressionContextSearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source)Creates aSearchExpressionContextinstance for use with theSearchExpressionHandler.static SearchExpressionContextSearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)Creates aSearchExpressionContextinstance for use with theSearchExpressionHandler.abstract SearchExpressionContextSearchExpressionContextFactory. getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)Creates aSearchExpressionContextinstance for use with theSearchExpressionHandler.voidSearchKeywordContext. invokeContextCallback(UIComponent target)This method will be called by an implementation ofSearchKeywordResolver.resolve(jakarta.faces.component.search.SearchKeywordContext, jakarta.faces.component.UIComponent, java.lang.String)with the resolved component for the keyword.abstract voidSearchExpressionHandler. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback)Resolves multipleUIComponents for the given expression.voidSearchExpressionHandlerWrapper. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback)abstract voidSearchKeywordResolver. resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword)Try to resolve one or multipleUIComponents based on the keyword and callsSearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent)for each resolved component. -
Uses of UIComponent in jakarta.faces.component.visit
Methods in jakarta.faces.component.visit with parameters of type UIComponent Modifier and Type Method Description abstract Collection<String>VisitContext. getSubtreeIdsToVisit(UIComponent component)Given aNamingContainercomponent, returns the client ids of any components underneath the NamingContainer that should be visited.Collection<String>VisitContextWrapper. getSubtreeIdsToVisit(UIComponent component)abstract VisitResultVisitContext. invokeVisitCallback(UIComponent component, VisitCallback callback)Called byUIComponent.visitTree()to visit a single component.VisitResultVisitContextWrapper. invokeVisitCallback(UIComponent component, VisitCallback callback)VisitResultVisitCallback. visit(VisitContext context, UIComponent target)This method is called during component tree visits byVisitContext.invokeVisitCallback()to visit the specified component. -
Uses of UIComponent in jakarta.faces.context
Methods in jakarta.faces.context with parameters of type UIComponent Modifier and Type Method Description abstract voidResponseWriter. startElement(String name, UIComponent component)Write the start of an element, up to and including the element name.voidResponseWriterWrapper. startElement(String name, UIComponent component)The default behavior of this method is to callResponseWriter.startElement(String, jakarta.faces.component.UIComponent)on the wrappedResponseWriterobject.voidResponseWriter. writeText(Object text, UIComponent component, String property)Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered.voidResponseWriterWrapper. writeText(Object text, UIComponent component, String property)The default behavior of this method is to callResponseWriter.writeText(Object, UIComponent, String)on the wrappedResponseWriterobject. -
Uses of UIComponent in jakarta.faces.convert
Methods in jakarta.faces.convert with parameters of type UIComponent Modifier and Type Method Description ObjectBigDecimalConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectBigIntegerConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectBooleanConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectByteConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectCharacterConverter. getAsObject(FacesContext context, UIComponent component, String value)TConverter. getAsObject(FacesContext context, UIComponent component, String value)Convert the specified string value, which is associated with the specifiedUIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.ObjectDateTimeConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectDoubleConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectEnumConverter. getAsObject(FacesContext context, UIComponent component, String value)Convert thevalueargument to one of the enum constants of the class provided in our constructor.ObjectFloatConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectIntegerConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectLongConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectNumberConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectShortConverter. getAsObject(FacesContext context, UIComponent component, String value)StringBigDecimalConverter. getAsString(FacesContext context, UIComponent component, Object value)StringBigIntegerConverter. getAsString(FacesContext context, UIComponent component, Object value)StringBooleanConverter. getAsString(FacesContext context, UIComponent component, Object value)StringByteConverter. getAsString(FacesContext context, UIComponent component, Object value)StringCharacterConverter. getAsString(FacesContext context, UIComponent component, Object value)StringConverter. getAsString(FacesContext context, UIComponent component, T value)Convert the specified model object value, which is associated with the specifiedUIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.StringDateTimeConverter. getAsString(FacesContext context, UIComponent component, Object value)StringDoubleConverter. getAsString(FacesContext context, UIComponent component, Object value)StringEnumConverter. getAsString(FacesContext context, UIComponent component, Object value)Convert the enum constant given by thevalueargument into a String.StringFloatConverter. getAsString(FacesContext context, UIComponent component, Object value)StringIntegerConverter. getAsString(FacesContext context, UIComponent component, Object value)StringLongConverter. getAsString(FacesContext context, UIComponent component, Object value)StringNumberConverter. getAsString(FacesContext context, UIComponent component, Object value)StringShortConverter. getAsString(FacesContext context, UIComponent component, Object value) -
Uses of UIComponent in jakarta.faces.event
Methods in jakarta.faces.event that return UIComponent Modifier and Type Method Description UIComponentComponentSystemEvent. getComponent()the sourceUIComponentthat sent this event.UIComponentExceptionQueuedEventContext. getComponent()Return theUIComponentwhich was being processed when the exception was thrown.UIComponentFacesEvent. getComponent()Return the sourceUIComponentthat sent this event.Methods in jakarta.faces.event with parameters of type UIComponent Modifier and Type Method Description voidPostRestoreStateEvent. setComponent(UIComponent newComponent)Constructors in jakarta.faces.event with parameters of type UIComponent Constructor Description ActionEvent(UIComponent component)Construct a new event object from the specified source component and action command.ActionEvent(FacesContext facesContext, UIComponent component)Construct a new event object from the Faces context, specified source component and action command.AjaxBehaviorEvent(UIComponent component, Behavior behavior)Construct a new event object from the specified source component and Ajax behavior.AjaxBehaviorEvent(FacesContext facesContext, UIComponent component, Behavior behavior)Construct a new event object from the Faces context, specified source component and Ajax behavior.BehaviorEvent(UIComponent component, Behavior behavior)Construct a new event object from the specified source component andbehavior.BehaviorEvent(FacesContext facesContext, UIComponent component, Behavior behavior)Construct a new event object from the Faces context, specified source component and behavior.ComponentSystemEvent(UIComponent component)Pass the argumentcomponentto the superclass constructor.ComponentSystemEvent(FacesContext facesContext, UIComponent component)Pass the argumentcomponentto the superclass constructor.ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component)Instantiate a newExceptionQueuedEventContextthat indicates the argumentThrowablejust occurred, relevant to the argumentcomponent.ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId)Instantiate a newExceptionQueuedEventContextthat indicates the argumentThrowablejust occurred, relevant to the argumentcomponent, during the lifecycle phasephaseId.FacesEvent(UIComponent component)Construct a new event object from the specified source component.FacesEvent(FacesContext facesContext, UIComponent component)Construct a new event object from the Faces context and specified source component.PostAddToViewEvent(UIComponent component)Instantiate a newPostAddToViewEventthat indicates the argumentcomponentwas just added to the view.PostAddToViewEvent(FacesContext facesContext, UIComponent component)Instantiate a newPostAddToViewEventthat indicates the argumentcomponentwas just added to the view.PostRestoreStateEvent(UIComponent component)Instantiate a newPostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.PostRestoreStateEvent(FacesContext facesContext, UIComponent component)Instantiate a newPostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.PostValidateEvent(UIComponent component)ConstructorPostValidateEvent(FacesContext facesContext, UIComponent component)ConstructorPreRemoveFromViewEvent(UIComponent component)Instantiate a newBeforeRemoveFromViewthat indicates the argumentcomponentis about to be removed from the view.PreRemoveFromViewEvent(FacesContext facesContext, UIComponent component)Instantiate a newBeforeRemoveFromViewthat indicates the argumentcomponentis about to be removed from the view.PreRenderComponentEvent(UIComponent component)Instantiate a newPreRenderComponentEventthat indicates the argumentcomponentis about to be rendered.PreRenderComponentEvent(FacesContext facesContext, UIComponent component)Instantiate a newPreRenderComponentEventthat indicates the argumentcomponentis about to be rendered.PreValidateEvent(UIComponent component)ConstructorPreValidateEvent(FacesContext facesContext, UIComponent component)ConstructorValueChangeEvent(UIComponent component, Object oldValue, Object newValue)Construct a new event object from the specified source component, old value, and new value.ValueChangeEvent(FacesContext facesContext, UIComponent component, Object oldValue, Object newValue)Construct a new event object from the Faces context, specified source component, old value and new value. -
Uses of UIComponent in jakarta.faces.render
Classes in jakarta.faces.render with type parameters of type UIComponent Modifier and Type Class Description classRenderer<T extends UIComponent>A Renderer converts the internal representation ofUIComponents into the output stream (or writer) associated with the response we are creating for a particular request.Methods in jakarta.faces.render with parameters of type UIComponent Modifier and Type Method Description voidClientBehaviorRenderer. decode(FacesContext context, UIComponent component, ClientBehavior behavior)Decode any new state of thisClientBehaviorfrom the request contained in the specifiedFacesContext.voidRendererWrapper. decode(FacesContext context, UIComponent component)voidRendererWrapper. encodeBegin(FacesContext context, UIComponent component)voidRendererWrapper. encodeChildren(FacesContext context, UIComponent component)voidRendererWrapper. encodeEnd(FacesContext context, UIComponent component)ObjectRenderer. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registeredConverterfor this component, if there is one).ObjectRendererWrapper. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) -
Uses of UIComponent in jakarta.faces.validator
Methods in jakarta.faces.validator with parameters of type UIComponent Modifier and Type Method Description voidBeanValidator. validate(FacesContext context, UIComponent component, Object value)Verify that the value is valid according to the Bean Validation constraints.voidDoubleRangeValidator. validate(FacesContext context, UIComponent component, Object value)voidLengthValidator. validate(FacesContext context, UIComponent component, Object value)voidLongRangeValidator. validate(FacesContext context, UIComponent component, Object value)voidMethodExpressionValidator. validate(FacesContext context, UIComponent component, Object value)voidRegexValidator. validate(FacesContext context, UIComponent component, Object value)Validate a String against a regular expression pattern.voidRequiredValidator. validate(FacesContext context, UIComponent component, Object value)Verify that the converted object value is not null.voidValidator. validate(FacesContext context, UIComponent component, T value) -
Uses of UIComponent in jakarta.faces.view
Methods in jakarta.faces.view that return UIComponent Modifier and Type Method Description UIComponentViewDeclarationLanguage. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)Create a component given aViewDeclarationLanguagespecific tag library URI and tag name.UIComponentViewDeclarationLanguageWrapper. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)Methods in jakarta.faces.view that return types with arguments of type UIComponent Modifier and Type Method Description List<UIComponent>AttachedObjectTarget. getTargets(UIComponent topLevelComponent)Returns theList<UIComponent>that thisAttachedObjectTargetexposes.Methods in jakarta.faces.view with parameters of type UIComponent Modifier and Type Method Description voidAttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)Take the argumentparentand apply this attached object to it.List<UIComponent>AttachedObjectTarget. getTargets(UIComponent topLevelComponent)Returns theList<UIComponent>that thisAttachedObjectTargetexposes.voidViewDeclarationLanguage. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)Assuming the component metadata for argumenttopLevelComponenthas been made available by an earlier call toViewDeclarationLanguage.getComponentMetadata(jakarta.faces.context.FacesContext, jakarta.faces.application.Resource), leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individualAttachedObjectTargetinstances inside the composite component.voidViewDeclarationLanguageWrapper. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)voidViewDeclarationLanguage. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)Assuming the component metadata for argumenttopLevelComponenthas been made available by an earlier call toViewDeclarationLanguage.getComponentMetadata(jakarta.faces.context.FacesContext, jakarta.faces.application.Resource), leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component.voidViewDeclarationLanguageWrapper. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent) -
Uses of UIComponent in jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets that return UIComponent Modifier and Type Method Description UIComponentComponentHandler. createComponent(FaceletContext ctx)Subclasses that wish to take over the task of instantiating theUIComponentinstance corresponding to this tag handler my override this method to do so.Methods in jakarta.faces.view.facelets with parameters of type UIComponent Modifier and Type Method Description voidCompositeFaceletHandler. apply(FaceletContext ctx, UIComponent parent)Calls apply on any child handlers.voidDelegatingMetaTagHandler. apply(FaceletContext ctx, UIComponent parent)The default implementation simply calls through toTagHandlerDelegate.apply(jakarta.faces.view.facelets.FaceletContext, jakarta.faces.component.UIComponent).abstract voidFacelet. apply(FacesContext facesContext, UIComponent parent)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.voidFaceletHandler. apply(FaceletContext ctx, UIComponent parent)Process changes on a particular UIComponentabstract voidTagHandlerDelegate. apply(FaceletContext ctx, UIComponent comp)voidFaceletsAttachedObjectHandler. applyAttachedObject(FacesContext ctx, UIComponent parent)Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argumentparent.voidFacelet. applyMetadata(FacesContext facesContext, UIComponent parent)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 thef:metadatatag.voidDelegatingMetaTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)Invoke theapply()method on this instance'sTagHandler.nextHandler.abstract voidFaceletContext. includeFacelet(UIComponent parent, String relativePath)Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in Jakarta Server Pages)abstract voidFaceletContext. includeFacelet(UIComponent parent, URL absolutePath)Include another Facelet defined at some path, absolute to this ClassLoader/OSstatic booleanComponentHandler. isNew(UIComponent component)Determine if the passed component is not null and if it's new to the tree.voidComponentHandler. onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)This method is guaranteed to be called after the component has been created but before it has been populated with children.voidComponentHandler. onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)This method is guaranteed to be called after the component has been populated with children.
-