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.


Variable Index

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

Constructor Index

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

Method Index

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

Variables

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

 o RegisteredName
 public static final String RegisteredName
The element type name normally used in XML for this sort of element.

Constructors

 o xs_StyleRuleElement
 public xs_StyleRuleElement()
Construct an XSL rule element with no type and no name.

 o xs_StyleRuleElement
 public xs_StyleRuleElement(String InputNodeName)
Construct an XSL rule element with a name.

Parameters:
InputNodeName - The name of the element

Methods

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