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 void
decode(FacesContext facesContext, UIComponent component)
void
encodeEnd(FacesContext facesContext, UIComponent component)
Object
getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
protected String
getInputHtmlType(UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered.protected boolean
isAutocompleteOff(FacesContext facesContext, UIComponent component)
If autocomplete is "on" or not set, do not render itprotected boolean
isDisabled(FacesContext facesContext, UIComponent component)
protected boolean
isRenderOutputEventAttributes()
protected void
renderInput(FacesContext facesContext, UIComponent component)
protected void
renderInputBegin(FacesContext facesContext, UIComponent component)
protected void
renderInputEnd(FacesContext facesContext, UIComponent component)
static void
renderOutputText(FacesContext facesContext, UIComponent component, String text, boolean escape)
protected void
renderValue(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:
encodeEnd
in classRenderer
- Throws:
IOException
-
getConvertedValue
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException
- Overrides:
getConvertedValue
in 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
-
-