public interface NamespaceContextEx extends NamespaceContext, Iterable<NamespaceContextEx.Binding>
NamespaceContext
.Modifier and Type | Interface and Description |
---|---|
static interface |
NamespaceContextEx.Binding
Prefix to namespace URI binding.
|
Modifier and Type | Method and Description |
---|---|
Iterator<NamespaceContextEx.Binding> |
iterator()
Iterates all the in-scope namespace bindings.
|
getNamespaceURI, getPrefix, getPrefixes
forEach, spliterator
Iterator<NamespaceContextEx.Binding> iterator()
This method enumerates all the active in-scope namespace bindings. This does not include implicit bindings, such as "xml"->"http://www.w3.org/XML/1998/namespace" or ""->"" (the implicit default namespace URI.)
The returned iterator may not include the same prefix more than once. For example, the returned iterator may only contain f=ns2 if the document is as follows and this method is used at the bar element.
...
The iteration may be done in no particular order.
iterator
in interface Iterable<NamespaceContextEx.Binding>
Copyright © 2006–2020. All rights reserved.