All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xs.xs_ChildrenElement

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

public class xs_ChildrenElement
extends xs_ActionElement
An XML element representing a 'children' action within an XSL rule.


Variable Index

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

Constructor Index

 o xs_ChildrenElement()
Construct a children element with no name.
 o xs_ChildrenElement(String)
Construct a children element with a name.

Method Index

 o invoke(xg_Element, Writer)
Invoke this action to the InputSourceElement, and write the results to the InputResultsWriter.
 o invokeChild(xg_Node, Writer)
Apply style to the InputChildNode, which is a child of the source element currently being processed.

Variables

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

Constructors

 o xs_ChildrenElement
 public xs_ChildrenElement()
Construct a children element with no name.

 o xs_ChildrenElement
 public xs_ChildrenElement(String InputNodeName)
Construct a children element with a name.

Parameters:
InputNodeName - The name of the element

Methods

 o invoke
 public void invoke(xg_Element InputSourceElement,
                    Writer InputResultsWriter) throws xs_StyleException, IOException
Invoke this action to the InputSourceElement, and write the results to the InputResultsWriter.

Parameters:
InputSourceElement - The pre-parsed source element currently being processed
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
Overrides:
invoke in class xs_ActionElement
 o invokeChild
 protected void invokeChild(xg_Node InputChildNode,
                            Writer InputResultsWriter) throws xs_StyleException, IOException
Apply style to the InputChildNode, which is a child of the source element currently being processed. The way in which this is done depends upon the type of node: if it is an xg_Element, we create an xs_Stylist specially to apply style to it; otherwise we just write out the InputChildNode's content (eg. text or CDATA).

Parameters:
InputChildNode - A child of the source element to which style is currently being applied
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

All Packages  Class Hierarchy  This Package  Previous  Next  Index