    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xs.xs_TargetElementElement

    java.lang.Object
       |
       +----com.sun.java.swing.tree.DefaultMutableTreeNode
               |
               +----xg.xg_Node
                       |
                       +----xg.xg_Element
                               |
                               +----xs.xs_PatternElement
                                       |
                                       +----xs.xs_ElementElement
                                               |
                                               +----xs.xs_TargetElementElement

public class xs_TargetElementElement
extends xs_ElementElement

A 'target-element' element in an XSL pattern within an XSL rule.

##

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

##

xs_TargetElementElement()
  Construct a 'target-element' element with no type and no name.
xs_TargetElementElement(String)
  Construct a 'target-element' element with a name.

##

isMatch(xg_Element)
  See if this pattern matches the InputSourceElement.
verify()

  Verify that this node is correct (ie.

##

RegisteredName

     public static final String RegisteredName

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

##

xs_TargetElementElement

     public xs_TargetElementElement()

  Construct a 'target-element' element with no type and no name.

xs_TargetElementElement

     public xs_TargetElementElement(String InputNodeName)

  Construct a 'target-element' 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 no more than one child which is an instance of xs_TargetElementElement.

  Throws: xg_VerificationException
    Description of verification problem
  Overrides:
    verify in class xs_ElementElement

isMatch

     public boolean isMatch(xg_Element InputSourceElement) throws xs_StyleException

  See if this pattern matches the InputSourceElement. If so, return true.

  Parameters:
    InputSourceElement - The source node to match
  Returns:
    The best pattern after checking this one: it will either be InputBestPattern or this
  Throws: xs_StyleException
    An error occurred
  Overrides:
    isMatch in class xs_ElementElement

    All Packages  Class Hierarchy  This Package  Previous  Next  Index