    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.

##

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

##

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

##

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

##

RegisteredName

     public static final String RegisteredName

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

##

xs_ChildrenElement

     public xs_ChildrenElement()

  Construct a children element with no name.

xs_ChildrenElement

     public xs_ChildrenElement(String InputNodeName)

  Construct a children 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, 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

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