All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xs.xs_StylesheetDefn

java.lang.Object
   |
   +----xs.xs_StylesheetDefn

public class xs_StylesheetDefn
extends Object
The pre-processed definition of an XSL stylesheet. It exists mainly for convenience, to allow the pieces to be easily passed around - and without the circular dependencies and unecessary baggage that passing a full XML element object would.


Variable Index

 o DefinedStyleHashtable
Hashtable of the defined styles.
 o RuleVector
Vector of the rules defined in this stylesheet.
 o StyleRuleVector
Vector of the style rules defined in this stylesheet.

Constructor Index

 o xs_StylesheetDefn()
Default constructor.

Method Index

 o addDefinedStyle(xg_Element)
Add an element to the hash table of defined styles.
 o getDefinedStyles()
Get the hashtable of defined styles.
 o getRules()
Get the vector of the defined rules.
 o getStyleRules()
Get the vector of the defined style rules.
 o setRules(Vector)
Set the vector of the defined rules.
 o setStyleRules(Vector)
Set the vector of the defined style rules.

Variables

 o RuleVector
 protected Vector RuleVector
Vector of the rules defined in this stylesheet.

 o StyleRuleVector
 protected Vector StyleRuleVector
Vector of the style rules defined in this stylesheet.

 o DefinedStyleHashtable
 protected Hashtable DefinedStyleHashtable
Hashtable of the defined styles.

Constructors

 o xs_StylesheetDefn
 public xs_StylesheetDefn()
Default constructor.

Methods

 o setRules
 public void setRules(Vector InputRuleVector)
Set the vector of the defined rules.

Parameters:
InputRuleVector - The vector of rules
 o setStyleRules
 public void setStyleRules(Vector InputStyleRuleVector)
Set the vector of the defined style rules.

Returns:
The vector of style rules
 o addDefinedStyle
 public void addDefinedStyle(xg_Element InputDefinedStyle) throws xg_VerificationException
Add an element to the hash table of defined styles.

Parameters:
InputDefinedStyle - A define-style element to add
Throws: xg_VerificationException
Either the InputDefinedStyle contains no 'name' attribute or a define-style with this name is already present
 o getRules
 public Vector getRules()
Get the vector of the defined rules.

Returns:
The vector of rules
 o getStyleRules
 public Vector getStyleRules()
Get the vector of the defined style rules.

Returns:
The vector of style rules
 o getDefinedStyles
 public Hashtable getDefinedStyles()
Get the hashtable of defined styles.

Returns:
The hashtable of defined styles

All Packages  Class Hierarchy  This Package  Previous  Next  Index