Class JsonSchemaEditorRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- de.xima.fc.gui.component.json_schema_editor.JsonSchemaEditorRenderer
-
public class JsonSchemaEditorRenderer extends org.primefaces.renderkit.InputRendererPrimeFaces component (renderer) for the JsonSchemaEditor component. Provides a visual editor for JSON Schemas.- Since:
- 8.5.0
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaEditorRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidencodeHiddenInput(javax.faces.context.FacesContext context, JsonSchemaEditor editor, String clientId)Encodes the hidden input for the JavaScript widget.-
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, getConvertedValue, 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
-
-
-
-
Method Detail
-
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
-
encodeHiddenInput
protected void encodeHiddenInput(javax.faces.context.FacesContext context, JsonSchemaEditor editor, String clientId) throws IOExceptionEncodes the hidden input for the JavaScript widget. This is the input element that is passed to tagify during initialization.- Parameters:
context- The Faces context.editor- The component to be rendered.clientId- Client ID of the current component that is processed.- Throws:
IOException- When the data could not be written to theResponseWriter.
-
-