Class HtmlInputFileRendererBase
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
-
- org.apache.myfaces.renderkit.html.base.HtmlInputFileRendererBase
-
- Direct Known Subclasses:
HtmlInputFileRenderer
public class HtmlInputFileRendererBase extends HtmlRenderer
-
-
Field Summary
-
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlInputFileRendererBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(FacesContext facesContext, UIComponent component)voidencodeEnd(FacesContext facesContext, UIComponent component)ObjectgetConvertedValue(FacesContext context, UIComponent component, Object submittedValue)protected StringgetInputHtmlType(UIComponent component)Returns the HTML type attribute of HTML input element, which is being rendered.protected booleanisAutocompleteOff(FacesContext facesContext, UIComponent component)If autocomplete is "on" or not set, do not render itprotected booleanisDisabled(FacesContext facesContext, UIComponent component)protected booleanisRenderOutputEventAttributes()protected voidrenderInput(FacesContext facesContext, UIComponent component)protected voidrenderInputBegin(FacesContext facesContext, UIComponent component)protected voidrenderInputEnd(FacesContext facesContext, UIComponent component)static voidrenderOutputText(FacesContext facesContext, UIComponent component, String text, boolean escape)protected voidrenderValue(FacesContext facesContext, UIComponent component, ResponseWriter writer)-
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
-
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
-
-
-
-
Method Detail
-
decode
public void decode(FacesContext facesContext, UIComponent component)
-
encodeEnd
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeEndin classRenderer- Throws:
IOException
-
getConvertedValue
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException
- Overrides:
getConvertedValuein classRenderer- Throws:
ConverterException
-
getInputHtmlType
protected String getInputHtmlType(UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered.
-
renderValue
protected void renderValue(FacesContext facesContext, UIComponent component, ResponseWriter writer) throws IOException
- Throws:
IOException
-
isRenderOutputEventAttributes
protected boolean isRenderOutputEventAttributes()
-
renderInput
protected void renderInput(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
renderInputBegin
protected void renderInputBegin(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
renderInputEnd
protected void renderInputEnd(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
isDisabled
protected boolean isDisabled(FacesContext facesContext, UIComponent component)
-
isAutocompleteOff
protected boolean isAutocompleteOff(FacesContext facesContext, UIComponent component)
If autocomplete is "on" or not set, do not render it
-
renderOutputText
public static void renderOutputText(FacesContext facesContext, UIComponent component, String text, boolean escape) throws IOException
- Throws:
IOException
-
-