## Uses of Class
javax.faces.component.UIComponent

- Packages that use UIComponent
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.component.behavior | APIs for attaching additional behavior to user interface components.
  javax.faces.component.html | Specialized user interface component classes for HTML.
  javax.faces.component.visit | APIs for traversing a user interface component view.
  javax.faces.context | Classes and interfaces defining per-request state information.
  javax.faces.convert | Contains classes and interfaces defining converters.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.
  javax.faces.render | Classes and interfaces defining the rendering model.
  javax.faces.validator | Interface defining the validator model, and concrete validator implementation classes.
  javax.faces.view | Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces.
  javax.faces.view.facelets | This package contains public classes for the Java code API of Facelets.
  javax.faces.webapp | Classes required for integration of JavaServer Faces into web applications, including a standard servlet, base classes for JSP custom component tags, and concrete tag implementations for core tags.

- - ### Uses of UIComponent in javax.faces.application

    Methods in javax.faces.application that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `UIComponent` | ApplicationWrapper.`createComponent(FacesContext context, Resource componentResource)` The default behavior of this method is to call `Application.createComponent(javax.faces.context.FacesContext, Resource)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(FacesContext context, Resource componentResource)` Instantiate and return a new `UIComponent` instance from the argument `Resource`.
    `UIComponent` | ApplicationWrapper.`createComponent(FacesContext context, String componentType, String rendererType)` The default behavior of this method is to call `Application.createComponent(javax.faces.context.FacesContext, String, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(FacesContext context, String componentType, String rendererType)` Like `Application.createComponent(String)` except the `Renderer` for the component to be returned must be inspected for the annotations mentioned in `Application.createComponent(ValueExpression, FacesContext, String)` as specified in the documentation for that method.
    `UIComponent` | ApplicationWrapper.`createComponent(String componentType)` The default behavior of this method is to call `Application.createComponent(String)` on the wrapped `Application` object.
    `abstract UIComponent` | Application.`createComponent(String componentType)` Instantiate and return a new `UIComponent` instance of the class specified by a previous call to `addComponent()` for the specified component type.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueBinding componentBinding, FacesContext context, String componentType)` Deprecated. See superclass for alternative.
    `abstract UIComponent` | Application.`createComponent(ValueBinding componentBinding, FacesContext context, String componentType)` Deprecated. This has been replaced by `Application.createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String)`.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType)` The default behavior of this method is to call `Application.createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType)` Call the `getValue()` method on the specified `ValueExpression`.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)` The default behavior of this method is to call `Application.createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)` Like `Application.createComponent(ValueExpression, FacesContext, String)` except the `Renderer` for the component to be returned must be inspected for the annotations mentioned in `Application.createComponent(ValueExpression, FacesContext, String)` as specified in the documentation for that method.

  - ### Uses of UIComponent in javax.faces.component

    Subclasses of UIComponent in javax.faces.component
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UIColumn` UIColumn is a `UIComponent` that represents a single column of data within a parent `UIData` component.
    `class` | `UICommand` UICommand is a `UIComponent` that represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".
    `class` | `UIComponentBase` UIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined by `UIComponent`.
    `class` | `UIData` UIData is a `UIComponent` that supports data binding to a collection of data objects represented by a `DataModel` instance, which is the current value of this component itself (typically established via a `ValueExpression`).
    `class` | `UIForm` UIForm is a `UIComponent` that 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.
    `class` | `UIGraphic` UIGraphic is a `UIComponent` that displays a graphical image to the user.
    `class` | `UIInput` UIInput is a `UIComponent` that represents a component that both displays output to the user (like `UIOutput` components do) and processes request parameters on the subsequent request that need to be decoded.
    `class` | `UIMessage` This component is responsible for displaying messages for a specific `UIComponent`, identified by a `clientId` or component id relative to the closest ancestor `NamingContainer`.
    `class` | `UIMessages` The renderer for this component is responsible for obtaining the messages from the `FacesContext` and displaying them to the user.
    `class` | `UINamingContainer` UINamingContainer is a convenience base class for components that wish to implement `NamingContainer` functionality.
    `class` | `UIOutcomeTarget` This component is paired with the `javax.faces.Button` or `javax.faces.Link` renderers and encapsulates properties relating to the rendering of outcomes directly to the response.
    `class` | `UIOutput` UIOutput is a `UIComponent` that has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.
    `class` | `UIPanel` UIPanel is a `UIComponent` that manages the layout of its child components.
    `class` | `UIParameter` UIParameter is a `UIComponent` that represents an optionally named configuration parameter for a parent component.
    `class` | `UISelectBoolean` UISelectBoolean is a `UIComponent` that represents a single boolean (`true` or `false`) value.
    `class` | `UISelectItem` UISelectItem is a component that may be nested inside a `UISelectMany` or `UISelectOne` component, and causes the addition of a `SelectItem` instance to the list of available options for the parent component.
    `class` | `UISelectItems` UISelectItems is a component that may be nested inside a `UISelectMany` or `UISelectOne` component, and causes the addition of one or more `SelectItem` instances to the list of available options in the parent component.
    `class` | `UISelectMany` UISelectMany is a `UIComponent` that represents the user's choice of a zero or more items from among a discrete set of available options.
    `class` | `UISelectOne` UISelectOne is a `UIComponent` that represents the user's choice of zero or one items from among a discrete set of available options.
    `class` | `UIViewAction` UIViewAction represents a method invocation that occurs during the request processing lifecycle, usually in response to an initial request, as opposed to a postback.
    `class` | `UIViewParameter` UIViewParameter represents a binding between a request parameter and a model property or `UIViewRoot` property.
    `class` | `UIViewRoot` UIViewRoot is the UIComponent that represents the root of the UIComponent tree.

    Methods in javax.faces.component that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `UIComponent` | UIComponentBase.`findComponent(String expr)`
    `abstract UIComponent` | UIComponent.`findComponent(String expr)` Search for and return the `UIComponent` with an `id` that matches the specified search expression (if any), according to the algorithm described below.
    `static UIComponent` | UIComponent.`getCompositeComponentParent(UIComponent component)` Finds the nearest composite component parent of the specified component.
    `static UIComponent` | UIComponent.`getCurrentComponent(FacesContext context)` Return the `UIComponent` instance that is currently processing.
    `static UIComponent` | UIComponent.`getCurrentCompositeComponent(FacesContext context)` Return the closest ancestor component, relative to the component returned from `getCurrentComponent(javax.faces.context.FacesContext)`, that is a composite component, or `null` if no such component exists.
    `UIComponent` | UIComponentBase.`getFacet(String name)`
    `abstract UIComponent` | UIComponent.`getFacet(String name)` Convenience method to return the named facet, if it exists, or `null` otherwise.
    `UIComponent` | UIData.`getFooter()` Return the footer facet of this component (if any).
    `UIComponent` | UIColumn.`getFooter()` Return the footer facet of the column (if any).
    `UIComponent` | UIData.`getHeader()` Return the header facet of this component (if any).
    `UIComponent` | UIColumn.`getHeader()` Return the header facet of the column (if any).
    `UIComponent` | UIComponent.`getNamingContainer()` Starting with "this", return the closest component in the ancestry that is a `NamingContainer` or `null` if none can be found.
    `UIComponent` | UIComponentBase.`getParent()`
    `abstract UIComponent` | UIComponent.`getParent()` Return the parent `UIComponent` of this `UIComponent`, if any.

    Methods in javax.faces.component that return types with arguments of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `List<UIComponent>` | UIComponentBase.`getChildren()`
    `abstract List<UIComponent>` | UIComponent.`getChildren()` Return a mutable `List` representing the child `UIComponent`s associated with this component.
    `List<UIComponent>` | UIViewRoot.`getComponentResources(FacesContext context, String target)` Return an unmodifiable `List` of `UIComponent`s for the provided `target` agrument.
    `Map<String,UIComponent>` | UIComponentBase.`getFacets()`
    `abstract Map<String,UIComponent>` | UIComponent.`getFacets()` Return a mutable `Map` representing the facet `UIComponent`s associated with this `UIComponent`, keyed by facet name (which must be a String).
    `Iterator<UIComponent>` | UIComponentBase.`getFacetsAndChildren()`
    `abstract Iterator<UIComponent>` | UIComponent.`getFacetsAndChildren()` Return an `Iterator` over the facet followed by child `UIComponent`s of this `UIComponent`.

    Methods in javax.faces.component with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIViewRoot.`addComponentResource(FacesContext context, UIComponent componentResource)` Add argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIViewRoot.`addComponentResource(FacesContext context, UIComponent componentResource, String target)` Add argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `static UIComponent` | UIComponent.`getCompositeComponentParent(UIComponent component)` Finds the nearest composite component parent of the specified component.
    `void` | ContextCallback.`invokeContextCallback(FacesContext context, UIComponent target)` This method will be called by an implementation of `invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback)` and must be passed the component with the `clientId` given as an argument to `invokeOnComponent`.
    `static boolean` | UIComponent.`isCompositeComponent(UIComponent component)` Return `true` if `component` is a composite component, otherwise `false`.
    `void` | UIComponent.`pushComponentToEL(FacesContext context, UIComponent component)` Push the current `UIComponent` `this` to the `FacesContext` attribute map using the key `CURRENT_COMPONENT` saving the previous `UIComponent` associated with `CURRENT_COMPONENT` for a subsequent call to `popComponentFromEL(javax.faces.context.FacesContext)`.
    `void` | UIViewRoot.`removeComponentResource(FacesContext context, UIComponent componentResource)` Remove argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIViewRoot.`removeComponentResource(FacesContext context, UIComponent componentResource, String target)` Remove argument `component`, which is assumed to represent a resource instance, as a resource to this view.
    `void` | UIData.`setFooter(UIComponent footer)` Set the footer facet of this component.
    `void` | UIColumn.`setFooter(UIComponent footer)` Set the footer facet of the column.
    `void` | UIData.`setHeader(UIComponent header)` Set the header facet of this component.
    `void` | UIColumn.`setHeader(UIComponent header)` Set the header facet of the column.
    `void` | UIComponentBase.`setParent(UIComponent parent)`
    `abstract void` | UIComponent.`setParent(UIComponent parent)` Set the parent `UIComponent` of this `UIComponent`.

  - ### Uses of UIComponent in javax.faces.component.behavior

    Methods in javax.faces.component.behavior that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `abstract UIComponent` | ClientBehaviorContext.`getComponent()` Returns the `UIComponent` that is requesting the `ClientBehavior` script.

    Methods in javax.faces.component.behavior with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `static ClientBehaviorContext` | ClientBehaviorContext.`createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)` Creates a ClientBehaviorContext instance.
    `void` | ClientBehaviorBase.`decode(FacesContext context, UIComponent component)` Default implementation of of `ClientBehavior.decode(javax.faces.context.FacesContext, javax.faces.component.UIComponent)`.
    `void` | ClientBehavior.`decode(FacesContext context, UIComponent component)` Decode any new state of this `ClientBehavior` from the request contained in the specified `FacesContext`.

  - ### Uses of UIComponent in javax.faces.component.html

    Subclasses of UIComponent in javax.faces.component.html
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HtmlBody` NONE
    `class` | `HtmlColumn` Represents a column that will be rendered in an HTML `table` element.
    `class` | `HtmlCommandButton` Represents an HTML `input` element for a button of type `submit` or `reset`.
    `class` | `HtmlCommandLink` Represents an HTML `a` element for a hyperlink that acts like a submit button.
    `class` | `HtmlDataTable` Represents a set of repeating data (segregated into columns by child UIColumn components) that will be rendered in an HTML `table` element.
    `class` | `HtmlDoctype` NONE
    `class` | `HtmlForm` Represents an HTML `form` element.
    `class` | `HtmlGraphicImage` Represents an HTML `img` element, used to retrieve and render a graphical image.
    `class` | `HtmlHead` NONE
    `class` | `HtmlInputFile` Represents an HTML `input` element of type `file`.
    `class` | `HtmlInputHidden` Represents an HTML `input` element of type `hidden`.
    `class` | `HtmlInputSecret` Represents an HTML `input` element of type `password`.
    `class` | `HtmlInputText` Represents an HTML `input` element of type `text`.
    `class` | `HtmlInputTextarea` Represents an HTML `textarea` element.
    `class` | `HtmlMessage` By default, the `rendererType` property must be set to "`javax.faces.Message`".
    `class` | `HtmlMessages` By default, the `rendererType` property must be set to "`javax.faces.Messages`".
    `class` | `HtmlOutcomeTargetButton` Represents an HTML `input` element 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 the `outcome` property.
    `class` | `HtmlOutcomeTargetLink` Represents an HTML `a` (hyperlink) element that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by the `outcome` property.
    `class` | `HtmlOutputFormat` Represents a component that looks up a localized message in a resource bundle, optionally uses it as a `MessageFormat` pattern string and substitutes in parameter values from nested UIParameter components, and renders the result.
    `class` | `HtmlOutputLabel` Represents an HTML `label` element, used to define an accessible label for a corresponding input element.
    `class` | `HtmlOutputLink` Represents an HTML `a` (hyperlink) element that may be used to link to an arbitrary URL defined by the `value` property.
    `class` | `HtmlOutputText` Renders the component value as text, optionally wrapping in a `span` element if I18N attributes, CSS styles or style classes are specified.
    `class` | `HtmlPanelGrid` Renders child components in a table, starting a new row after the specified number of columns.
    `class` | `HtmlPanelGroup` Causes all child components of this component to be rendered.
    `class` | `HtmlSelectBooleanCheckbox` Represents an HTML `input` element of type `checkbox`.
    `class` | `HtmlSelectManyCheckbox` Represents a multiple-selection component that is rendered as a set of HTML `input` elements of type `checkbox`.
    `class` | `HtmlSelectManyListbox` Represents a multiple-selection component that is rendered as an HTML `select` element, showing either all available options or the specified number of options.
    `class` | `HtmlSelectManyMenu` Represents a multiple-selection component that is rendered as an HTML `select` element, showing a single available option at a time.
    `class` | `HtmlSelectOneListbox` Represents a single-selection component that is rendered as an HTML `select` element, showing either all available options or the specified number of options.
    `class` | `HtmlSelectOneMenu` Represents a single-selection component that is rendered as an HTML `select` element, showing a single available option at a time.
    `class` | `HtmlSelectOneRadio` Represents a single-selection component that is rendered as a set of HTML `input` elements of type `radio`.

  - ### Uses of UIComponent in javax.faces.component.visit

    Methods in javax.faces.component.visit with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `Collection<String>` | VisitContextWrapper.`getSubtreeIdsToVisit(UIComponent component)`
    `abstract Collection<String>` | VisitContext.`getSubtreeIdsToVisit(UIComponent component)` Given a `NamingContainer` component, returns the client ids of any components underneath the NamingContainer that should be visited.
    `VisitResult` | VisitContextWrapper.`invokeVisitCallback(UIComponent component, VisitCallback callback)`
    `abstract VisitResult` | VisitContext.`invokeVisitCallback(UIComponent component, VisitCallback callback)` Called by `UIComponent.visitTree()` to visit a single component.
    `VisitResult` | VisitCallback.`visit(VisitContext context, UIComponent target)` This method is called during component tree visits by `VisitContext.invokeVisitCallback()` to visit the specified component.

  - ### Uses of UIComponent in javax.faces.context

    Methods in javax.faces.context with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResponseWriterWrapper.`startElement(String name, UIComponent component)` The default behavior of this method is to call `ResponseWriter.startElement(String, javax.faces.component.UIComponent)` on the wrapped `ResponseWriter` object.
    `abstract void` | ResponseWriter.`startElement(String name, UIComponent component)` Write the start of an element, up to and including the element name.
    `void` | ResponseWriterWrapper.`writeText(Object text, UIComponent component, String property)` The default behavior of this method is to call `ResponseWriter.writeText(Object, UIComponent, String)` on the wrapped `ResponseWriter` object.
    `void` | ResponseWriter.`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.

  - ### Uses of UIComponent in javax.faces.convert

    Methods in javax.faces.convert with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `Object` | ShortConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | NumberConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | LongConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | IntegerConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | FloatConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | EnumConverter.`getAsObject(FacesContext context, UIComponent component, String value)` Convert the `value` argument to one of the enum constants of the class provided in our constructor.
    `Object` | DoubleConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | DateTimeConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | Converter.`getAsObject(FacesContext context, UIComponent component, String value)` Convert the specified string value, which is associated with the specified `UIComponent`, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
    `Object` | CharacterConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | ByteConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | BooleanConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | BigIntegerConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `Object` | BigDecimalConverter.`getAsObject(FacesContext context, UIComponent component, String value)`
    `String` | ShortConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | NumberConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | LongConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | IntegerConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | FloatConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | EnumConverter.`getAsString(FacesContext context, UIComponent component, Object value)` Convert the enum constant given by the `value` argument into a String.
    `String` | DoubleConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | DateTimeConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | Converter.`getAsString(FacesContext context, UIComponent component, Object value)` Convert the specified model object value, which is associated with the specified `UIComponent`, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
    `String` | CharacterConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | ByteConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | BooleanConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | BigIntegerConverter.`getAsString(FacesContext context, UIComponent component, Object value)`
    `String` | BigDecimalConverter.`getAsString(FacesContext context, UIComponent component, Object value)`

  - ### Uses of UIComponent in javax.faces.event

    Methods in javax.faces.event that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `UIComponent` | FacesEvent.`getComponent()` Return the source `UIComponent` that sent this event.
    `UIComponent` | ExceptionQueuedEventContext.`getComponent()` Return the `UIComponent` which was being processed when the exception was thrown.
    `UIComponent` | ComponentSystemEvent.`getComponent()` the source `UIComponent` that sent this event.

    Methods in javax.faces.event with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | PostRestoreStateEvent.`setComponent(UIComponent newComponent)`

    Constructors in javax.faces.event with parameters of type UIComponent
    Constructor and Description
    `ActionEvent(UIComponent component)` Construct a new event object from the specified source component and action command.
    `AjaxBehaviorEvent(UIComponent component, Behavior behavior)` Construct a new event object from the specified source component and Ajax behavior.
    `BehaviorEvent(UIComponent component, Behavior behavior)` Construct a new event object from the specified source component and `behavior`.
    `ComponentSystemEvent(UIComponent component)` Pass the argument `component` to the superclass constructor.
    `ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component)` Instantiate a new `ExceptionQueuedEventContext` that indicates the argument `Throwable` just occurred, relevant to the argument `component`.
    `ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId)` Instantiate a new `ExceptionQueuedEventContext` that indicates the argument `Throwable` just occurred, relevant to the argument `component`, during the lifecycle phase `phaseId`.
    `FacesEvent(UIComponent component)` Construct a new event object from the specified source component.
    `PostAddToViewEvent(UIComponent component)` Instantiate a new `PostAddToViewEvent` that indicates the argument `component` was just added to the view.
    `PostRestoreStateEvent(UIComponent component)` Instantiate a new `PostRestoreStateEvent` that indicates the argument `component` just had its state restored.
    `PostValidateEvent(UIComponent component)`
    `PreRemoveFromViewEvent(UIComponent component)` Instantiate a new `BeforeRemoveFromView` that indicates the argument `component` is about to be removed from the view.
    `PreRenderComponentEvent(UIComponent component)` Instantiate a new `PreRenderComponentEvent` that indicates the argument `component` is about to be rendered.
    `PreValidateEvent(UIComponent component)`
    `ValueChangeEvent(UIComponent component, Object oldValue, Object newValue)` Construct a new event object from the specified source component, old value, and new value.

  - ### Uses of UIComponent in javax.faces.render

    Methods in javax.faces.render with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | RendererWrapper.`decode(FacesContext context, UIComponent component)`
    `void` | Renderer.`decode(FacesContext context, UIComponent component)` Decode any new state of the specified `UIComponent` from the request contained in the specified `FacesContext`, and store that state on the `UIComponent`.
    `void` | ClientBehaviorRenderer.`decode(FacesContext context, UIComponent component, ClientBehavior behavior)` Decode any new state of this `ClientBehavior` from the request contained in the specified `FacesContext`.
    `void` | RendererWrapper.`encodeBegin(FacesContext context, UIComponent component)`
    `void` | Renderer.`encodeBegin(FacesContext context, UIComponent component)` Render the beginning specified `UIComponent` to the output stream or writer associated with the response we are creating.
    `void` | RendererWrapper.`encodeChildren(FacesContext context, UIComponent component)`
    `void` | Renderer.`encodeChildren(FacesContext context, UIComponent component)` Render the child components of this `UIComponent`, following the rules described for `encodeBegin()` to acquire the appropriate value to be rendered.
    `void` | RendererWrapper.`encodeEnd(FacesContext context, UIComponent component)`
    `void` | Renderer.`encodeEnd(FacesContext context, UIComponent component)` Render the ending of the current state of the specified `UIComponent`, following the rules described for `encodeBegin()` to acquire the appropriate value to be rendered.
    `Object` | RendererWrapper.`getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)`
    `Object` | Renderer.`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 registered `Converter` for this component, if there is one).

  - ### Uses of UIComponent in javax.faces.validator

    Methods in javax.faces.validator with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | Validator.`validate(FacesContext context, UIComponent component, Object value)` Perform the correctness checks implemented by this `Validator` against the specified `UIComponent`.
    `void` | RequiredValidator.`validate(FacesContext context, UIComponent component, Object value)` Verify that the converted object value is not null.
    `void` | RegexValidator.`validate(FacesContext context, UIComponent component, Object value)` Validate a String against a regular expression pattern.
    `void` | MethodExpressionValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | LongRangeValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | LengthValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | DoubleRangeValidator.`validate(FacesContext context, UIComponent component, Object value)`
    `void` | BeanValidator.`validate(FacesContext context, UIComponent component, Object value)` Verify that the value is valid according to the Bean Validation constraints.

  - ### Uses of UIComponent in javax.faces.view

    Methods in javax.faces.view that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `UIComponent` | ViewDeclarationLanguageWrapper.`createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)`
    `UIComponent` | ViewDeclarationLanguage.`createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)` Create a component given a `ViewDeclarationLanguage` specific tag library URI and tag name.

    Methods in javax.faces.view that return types with arguments of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `List<UIComponent>` | AttachedObjectTarget.`getTargets(UIComponent topLevelComponent)` Returns the `List<UIComponent>` that this `AttachedObjectTarget` exposes.

    Methods in javax.faces.view with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `void` | AttachedObjectHandler.`applyAttachedObject(FacesContext context, UIComponent parent)` Take the argument `parent` and apply this attached object to it.
    `List<UIComponent>` | AttachedObjectTarget.`getTargets(UIComponent topLevelComponent)` Returns the `List<UIComponent>` that this `AttachedObjectTarget` exposes.
    `void` | ViewDeclarationLanguageWrapper.`retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)`
    `void` | ViewDeclarationLanguage.`retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)` Assuming the component metadata for argument `topLevelComponent` has been made available by an earlier call to `ViewDeclarationLanguage.getComponentMetadata(javax.faces.context.FacesContext, javax.faces.application.Resource)`, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individual `AttachedObjectTarget` instances inside the composite component.
    `void` | ViewDeclarationLanguageWrapper.`retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)`
    `void` | ViewDeclarationLanguage.`retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)` Assuming the component metadata for argument `topLevelComponent` has been made available by an earlier call to `ViewDeclarationLanguage.getComponentMetadata(javax.faces.context.FacesContext, javax.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.

  - ### Uses of UIComponent in javax.faces.view.facelets

    Methods in javax.faces.view.facelets that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `UIComponent` | ComponentHandler.`createComponent(FaceletContext ctx)` Subclasses that wish to take over the task of instantiating the `UIComponent` instance corresponding to this tag handler my override this method to do so.

    Methods in javax.faces.view.facelets with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | TagHandlerDelegate.`apply(FaceletContext ctx, UIComponent comp)` Called by classes that implement `FaceletHandler` in their implementation of `apply()`.
    `void` | FaceletHandler.`apply(FaceletContext ctx, UIComponent parent)` Process changes on a particular UIComponent
    `void` | DelegatingMetaTagHandler.`apply(FaceletContext ctx, UIComponent parent)` The default implementation simply calls through to `TagHandlerDelegate.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)`.
    `void` | CompositeFaceletHandler.`apply(FaceletContext ctx, UIComponent parent)` Calls apply on any child handlers.
    `abstract void` | Facelet.`apply(FacesContext facesContext, UIComponent parent)` The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.
    `void` | FaceletsAttachedObjectHandler.`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 argument `parent`.
    `void` | DelegatingMetaTagHandler.`applyNextHandler(FaceletContext ctx, UIComponent c)` Invoke the `apply()` method on this instance's `TagHandler.nextHandler`.
    `abstract void` | FaceletContext.`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 JSP)
    `abstract void` | FaceletContext.`includeFacelet(UIComponent parent, URL absolutePath)` Include another Facelet defined at some path, absolute to this ClassLoader/OS
    `static boolean` | ComponentHandler.`isNew(UIComponent component)` Determine if the passed component is not null and if it's new to the tree.
    `void` | ComponentHandler.`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.
    `void` | ComponentHandler.`onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)` This method is guaranteed to be called after the component has been populated with children.

  - ### Uses of UIComponent in javax.faces.webapp

    Methods in javax.faces.webapp that return UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `protected UIComponent` | UIComponentTag.`createComponent(FacesContext context, String newId)` Deprecated. Implement `createComponent` using Faces 1.1 EL API.
    `protected UIComponent` | UIComponentELTag.`createComponent(FacesContext context, String newId)` Create and return a new child component of the type returned by calling `getComponentType()`.
    `protected abstract UIComponent` | UIComponentClassicTagBase.`createComponent(FacesContext context, String newId)` Create and return a new child component of the type returned by calling `getComponentType()`.
    `protected UIComponent` | UIComponentClassicTagBase.`createVerbatimComponentFromBodyContent()` Create a transient UIOutput component from the body content, of this tag instance or return null if there is no body content, the body content is whitespace, or the body content is a comment.
    `protected UIComponent` | UIComponentClassicTagBase.`findComponent(FacesContext context)` Find and return the `UIComponent`, from the component tree, that corresponds to this tag handler instance.
    `abstract UIComponent` | UIComponentTagBase.`getComponentInstance()` Return the `UIComponent` instance that is associated with this tag instance.
    `UIComponent` | UIComponentClassicTagBase.`getComponentInstance()` Return the `UIComponent` instance that is associated with this tag instance.

    Methods in javax.faces.webapp with parameters of type UIComponent
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | UIComponentTagBase.`addChild(UIComponent child)` Add the component identifier of the specified `UIComponent` to the list of component identifiers created or located by nested `UIComponentTag`s processing this request.
    `protected void` | UIComponentClassicTagBase.`addChild(UIComponent child)`
    `protected void` | UIComponentClassicTagBase.`addVerbatimAfterComponent(UIComponentClassicTagBase parentTag, UIComponent verbatim, UIComponent component)` Add verbatim as a sibling of component in component in the parent's child list.
    `protected void` | UIComponentClassicTagBase.`addVerbatimBeforeComponent(UIComponentClassicTagBase parentTag, UIComponent verbatim, UIComponent component)` Add verbatim as a sibling of component in component in the parent's child list.
    `protected void` | UIComponentTag.`setProperties(UIComponent component)` Deprecated.
    `protected void` | UIComponentELTag.`setProperties(UIComponent component)` Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set.
    `protected abstract void` | UIComponentClassicTagBase.`setProperties(UIComponent component)` Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.