01 package javax.xml.stream.events;
02
03 import java.util.Iterator;
04 import javax.xml.namespace.QName;
05
06 /**
07 * An interface for the end element event. An EndElement is reported
08 * for each End Tag in the document.
09 *
10 * @version 1.0
11 * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
12 * @see XMLEvent
13 * @since 1.6
14 */
15 public interface EndElement extends XMLEvent {
16
17 /**
18 * Get the name of this event
19 * @return the qualified name of this event
20 */
21 public QName getName();
22
23 /**
24 * Returns an Iterator of namespaces that have gone out
25 * of scope. Returns an empty iterator if no namespaces have gone
26 * out of scope.
27 * @return an Iterator over Namespace interfaces, or an
28 * empty iterator
29 */
30 public Iterator getNamespaces();
31
32 }
|