1. package org.apache.xalan.trace;
  2. import org.w3c.dom.*;
  3. import org.apache.xalan.templates.ElemTemplateElement;
  4. import org.apache.xalan.transformer.TransformerImpl;
  5. import org.apache.xpath.XPath;
  6. import org.apache.xpath.objects.XObject;
  7. /**
  8. * <meta name="usage" content="advanced"/>
  9. * Event triggered by completion of a xsl:for-each selection or a
  10. * xsl:apply-templates selection.
  11. */
  12. public class EndSelectionEvent extends SelectionEvent
  13. {
  14. /**
  15. * Create an EndSelectionEvent.
  16. *
  17. * @param processor The XSLT TransformerFactory.
  18. * @param sourceNode The current context node.
  19. * @param mode The current mode.
  20. * @param styleNode node in the style tree reference for the event.
  21. * Should not be null. That is not enforced.
  22. * @param attributeName The attribute name from which the selection is made.
  23. * @param xpath The XPath that executed the selection.
  24. * @param selection The result of the selection.
  25. */
  26. public EndSelectionEvent(TransformerImpl processor, Node sourceNode,
  27. ElemTemplateElement styleNode, String attributeName,
  28. XPath xpath, XObject selection)
  29. {
  30. super(processor, sourceNode, styleNode, attributeName, xpath, selection);
  31. }
  32. }