All Packages Class Hierarchy This Package Previous Next Index
Class xs.xs_XslElement
java.lang.Object
|
+----com.sun.java.swing.tree.DefaultMutableTreeNode
|
+----xg.xg_Node
|
+----xg.xg_Element
|
+----xs.xs_XslElement
- public class xs_XslElement
- extends xg_Element
An XML element to represent the root 'xsl' element of an XSL stylesheet.
-
RegisteredName
- The element type name normally used in XML for this sort of element.
-
TheStylesheetDefn
- Vector of the rules defined in this stylesheet.
-
xs_XslElement()
- Construct an xsl stylesheet element with no type and no name.
-
xs_XslElement(String)
- Construct an xsl stylesheet element with a name.
-
applyStyle(xg_Element, Writer, JProgressBar)
- Apply this style to the given source root element, and write the results to
the InputResultsWriter.
-
getStylesheetDefn()
- Get the stylesheet definition.
-
toString()
- Return a string representation of the element (intended for use as debug
output).
-
verify()
-
Verify that this node is correct (ie.
TheStylesheetDefn
protected xs_StylesheetDefn TheStylesheetDefn
- Vector of the rules defined in this stylesheet.
RegisteredName
public static final String RegisteredName
- The element type name normally used in XML for this sort of element.
xs_XslElement
public xs_XslElement()
- Construct an xsl stylesheet element with no type and no name.
xs_XslElement
public xs_XslElement(String InputNodeName)
- Construct an xsl stylesheet element with a name.
- Parameters:
- InputNodeName - The name of the element
verify
public void verify() throws xg_VerificationException
-
Verify that this node is correct (ie. internally correct and/or consistent
with other nodes - such as its parent). The node is OK iff it has a at least
one 'rule' child.
- Throws: xg_VerificationException
- Description of verification problem
- Overrides:
- verify in class xg_Node
applyStyle
public void applyStyle(xg_Element InputSourceRootElement,
Writer InputResultsWriter,
JProgressBar InputProgressBar) throws xs_StyleException
- Apply this style to the given source root element, and write the results to
the InputResultsWriter.
- Parameters:
- InputSourceRootElement - The pre-parsed source document
- InputResultsWriter - The writer to which to write the
results of applying a stylesheet to
the source node
- InputProgressBar - Bar on which to show progress (as
measured by the end offset of each
node after it is processed).
- Throws: xs_StyleException
- Error applying style
getStylesheetDefn
public xs_StylesheetDefn getStylesheetDefn()
- Get the stylesheet definition.
- Returns:
- The stylesheet definition
toString
public String toString()
- Return a string representation of the element (intended for use as debug
output).
- Returns:
- String representing the node's name.
- Overrides:
- toString in class xg_Element
All Packages Class Hierarchy This Package Previous Next Index