com.ibm.xsp.renderkit.html_basic
Class AttrsUtil

java.lang.Object
  extended by com.ibm.xsp.renderkit.html_basic.AttrsUtil

public class AttrsUtil
extends java.lang.Object

See Attr and FacesAttrsObject.


Constructor Summary
AttrsUtil()
           
 
Method Summary
static void encodeAttr(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, Attr attr)
           
static void encodeAttrs(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, FacesAttrsObject attrsHolder)
           
static void encodeAttrs(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, java.util.List<Attr> attrs)
           
static void encodeAttrs(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, java.util.List<Attr> attrs, int firstRenderedAttrIndex)
          Used with getFirstRenderedAttrIndex(List) when the renderer needs to test whether there are any attributes before writing out the attributes, this is writes out the attributes, without recomputing the rendered property for the first attr specified.
static void encodeRowAttrs(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, FacesRowAttrsComponent rowAttrsHolder)
           
static int getFirstRenderedAttrIndex(java.util.List<Attr> attrs)
          See encodeAttrs(FacesContext, ResponseWriter, List, int).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttrsUtil

public AttrsUtil()
Method Detail

encodeAttrs

public static void encodeAttrs(javax.faces.context.FacesContext context,
                               javax.faces.context.ResponseWriter writer,
                               FacesAttrsObject attrsHolder)
                        throws java.io.IOException
Throws:
java.io.IOException

encodeRowAttrs

public static void encodeRowAttrs(javax.faces.context.FacesContext context,
                                  javax.faces.context.ResponseWriter writer,
                                  FacesRowAttrsComponent rowAttrsHolder)
                           throws java.io.IOException
Throws:
java.io.IOException

encodeAttrs

public static void encodeAttrs(javax.faces.context.FacesContext context,
                               javax.faces.context.ResponseWriter writer,
                               java.util.List<Attr> attrs)
                        throws java.io.IOException
Throws:
java.io.IOException

encodeAttr

public static void encodeAttr(javax.faces.context.FacesContext context,
                              javax.faces.context.ResponseWriter writer,
                              Attr attr)
                       throws java.io.IOException
Throws:
java.io.IOException

getFirstRenderedAttrIndex

public static int getFirstRenderedAttrIndex(java.util.List<Attr> attrs)
See encodeAttrs(FacesContext, ResponseWriter, List, int).

Parameters:
attrs -
Returns:

encodeAttrs

public static void encodeAttrs(javax.faces.context.FacesContext context,
                               javax.faces.context.ResponseWriter writer,
                               java.util.List<Attr> attrs,
                               int firstRenderedAttrIndex)
                        throws java.io.IOException
Used with getFirstRenderedAttrIndex(List) when the renderer needs to test whether there are any attributes before writing out the attributes, this is writes out the attributes, without recomputing the rendered property for the first attr specified.

Parameters:
context -
writer -
attrs -
firstRenderedAttrIndex -
Throws:
java.io.IOException