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.InputRenderer
PrimeFaces component (renderer) for the JsonSchemaEditor component. Provides a visual editor for JSON Schemas.
- Since:
- 8.5.0
-
Field Summary
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTERFields 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 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, shouldDecodeMethods 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, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
-
Constructor Details
-
JsonSchemaEditorRenderer
public JsonSchemaEditorRenderer()
-
-
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
-
encodeHiddenInput
protected void encodeHiddenInput(javax.faces.context.FacesContext context, JsonSchemaEditor editor, String clientId) throws IOException Encodes 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.
-