public abstract class CoreRenderer
extends javax.faces.render.Renderer
Constructor and Description |
---|
CoreRenderer() |
Modifier and Type | Method and Description |
---|---|
protected <T extends javax.faces.component.UIComponent & AjaxSource> |
buildAjaxRequest(javax.faces.context.FacesContext context,
T source) |
protected <T extends javax.faces.component.UIComponent & AjaxSource> |
buildAjaxRequest(javax.faces.context.FacesContext context,
T source,
javax.faces.component.UIForm form) |
protected String |
buildAjaxRequest(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
AjaxSource source,
javax.faces.component.UIForm form,
Map<String,List<String>> params) |
protected String |
buildDomEvent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String domEvent,
String behaviorEvent,
String behaviorEventAlias,
String command) |
protected String |
buildNonAjaxRequest(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.component.UIComponent form,
String decodeParam,
boolean submit) |
protected String |
buildNonAjaxRequest(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.component.UIComponent form,
String decodeParam,
Map<String,List<String>> parameters,
boolean submit) |
protected void |
decodeBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeClientBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder component) |
protected String |
escapeText(String text)
Deprecated.
Use
EscapeUtils |
protected String |
getEventBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder cbh,
String event,
List<javax.faces.component.behavior.ClientBehaviorContext.Parameter> parameters) |
protected String |
getHighlighter() |
protected String |
getResourceRequestPath(javax.faces.context.FacesContext context,
String resourceName) |
protected String |
getResourceURL(javax.faces.context.FacesContext context,
String value) |
protected WidgetBuilder |
getWidgetBuilder(javax.faces.context.FacesContext context) |
protected boolean |
isGrouped() |
boolean |
isValueBlank(String value) |
protected <T extends javax.faces.component.UIComponent & AjaxSource> |
preConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context,
T source) |
protected AjaxRequestBuilder |
preConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
AjaxSource source,
javax.faces.component.UIForm form) |
protected void |
renderChild(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent child) |
protected void |
renderChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
renderDomEvent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String domEvent,
String behaviorEvent,
String behaviorEventAlias,
String command) |
protected void |
renderDomEvents(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String[] eventAttrs) |
protected void |
renderDummyMarkup(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String clientId)
Used by script-only widget to fix #3265 and allow updating of the component.
|
protected void |
renderDynamicPassThruAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
renderOnchange(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
renderOnclick(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String command) |
protected void |
renderPassThruAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String[] attrs) |
protected void |
renderPassThruAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String[] attrs,
String[] ignoredAttrs) |
protected void |
renderValidationMetadata(javax.faces.context.FacesContext context,
javax.faces.component.EditableValueHolder component) |
protected boolean |
shouldRenderAttribute(Object value) |
protected boolean |
shouldWriteId(javax.faces.component.UIComponent component) |
protected void renderChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected void renderChild(javax.faces.context.FacesContext context, javax.faces.component.UIComponent child) throws IOException
IOException
protected String getResourceURL(javax.faces.context.FacesContext context, String value)
protected String getResourceRequestPath(javax.faces.context.FacesContext context, String resourceName)
protected void renderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String[] attrs) throws IOException
IOException
protected void renderDynamicPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected void renderDomEvents(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String[] eventAttrs) throws IOException
IOException
protected void renderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String[] attrs, String[] ignoredAttrs) throws IOException
IOException
protected void renderOnchange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected void renderOnclick(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String command) throws IOException
IOException
protected void renderDomEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String domEvent, String behaviorEvent, String behaviorEventAlias, String command) throws IOException
IOException
protected String buildDomEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String domEvent, String behaviorEvent, String behaviorEventAlias, String command)
protected boolean shouldRenderAttribute(Object value)
public boolean isValueBlank(String value)
protected <T extends javax.faces.component.UIComponent & AjaxSource> AjaxRequestBuilder preConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context, T source)
protected AjaxRequestBuilder preConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, AjaxSource source, javax.faces.component.UIForm form)
protected <T extends javax.faces.component.UIComponent & AjaxSource> String buildAjaxRequest(javax.faces.context.FacesContext context, T source)
protected <T extends javax.faces.component.UIComponent & AjaxSource> String buildAjaxRequest(javax.faces.context.FacesContext context, T source, javax.faces.component.UIForm form)
protected String buildAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, AjaxSource source, javax.faces.component.UIForm form, Map<String,List<String>> params)
protected String buildNonAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.component.UIComponent form, String decodeParam, boolean submit)
protected String buildNonAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.component.UIComponent form, String decodeParam, Map<String,List<String>> parameters, boolean submit)
protected void encodeClientBehaviors(javax.faces.context.FacesContext context, javax.faces.component.behavior.ClientBehaviorHolder component) throws IOException
IOException
protected void decodeBehaviors(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
@Deprecated protected String escapeText(String text)
EscapeUtils
protected String getEventBehaviors(javax.faces.context.FacesContext context, javax.faces.component.behavior.ClientBehaviorHolder cbh, String event, List<javax.faces.component.behavior.ClientBehaviorContext.Parameter> parameters)
protected boolean shouldWriteId(javax.faces.component.UIComponent component)
protected WidgetBuilder getWidgetBuilder(javax.faces.context.FacesContext context)
protected void renderValidationMetadata(javax.faces.context.FacesContext context, javax.faces.component.EditableValueHolder component) throws IOException
IOException
protected String getHighlighter()
protected boolean isGrouped()
protected void renderDummyMarkup(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String clientId) throws IOException
context
- the FacesContext
.component
- the widget without actual HTML markup.clientId
- the component clientId.IOException
Copyright © 2020. All rights reserved.