org.xulfaces.renderer
Class XULRenderer
java.lang.Object
javax.faces.render.Renderer
org.xulfaces.renderer.XULRenderer
- Direct Known Subclasses:
- BoxRenderer, BridgeRenderer, ButtonRenderer, ColumnRenderer, CommandRenderer, CommandSetRenderer, DataListBoxRenderer, FrameRenderer, GridRenderer, ImageRenderer, InputRenderer, ListColRenderer, ListColsRenderer, ListHeaderRenderer, ListHeadRenderer, ListItemRenderer, MenuBarRenderer, MenuItemRenderer, MenuPopupRenderer, MenuRenderer, MenuSeparatorRenderer, MessageRenderer, MessagesRenderer, OutputRenderer, PopupRenderer, PopupSetRenderer, ProgressMeterRenderer, ScriptRenderer, SeparatorRenderer, SpacerRenderer, SplitterRenderer, TabBoxRenderer, TabPanelRenderer, TabPanelsRenderer, TabRenderer, TabsRenderer, TextRenderer, ToolbarButtonRenderer, ToolbarRenderer, ToolbarSeparatorRenderer, ToolboxRenderer, TooltipRenderer, TreeCellRenderer, TreeChildrenRenderer, TreeColsRenderer, TreeColumnRenderer, TreeItemRenderer, TreeRenderer, TreeRowRenderer, WizardPageRenderer, WizardRenderer
public abstract class XULRenderer
- extends javax.faces.render.Renderer
- Version:
- $Id: XULRenderer.java,v 1.34 2007/06/10 19:47:06 kito31 Exp $
- Author:
- kito31
Method Summary |
protected java.lang.String |
buildTargetName(javax.faces.component.UIComponent component)
|
java.lang.String |
convertAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected java.lang.String |
getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object currentValue)
Renderers override this method in case output value needs to be
formatted |
java.lang.Object |
getProperty(javax.faces.context.FacesContext context,
java.lang.String name,
javax.faces.component.UIComponent component)
|
protected boolean |
isMethodBindedSubmitted(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
boolean |
isMethodReference(java.lang.String ref)
|
protected boolean |
isParentSmoothlyUpdateable(javax.faces.component.UIComponent component)
|
protected java.lang.Object |
isSubmitted(javax.faces.context.FacesContext facesContext,
java.lang.String clientId)
|
protected boolean |
isSubmitted(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
protected void |
processSmoothlyUpdateable(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String name)
|
protected void |
renderAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.util.List annotatedAttributes)
Render component attributes using ATTRIBUTE annotations. |
protected void |
renderBindedMethod(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String attributeName)
Render a binded method associated to multi action source component. |
static void |
renderChild(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent child)
|
static void |
renderChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderDisabledAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_BINDED_PREFIX
protected static final java.lang.String METHOD_BINDED_PREFIX
- See Also:
- Constant Field Values
XULRenderer
public XULRenderer()
isSubmitted
protected boolean isSubmitted(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
isMethodBindedSubmitted
protected boolean isMethodBindedSubmitted(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
-
- Parameters:
facesContext
- uiComponent
-
- Returns:
true
if a method
isSubmitted
protected java.lang.Object isSubmitted(javax.faces.context.FacesContext facesContext,
java.lang.String clientId)
renderChild
public static void renderChild(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent child)
throws java.io.IOException
- Throws:
java.io.IOException
renderChildren
public static void renderChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
getProperty
public java.lang.Object getProperty(javax.faces.context.FacesContext context,
java.lang.String name,
javax.faces.component.UIComponent component)
convertAsString
public java.lang.String convertAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
renderAttribute
protected void renderAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
renderAttributes
protected void renderAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.util.List annotatedAttributes)
throws java.io.IOException
Render component attributes using ATTRIBUTE annotations.
- Parameters:
facesContext
- The FacesContextcomponent
- The component to renderannotatedAttributes
- List of array {Field,ATTRIBUTE}
- Throws:
java.io.IOException
renderBindedMethod
protected void renderBindedMethod(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.String attributeName)
throws java.io.IOException
Render a binded method associated to multi action source component.
- Parameters:
facesContext
- The faces contextcomponent
- The componentattributeName
- The attribute name which is method binded
- Throws:
java.io.IOException
- An IOException if writing turns bad.
decode
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
- Overrides:
decode
in class javax.faces.render.Renderer
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Overrides:
encodeBegin
in class javax.faces.render.Renderer
- Throws:
java.io.IOException
buildTargetName
protected java.lang.String buildTargetName(javax.faces.component.UIComponent component)
processSmoothlyUpdateable
protected void processSmoothlyUpdateable(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
isParentSmoothlyUpdateable
protected boolean isParentSmoothlyUpdateable(javax.faces.component.UIComponent component)
renderDisabledAttribute
protected void renderDisabledAttribute(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
getFormattedValue
protected java.lang.String getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object currentValue)
throws javax.faces.convert.ConverterException
- Renderers override this method in case output value needs to be
formatted
- Throws:
javax.faces.convert.ConverterException
isMethodReference
public boolean isMethodReference(java.lang.String ref)
Copyright © 2007 null. All Rights Reserved.