com.icesoft.faces.renderkit.dom_html_basic
Class PassThruAttributeRenderer

java.lang.Object
  extended bycom.icesoft.faces.renderkit.dom_html_basic.PassThruAttributeRenderer

public class PassThruAttributeRenderer
extends java.lang.Object


Constructor Summary
PassThruAttributeRenderer()
           
 
Method Summary
static boolean passThruAttributeExists(javax.faces.component.UIComponent uiComponent)
          Determine whether any of the attributes defined for the UIComponent instance are pass thru attributes.
static void renderAttributes(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, java.lang.String[] excludedAttributes)
          Render pass thru attributes to the root element of the DOMContext associated with the UIComponent parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassThruAttributeRenderer

public PassThruAttributeRenderer()
Method Detail

renderAttributes

public static void renderAttributes(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent uiComponent,
                                    java.lang.String[] excludedAttributes)
                             throws java.io.IOException
Render pass thru attributes to the root element of the DOMContext associated with the UIComponent parameter. The excludedAttributes argument is a String array of the names of attributes to omit. Do not render attributes contained in the excludedAttributes argument.

Parameters:
facesContext -
uiComponent -
excludedAttributes - attributes to exclude
Throws:
java.io.IOException

passThruAttributeExists

public static boolean passThruAttributeExists(javax.faces.component.UIComponent uiComponent)
Determine whether any of the attributes defined for the UIComponent instance are pass thru attributes.

Parameters:
uiComponent -
Returns:
true if the UIComponent parameter has one or more attributes defined that are pass thru attributes