All Packages Class Hierarchy This Package Previous Next Index
Class xs.xs_ActionElement
java.lang.Object
|
+----com.sun.java.swing.tree.DefaultMutableTreeNode
|
+----xg.xg_Node
|
+----xg.xg_Element
|
+----xs.xs_ActionElement
- public class xs_ActionElement
- extends xg_Element
An XML element representing an action within an XSL rule.
-
StyleProgressBar
- Progress bar for application of style.
-
TheStylesheetDefn
- The definition of the stylesheet which is currently being applied.
-
xs_ActionElement()
- Construct an action element with no name.
-
xs_ActionElement(String)
- Construct an action element with a name.
-
invoke(xg_Element, Writer)
- Invoke this action to the InputSourceElement.
-
setProgressBar(JProgressBar)
- Set the bar on which to show progress (as measured by the end offset of
each node after it is processed).
-
setStylesheetDefn(xs_StylesheetDefn)
- Set the stylesheet definition currently being applied.
-
toString()
- Return a string representation of the element (intended for use as debug
output).
TheStylesheetDefn
protected xs_StylesheetDefn TheStylesheetDefn
- The definition of the stylesheet which is currently being applied.
StyleProgressBar
protected JProgressBar StyleProgressBar
- Progress bar for application of style.
xs_ActionElement
public xs_ActionElement()
- Construct an action element with no name.
xs_ActionElement
public xs_ActionElement(String InputNodeName)
- Construct an action element with a name.
- Parameters:
- InputNodeName - The name of the element
invoke
public void invoke(xg_Element InputSourceElement,
Writer InputResultsWriter) throws xs_StyleException, IOException
- Invoke this action to the InputSourceElement. This is expected to be
overridden in derived classes, to write suitable output to the
InputResultsWriter; this implementation does nothing.
- Parameters:
- InputSourceElement - The pre-parsed source document
- InputResultsWriter - The writer to which to write the results of
applying a stylesheet to the source element
- Throws: xs_StyleException
- Error applying style
- Throws: IOException
- Error writing to results writer
setStylesheetDefn
public void setStylesheetDefn(xs_StylesheetDefn InputStylesheetDefn)
- Set the stylesheet definition currently being applied. The purpose of this
is to enable derived classes to create xs_Stylist objects to perform
further work (although note that the xs_ActionElement class itself has no
knowledge of xs_Stylist, to avoid a circular dependency).
- Parameters:
- InputStylesheetDefn - The definition of the stylesheet to apply
setProgressBar
public void setProgressBar(JProgressBar InputProgressBar)
- Set the bar on which to show progress (as measured by the end offset of
each node after it is processed).
- Parameters:
- InputProgressBar - Progress bar for application of style
toString
public String toString()
- Return a string representation of the element (intended for use as debug
output).
- Returns:
- String representing the node name and its type.
- Overrides:
- toString in class xg_Element
All Packages Class Hierarchy This Package Previous Next Index