org.richfaces.renderkit
Class RenderKitUtils

java.lang.Object
  extended by org.richfaces.renderkit.RenderKitUtils

public final class RenderKitUtils
extends java.lang.Object

Author:
Nick Belaevski

Nested Class Summary
static class RenderKitUtils.Attributes
           
 
Method Summary
static RenderKitUtils.Attributes attributes()
           
static java.lang.String decodeBehaviors(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
static java.lang.Object getAttributeAndBehaviorsValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, ComponentAttribute componentAttribute)
           
static java.lang.String prefixAttributeName(java.lang.String attributeName, boolean isXhtmlMode)
           
static java.lang.String prefixAttributeName(java.lang.String attributeName, javax.faces.context.ResponseWriter responseWriter)
           
static void renderAttribute(javax.faces.context.FacesContext facesContext, java.lang.String attributeName, java.lang.Object attributeValue)
           
static void renderAttributeAndBehaviors(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, ComponentAttribute componentAttribute)
           
static void renderPassThroughAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.util.Collection<ComponentAttribute> attributes)
           
static void renderPassThroughAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.util.Map<java.lang.String,ComponentAttribute> knownAttributesMap)
           
static void renderPassThroughAttributesOptimized(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.util.Map<java.lang.String,ComponentAttribute> knownAttributesMap)
           
static boolean shouldRenderAttribute(java.lang.Object attributeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shouldRenderAttribute

public static boolean shouldRenderAttribute(java.lang.Object attributeValue)

prefixAttributeName

public static java.lang.String prefixAttributeName(java.lang.String attributeName,
                                                   boolean isXhtmlMode)

prefixAttributeName

public static java.lang.String prefixAttributeName(java.lang.String attributeName,
                                                   javax.faces.context.ResponseWriter responseWriter)

renderAttribute

public static void renderAttribute(javax.faces.context.FacesContext facesContext,
                                   java.lang.String attributeName,
                                   java.lang.Object attributeValue)
                            throws java.io.IOException
Throws:
java.io.IOException

getAttributeAndBehaviorsValue

public static java.lang.Object getAttributeAndBehaviorsValue(javax.faces.context.FacesContext facesContext,
                                                             javax.faces.component.UIComponent component,
                                                             ComponentAttribute componentAttribute)

renderAttributeAndBehaviors

public static void renderAttributeAndBehaviors(javax.faces.context.FacesContext facesContext,
                                               javax.faces.component.UIComponent component,
                                               ComponentAttribute componentAttribute)
                                        throws java.io.IOException
Throws:
java.io.IOException

renderPassThroughAttributesOptimized

public static void renderPassThroughAttributesOptimized(javax.faces.context.FacesContext context,
                                                        javax.faces.component.UIComponent component,
                                                        java.util.Map<java.lang.String,ComponentAttribute> knownAttributesMap)
                                                 throws java.io.IOException
Throws:
java.io.IOException

renderPassThroughAttributes

public static void renderPassThroughAttributes(javax.faces.context.FacesContext context,
                                               javax.faces.component.UIComponent component,
                                               java.util.Map<java.lang.String,ComponentAttribute> knownAttributesMap)
                                        throws java.io.IOException
Throws:
java.io.IOException

renderPassThroughAttributes

public static void renderPassThroughAttributes(javax.faces.context.FacesContext context,
                                               javax.faces.component.UIComponent component,
                                               java.util.Collection<ComponentAttribute> attributes)
                                        throws java.io.IOException
Throws:
java.io.IOException

decodeBehaviors

public static java.lang.String decodeBehaviors(javax.faces.context.FacesContext context,
                                               javax.faces.component.UIComponent component)

attributes

public static RenderKitUtils.Attributes attributes()


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.