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

Method Summary
static void decodeBehaviors(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
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.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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

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

decodeBehaviors

public static void decodeBehaviors(javax.faces.context.FacesContext context,
                                   javax.faces.component.UIComponent component)


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