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