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).


Variable Index

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

Constructor Index

 o xs_StyleAttList()
Default constructor.

Method Index

 o getStyleAtt()

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

 o 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.

Variables

 o StyleAttName
 public static final String StyleAttName
The name of the attribute normally used for the net result of a number of style attributes.

Constructors

 o xs_StyleAttList
 public xs_StyleAttList()
Default constructor.

Methods

 o 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
 o 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