    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xs.xs_StyleAttList

    java.lang.Object
       |
       +----xg.xg_AttList
               |
               +----xs.xs_StyleAttList

public class xs_StyleAttList
extends xg_AttList

An XML attribute list to be used for XSL style attributes. It has the ability to return all of its contents in the form of a single attribute suitable for output as CSS. This class was written for convenience only, and it is not expected that any types of elements will use it to hold their attribute lists (instead of a plain xg_AttList).

##

StyleAttName
  The name of the attribute normally used for the net result of a number of style attributes.

##

xs_StyleAttList()
  Default constructor.

##

getStyleAtt()

  Return a single 'style' attribute generated from all the attributes herein.

getStyleAttValue()

  Return the value of a single 'style' attribute generated from all the attributes herein.

  An attribute list with attributes: n1="v1", n2="v2", etc.

##

StyleAttName

     public static final String StyleAttName

  The name of the attribute normally used for the net result of a number of style attributes.

##

xs_StyleAttList

     public xs_StyleAttList()

  Default constructor.

##

getStyleAtt

     public xg_Attribute getStyleAtt()

  Return a single 'style' attribute generated from all the attributes herein. This 'style' attribute is not actually a member of this attribute list.

  An attribute list with attributes: n1="v1", n2="v2", etc. will be returned as one attribute of the form: style="n1:v1; n2:v2; ...".

  Returns:
    A composite CSS-format style attribute produced from all the attributes in this list

getStyleAttValue

     public String getStyleAttValue()

  Return the value of a single 'style' attribute generated from all the attributes herein.

  An attribute list with attributes: n1="v1", n2="v2", etc. will be returned as one value of the form: "n1:v1; n2:v2; ...".

  Returns:
    A composite CSS-format style attribute value produced from all the attributes in this list

    All Packages  Class Hierarchy  This Package  Previous  Next  Index