Class InputPhoneRenderer


  • public class InputPhoneRenderer
    extends org.primefaces.renderkit.InputRenderer
    Renderer for the InputPhone component.
    Since:
    7.0
    Author:
    Jasper de Vries <jepsar@gmail.com>
    • Field Summary

      • Fields inherited from class org.primefaces.renderkit.InputRenderer

        ARIA_FILTER
      • Fields inherited from class javax.faces.render.Renderer

        PASSTHROUGH_RENDERER_LOCALNAME_KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decode​(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)  
      void encodeEnd​(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)  
      protected void encodeHiddenInputs​(javax.faces.context.FacesContext context, InputPhone inputPhone, java.lang.String clientId, java.lang.String valueToRender)  
      protected void encodeInput​(javax.faces.context.FacesContext context, InputPhone inputPhone, java.lang.String clientId, java.lang.String valueToRender)  
      protected void encodeMarkup​(javax.faces.context.FacesContext context, InputPhone inputPhone, java.lang.String valueToRender)  
      protected void encodeScript​(javax.faces.context.FacesContext context, InputPhone inputPhone)  
      java.lang.Object getConvertedValue​(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object submittedValue)  
      protected boolean needsValidation​(javax.faces.context.FacesContext context)  
      • Methods inherited from class org.primefaces.renderkit.InputRenderer

        createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
      • Methods inherited from class org.primefaces.renderkit.CoreRenderer

        buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderButtonValue, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
      • Methods inherited from class javax.faces.render.Renderer

        convertClientId, encodeBegin, encodeChildren, getRendersChildren
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InputPhoneRenderer

        public InputPhoneRenderer()
    • Method Detail

      • decode

        public void decode​(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
        Overrides:
        decode in class javax.faces.render.Renderer
      • encodeEnd

        public void encodeEnd​(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component)
                       throws java.io.IOException
        Overrides:
        encodeEnd in class javax.faces.render.Renderer
        Throws:
        java.io.IOException
      • getConvertedValue

        public java.lang.Object getConvertedValue​(javax.faces.context.FacesContext context,
                                                  javax.faces.component.UIComponent component,
                                                  java.lang.Object submittedValue)
        Overrides:
        getConvertedValue in class org.primefaces.renderkit.InputRenderer
      • needsValidation

        protected boolean needsValidation​(javax.faces.context.FacesContext context)
      • encodeMarkup

        protected void encodeMarkup​(javax.faces.context.FacesContext context,
                                    InputPhone inputPhone,
                                    java.lang.String valueToRender)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeInput

        protected void encodeInput​(javax.faces.context.FacesContext context,
                                   InputPhone inputPhone,
                                   java.lang.String clientId,
                                   java.lang.String valueToRender)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeHiddenInputs

        protected void encodeHiddenInputs​(javax.faces.context.FacesContext context,
                                          InputPhone inputPhone,
                                          java.lang.String clientId,
                                          java.lang.String valueToRender)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeScript

        protected void encodeScript​(javax.faces.context.FacesContext context,
                                    InputPhone inputPhone)
                             throws java.io.IOException
        Throws:
        java.io.IOException