KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xalan > trace > EndSelectionEvent


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 /*
17  * $Id: EndSelectionEvent.java,v 1.6 2004/02/16 23:00:27 minchau Exp $
18  */

19 package org.apache.xalan.trace;
20
21 import org.apache.xalan.templates.ElemTemplateElement;
22 import org.apache.xalan.transformer.TransformerImpl;
23 import org.apache.xpath.XPath;
24 import org.apache.xpath.objects.XObject;
25
26 import org.w3c.dom.Node JavaDoc;
27
28 /**
29  * Event triggered by completion of a xsl:for-each selection or a
30  * xsl:apply-templates selection.
31  * @xsl.usage advanced
32  */

33 public class EndSelectionEvent extends SelectionEvent
34 {
35
36   /**
37    * Create an EndSelectionEvent.
38    *
39    * @param processor The XSLT TransformerFactory.
40    * @param sourceNode The current context node.
41    * @param mode The current mode.
42    * @param styleNode node in the style tree reference for the event.
43    * Should not be null. That is not enforced.
44    * @param attributeName The attribute name from which the selection is made.
45    * @param xpath The XPath that executed the selection.
46    * @param selection The result of the selection.
47    */

48   public EndSelectionEvent(TransformerImpl processor, Node JavaDoc sourceNode,
49                         ElemTemplateElement styleNode, String JavaDoc attributeName,
50                         XPath xpath, XObject selection)
51   {
52
53     super(processor, sourceNode, styleNode, attributeName, xpath, selection);
54   }
55 }
56
Popular Tags