Package org.primefaces.component.captcha
Class CaptchaRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.captcha.CaptchaRenderer
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected voidencodeMarkup(javax.faces.context.FacesContext context, Captcha captcha, String publicKey) protected voidencodeScript(javax.faces.context.FacesContext context, Captcha captcha, String publicKey) protected StringgetPublicKey(javax.faces.context.FacesContext context, Captcha captcha) 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, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
-
Constructor Details
-
CaptchaRenderer
public CaptchaRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decodein classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, Captcha captcha, String publicKey) throws IOException - Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, Captcha captcha, String publicKey) throws IOException - Throws:
IOException
-
getPublicKey
-