Package org.primefaces.renderkit
Class CoreRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- Direct Known Subclasses:
AccordionPanelRenderer,AjaxStatusRenderer,AudioRenderer,AvatarGroupRenderer,AvatarRenderer,BadgeRenderer,BarcodeRenderer,BlockUIRenderer,BodyRenderer,CaptchaRenderer,CardRenderer,CarouselRenderer,CellEditorRenderer,ChartRenderer,ChartRenderer,ChipRenderer,ChronolineRenderer,ClockRenderer,ColumnGroupHelperRenderer,ColumnRenderer,ColumnTogglerRenderer,CommandButtonRenderer,CommandLinkRenderer,ConfirmDialogRenderer,ConfirmPopupRenderer,ContentFlowRenderer,DashboardRenderer,DataRenderer,DataScrollerRenderer,DefaultCommandRenderer,DiagramRenderer,DialogRenderer,DividerRenderer,DraggableRenderer,DroppableRenderer,EffectRenderer,FeedReaderRenderer,FieldsetRenderer,FileUploadRenderer,FocusRenderer,FragmentRenderer,GalleriaRenderer,GMapRenderer,GraphicImageRenderer,HeaderRowRenderer,HotkeyRenderer,IdleMonitorRenderer,ImageCompareRenderer,ImageCropperRenderer,ImageSwitchRenderer,InplaceRenderer,InputRenderer,KeyFilterRenderer,KnobRenderer,LifecycleRenderer,LightBoxRenderer,LogRenderer,MediaRenderer,MindmapRenderer,NotificationBarRenderer,OrderListRenderer,OrganigramRenderer,OutcomeTargetRenderer,OutputLabelRenderer,OutputPanelRenderer,OverlayPanelRenderer,PanelGridBodyColumnRenderer,PanelGridBodyRowRenderer,PanelGridFacetColumnRenderer,PanelGridFacetRowRenderer,PanelGridRenderer,PanelRenderer,PhotoCamRenderer,PollRenderer,ProgressBarRenderer,RemoteCommandRenderer,ResizableRenderer,RibbonGroupRenderer,RibbonRenderer,RingRenderer,RowEditorRenderer,RowRenderer,RowTogglerRenderer,ScheduleRenderer,ScrollPanelRenderer,ScrollTopRenderer,SeparatorRenderer,SidebarRenderer,SkeletonRenderer,SliderRenderer,SpacerRenderer,SplitterRenderer,SpotlightRenderer,StickyRenderer,SubTableRenderer,SummaryRowRenderer,TabViewRenderer,TagCloudRenderer,TagRenderer,TerminalRenderer,TimelineRenderer,ToolbarRenderer,TooltipRenderer,TreeRenderer,UICacheRenderer,UINotificationRenderer,VideoRenderer,WatermarkRenderer,WizardRenderer
public abstract class CoreRenderer extends javax.faces.render.Renderer
-
-
Constructor Summary
Constructors Constructor Description CoreRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, AjaxSource source, javax.faces.component.UIForm form, Map<String,List<String>> params)protected <T extends javax.faces.component.UIComponent & AjaxSource>
StringbuildAjaxRequest(javax.faces.context.FacesContext context, T source)protected <T extends javax.faces.component.UIComponent & AjaxSource>
StringbuildAjaxRequest(javax.faces.context.FacesContext context, T source, javax.faces.component.UIForm form)protected StringbuildDomEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String domEvent, String behaviorEvent, String behaviorEventAlias, String command)protected StringbuildNonAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.component.UIComponent form, String decodeParam, boolean submit)protected StringbuildNonAjaxRequest(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 voiddecodeBehaviors(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidencodeClientBehaviors(javax.faces.context.FacesContext context, javax.faces.component.behavior.ClientBehaviorHolder component)protected booleanendsWithLenghtUnit(String val)protected StringgetEventBehaviors(javax.faces.context.FacesContext context, javax.faces.component.behavior.ClientBehaviorHolder cbh, String event, List<javax.faces.component.behavior.ClientBehaviorContext.Parameter> parameters)protected StringgetHighlighter()protected StringgetResourceRequestPath(javax.faces.context.FacesContext context, String resourceName)protected StringgetResourceURL(javax.faces.context.FacesContext context, String value)protected StyleClassBuildergetStyleClassBuilder(javax.faces.context.FacesContext context)protected WidgetBuildergetWidgetBuilder(javax.faces.context.FacesContext context)protected booleanisGrouped()booleanisValueBlank(String value)protected AjaxRequestBuilderpreConfiguredAjaxRequestBuilder(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>
AjaxRequestBuilderpreConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context, T source)protected voidrenderChild(javax.faces.context.FacesContext context, javax.faces.component.UIComponent child)protected voidrenderChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidrenderDomEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String domEvent, String behaviorEvent, String behaviorEventAlias, String command)protected voidrenderDomEvents(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, List<String> eventAttrs)protected voidrenderDummyMarkup(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 voidrenderDynamicPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidrenderOnchange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidrenderOnclick(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String command)protected voidrenderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String[] attrs, String[] ignoredAttrs)protected voidrenderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, List<String> attrs)protected voidrenderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, List<String>... attrs)protected voidrenderValidationMetadata(javax.faces.context.FacesContext context, javax.faces.component.EditableValueHolder component)protected booleanshouldRenderAttribute(Object value)protected booleanshouldWriteId(javax.faces.component.UIComponent component)
-
-
-
Method Detail
-
renderChildren
protected void renderChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException- Throws:
IOException
-
renderChild
protected void renderChild(javax.faces.context.FacesContext context, javax.faces.component.UIComponent child) throws IOException- Throws:
IOException
-
getResourceURL
protected String getResourceURL(javax.faces.context.FacesContext context, String value)
-
getResourceRequestPath
protected String getResourceRequestPath(javax.faces.context.FacesContext context, String resourceName)
-
renderPassThruAttributes
protected void renderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, List<String> attrs) throws IOException- Throws:
IOException
-
renderPassThruAttributes
@SafeVarargs protected final void renderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, List<String>... attrs) throws IOException
- Throws:
IOException
-
renderDynamicPassThruAttributes
protected void renderDynamicPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException- Throws:
IOException
-
renderDomEvents
protected void renderDomEvents(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, List<String> eventAttrs) throws IOException- Throws:
IOException
-
renderPassThruAttributes
protected void renderPassThruAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String[] attrs, String[] ignoredAttrs) throws IOException- Throws:
IOException
-
renderOnchange
protected void renderOnchange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException- Throws:
IOException
-
renderOnclick
protected void renderOnclick(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String command) throws IOException- Throws:
IOException
-
renderDomEvent
protected void renderDomEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String domEvent, String behaviorEvent, String behaviorEventAlias, String command) throws IOException- Throws:
IOException
-
buildDomEvent
protected String buildDomEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String domEvent, String behaviorEvent, String behaviorEventAlias, String command)
-
shouldRenderAttribute
protected boolean shouldRenderAttribute(Object value)
-
isValueBlank
public boolean isValueBlank(String value)
-
preConfiguredAjaxRequestBuilder
protected <T extends javax.faces.component.UIComponent & AjaxSource> AjaxRequestBuilder preConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context, T source)
-
preConfiguredAjaxRequestBuilder
protected AjaxRequestBuilder preConfiguredAjaxRequestBuilder(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, AjaxSource source, javax.faces.component.UIForm form)
-
buildAjaxRequest
protected <T extends javax.faces.component.UIComponent & AjaxSource> String buildAjaxRequest(javax.faces.context.FacesContext context, T source)
-
buildAjaxRequest
protected <T extends javax.faces.component.UIComponent & AjaxSource> String buildAjaxRequest(javax.faces.context.FacesContext context, T source, javax.faces.component.UIForm form)
-
buildAjaxRequest
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)
-
buildNonAjaxRequest
protected String buildNonAjaxRequest(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.component.UIComponent form, String decodeParam, boolean submit)
-
buildNonAjaxRequest
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)
-
encodeClientBehaviors
protected void encodeClientBehaviors(javax.faces.context.FacesContext context, javax.faces.component.behavior.ClientBehaviorHolder component) throws IOException- Throws:
IOException
-
decodeBehaviors
protected void decodeBehaviors(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
-
getEventBehaviors
protected String getEventBehaviors(javax.faces.context.FacesContext context, javax.faces.component.behavior.ClientBehaviorHolder cbh, String event, List<javax.faces.component.behavior.ClientBehaviorContext.Parameter> parameters)
-
shouldWriteId
protected boolean shouldWriteId(javax.faces.component.UIComponent component)
-
getWidgetBuilder
protected WidgetBuilder getWidgetBuilder(javax.faces.context.FacesContext context)
-
getStyleClassBuilder
protected StyleClassBuilder getStyleClassBuilder(javax.faces.context.FacesContext context)
-
renderValidationMetadata
protected void renderValidationMetadata(javax.faces.context.FacesContext context, javax.faces.component.EditableValueHolder component) throws IOException- Throws:
IOException
-
getHighlighter
protected String getHighlighter()
-
isGrouped
protected boolean isGrouped()
-
renderDummyMarkup
protected void renderDummyMarkup(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String clientId) throws IOExceptionUsed by script-only widget to fix #3265 and allow updating of the component.- Parameters:
context- theFacesContext.component- the widget without actual HTML markup.clientId- the component clientId.- Throws:
IOException
-
endsWithLenghtUnit
protected boolean endsWithLenghtUnit(String val)
-
-