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: */
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: }
|