< prev index next >
src/java.xml/share/classes/javax/xml/stream/events/StartElement.java
Print this page
*** 1,6 ****
--- 1,7 ----
/*
+ * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 20,39 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
- /*
- * Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
- */
-
package javax.xml.stream.events;
import javax.xml.namespace.QName;
import javax.xml.namespace.NamespaceContext;
-
- import java.util.Map;
import java.util.Iterator;
/**
* The StartElement interface provides access to information about
* start elements. A StartElement is reported for each Start Tag
--- 21,34 ----
*** 60,70 ****
* in any order.
*
* @return a readonly Iterator over Attribute interfaces, or an
* empty iterator
*/
! public Iterator getAttributes();
/**
* Returns an Iterator of namespaces declared on this element.
* This Iterator does not contain previously declared namespaces
* unless they appear on the current START_ELEMENT.
--- 55,65 ----
* in any order.
*
* @return a readonly Iterator over Attribute interfaces, or an
* empty iterator
*/
! public Iterator<Attribute> getAttributes();
/**
* Returns an Iterator of namespaces declared on this element.
* This Iterator does not contain previously declared namespaces
* unless they appear on the current START_ELEMENT.
*** 85,95 ****
*
* @return a readonly Iterator over Namespace interfaces, or an
* empty iterator
*
*/
! public Iterator getNamespaces();
/**
* Returns the attribute referred to by this name
* @param name the qname of the desired name
* @return the attribute corresponding to the name value or null
--- 80,90 ----
*
* @return a readonly Iterator over Namespace interfaces, or an
* empty iterator
*
*/
! public Iterator<Namespace> getNamespaces();
/**
* Returns the attribute referred to by this name
* @param name the qname of the desired name
* @return the attribute corresponding to the name value or null
< prev index next >