< prev index next >
src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/staxex/NamespaceContextEx.java
Print this page
*** 40,62 ****
* Iterates all the in-scope namespace bindings.
*
* <p>
* This method enumerates all the active in-scope namespace bindings.
* This does not include implicit bindings, such as
! * <tt>"xml"->"http://www.w3.org/XML/1998/namespace"</tt>
! * or <tt>""->""</tt> (the implicit default namespace URI.)
*
* <p>
* The returned iterator may not include the same prefix more than once.
! * For example, the returned iterator may only contain <tt>f=ns2</tt>
* if the document is as follows and this method is used at the bar element.
*
! * <pre><xmp>
* <foo xmlns:f='ns1'>
* <bar xmlns:f='ns2'>
* ...
! * </xmp></pre>
*
* <p>
* The iteration may be done in no particular order.
*
* @return
--- 40,62 ----
* Iterates all the in-scope namespace bindings.
*
* <p>
* This method enumerates all the active in-scope namespace bindings.
* This does not include implicit bindings, such as
! * {@code "xml"->"http://www.w3.org/XML/1998/namespace"}
! * or {@code ""->""} (the implicit default namespace URI.)
*
* <p>
* The returned iterator may not include the same prefix more than once.
! * For example, the returned iterator may only contain {@code f=ns2}
* if the document is as follows and this method is used at the bar element.
*
! * <pre>{@code
* <foo xmlns:f='ns1'>
* <bar xmlns:f='ns2'>
* ...
! * }</pre>
*
* <p>
* The iteration may be done in no particular order.
*
* @return
< prev index next >