Package jakarta.faces.component.html
Class HtmlInputFile
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UIOutput
jakarta.faces.component.UIInput
jakarta.faces.component.html.HtmlInputFile
- All Implemented Interfaces:
ClientBehaviorHolder,EditableValueHolder,PartialStateHolder,StateHolder,TransientStateHolder,ValueHolder,ComponentSystemEventListener,FacesListener,SystemEventListenerHolder,EventListener
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class jakarta.faces.component.UIInput
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAMEFields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientBehavior(String eventName, ClientBehavior behavior) getAlt()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getDir()getLabel()getLang()intDeprecated, for removal: This API element is subject to removal in a future version.getRole()intgetSize()Deprecated, for removal: This API element is subject to removal in a future version.getStyle()getTitle()booleanbooleanbooleanDeprecated, for removal: This API element is subject to removal in a future version.voidvoidsetAccesskey(String accesskey) voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetAutocomplete(String autocomplete) Deprecated, for removal: This API element is subject to removal in a future version.voidvoidsetDisabled(boolean disabled) voidvoidvoidsetMaxlength(int maxlength) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMultiple(boolean multiple) voidvoidsetOnchange(String onchange) voidsetOnclick(String onclick) voidsetOndblclick(String ondblclick) voidsetOnfocus(String onfocus) voidsetOnkeydown(String onkeydown) voidsetOnkeypress(String onkeypress) voidsetOnkeyup(String onkeyup) voidsetOnmousedown(String onmousedown) voidsetOnmousemove(String onmousemove) voidsetOnmouseout(String onmouseout) voidsetOnmouseover(String onmouseover) voidsetOnmouseup(String onmouseup) voidsetOnselect(String onselect) voidsetReadonly(boolean readonly) Deprecated, for removal: This API element is subject to removal in a future version.voidvoidsetSize(int size) Deprecated, for removal: This API element is subject to removal in a future version.voidvoidsetStyleClass(String styleClass) voidsetTabindex(String tabindex) voidvoidsetValueExpression(String name, jakarta.el.ValueExpression expression) protected voidvalidateValue(FacesContext context, Object convertedValue) Methods inherited from class jakarta.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidatorMessage, getValidators, getValue, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidatorMessage, setValue, updateModel, validateMethods inherited from class jakarta.faces.component.UIOutput
getConverter, getLocalValue, setConverterMethods inherited from class jakarta.faces.component.UIComponentBase
addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTreeMethods inherited from class jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.faces.component.behavior.ClientBehaviorHolder
getClientBehaviorsMethods inherited from interface jakarta.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
COMPONENT_TYPE
- See Also:
-
-
Constructor Details
-
HtmlInputFile
public HtmlInputFile()
-
-
Method Details
-
validateValue
- Overrides:
validateValuein classUIInput
-
getFamily
-
getEventNames
- Specified by:
getEventNamesin interfaceClientBehaviorHolder- Overrides:
getEventNamesin classUIComponentBase
-
addClientBehavior
- Specified by:
addClientBehaviorin interfaceClientBehaviorHolder- Overrides:
addClientBehaviorin classUIComponentBase
-
getDefaultEventName
- Specified by:
getDefaultEventNamein interfaceClientBehaviorHolder- Overrides:
getDefaultEventNamein classUIComponentBase
-
getMaxlength
Deprecated, for removal: This API element is subject to removal in a future version. -
setMaxlength
Deprecated, for removal: This API element is subject to removal in a future version. -
getSize
Deprecated, for removal: This API element is subject to removal in a future version. -
setSize
Deprecated, for removal: This API element is subject to removal in a future version. -
getAutocomplete
Deprecated, for removal: This API element is subject to removal in a future version. -
setAutocomplete
Deprecated, for removal: This API element is subject to removal in a future version. -
getAccept
-
setAccept
-
isMultiple
public boolean isMultiple() -
setMultiple
public void setMultiple(boolean multiple) -
getAccesskey
-
setAccesskey
-
getOnselect
-
setOnselect
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled) -
isReadonly
Deprecated, for removal: This API element is subject to removal in a future version. -
setReadonly
Deprecated, for removal: This API element is subject to removal in a future version. -
getOnclick
-
setOnclick
-
getOndblclick
-
setOndblclick
-
getOnkeydown
-
setOnkeydown
-
getOnkeypress
-
setOnkeypress
-
getOnkeyup
-
setOnkeyup
-
getOnmousedown
-
setOnmousedown
-
getOnmousemove
-
setOnmousemove
-
getOnmouseout
-
setOnmouseout
-
getOnmouseover
-
setOnmouseover
-
getOnmouseup
-
setOnmouseup
-
getStyle
-
setStyle
-
getStyleClass
-
setStyleClass
-
getRole
-
setRole
-
getLabel
-
setLabel
-
getAlt
Deprecated, for removal: This API element is subject to removal in a future version. -
setAlt
Deprecated, for removal: This API element is subject to removal in a future version. -
getDir
-
setDir
-
getLang
-
setLang
-
getTitle
-
setTitle
-
getOnblur
-
setOnblur
-
getOnfocus
-
setOnfocus
-
getTabindex
-
setTabindex
-
getOnchange
-
setOnchange
-
setValueExpression
- Overrides:
setValueExpressionin classUIComponent
-