    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.

##

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

##

xs_StylesheetDefn()
  Default constructor.

##

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

##

RuleVector

     protected Vector RuleVector

  Vector of the rules defined in this stylesheet.

StyleRuleVector

     protected Vector StyleRuleVector

  Vector of the style rules defined in this stylesheet.

DefinedStyleHashtable

     protected Hashtable DefinedStyleHashtable

  Hashtable of the defined styles.

##

xs_StylesheetDefn

     public xs_StylesheetDefn()

  Default constructor.

##

setRules

     public void setRules(Vector InputRuleVector)

  Set the vector of the defined rules.

  Parameters:
    InputRuleVector - The vector of rules

setStyleRules

     public void setStyleRules(Vector InputStyleRuleVector)

  Set the vector of the defined style rules.

  Returns:
    The vector of style rules

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

getRules

     public Vector getRules()

  Get the vector of the defined rules.

  Returns:
    The vector of rules

getStyleRules

     public Vector getStyleRules()

  Get the vector of the defined style rules.

  Returns:
    The vector of style rules

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