    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xs.xs_StyleRuleElement

    java.lang.Object
       |
       +----com.sun.java.swing.tree.DefaultMutableTreeNode
               |
               +----xg.xg_Node
                       |
                       +----xg.xg_Element
                               |
                               +----xs.xs_RuleElement
                                       |
                                       +----xs.xs_StyleRuleElement

public class xs_StyleRuleElement
extends xs_RuleElement

An XML element to represent a 'style-rule' element in an XSL stylesheet.

##

RegisteredName
  The element type name normally used in XML for this sort of element.
StyleRuleNumber
  This style rule's number.

##

xs_StyleRuleElement()
  Construct an XSL rule element with no type and no name.
xs_StyleRuleElement(String)
  Construct an XSL rule element with a name.

##

getRuleNumber()
  Get this rule's sequential number (which must be set manually via an external call to setRuleNumber() ).
setRuleNumber(int)
  Set this rule's sequential number.
toString()
  Return a string representation of the element (intended for use as debug output).

##

StyleRuleNumber

     protected int StyleRuleNumber

  This style rule's number. Each style rule is given a sequential number during XML parsing of the stylesheet, to make it easier to identify. This is for convenience only, and plays no part whatsoever in the XSL processing itself.

RegisteredName

     public static final String RegisteredName

  The element type name normally used in XML for this sort of element.

##

xs_StyleRuleElement

     public xs_StyleRuleElement()

  Construct an XSL rule element with no type and no name.

xs_StyleRuleElement

     public xs_StyleRuleElement(String InputNodeName)

  Construct an XSL rule element with a name.

  Parameters:
    InputNodeName - The name of the element

##

setRuleNumber

     public void setRuleNumber(int InputRuleNumber)

  Set this rule's sequential number. Also set the number of each of this rule's patterns.

  Parameters:
    InputRuleNumber - The sequential number given to this rule
  Overrides:
    setRuleNumber in class xs_RuleElement

getRuleNumber

     public int getRuleNumber()

  Get this rule's sequential number (which must be set manually via an external call to setRuleNumber() ).

  Returns:
    The sequential number given to this rule
  Overrides:
    getRuleNumber in class xs_RuleElement

toString

     public String toString()

  Return a string representation of the element (intended for use as debug output).

  Returns:
    String represention of the node.
  Overrides:
    toString in class xs_RuleElement

    All Packages  Class Hierarchy  This Package  Previous  Next  Index