Package com.sun.xml.ws.util.xml
Class NamespaceContextExAdaper
java.lang.Object
com.sun.xml.ws.util.xml.NamespaceContextExAdaper
- All Implemented Interfaces:
Iterable<NamespaceContextEx.Binding>,NamespaceContext,NamespaceContextEx
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jvnet.staxex.NamespaceContextEx
NamespaceContextEx.Binding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNamespaceURI(String prefix) getPrefixes(String namespaceURI) iterator()Iterates all the in-scope namespace bindings.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NamespaceContextExAdaper
-
-
Method Details
-
iterator
Description copied from interface:NamespaceContextExIterates all the in-scope namespace bindings.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=ns2if the document is as follows and this method is used at the bar element.<foo xmlns:f='ns1'> <bar xmlns:f='ns2'> ...The iteration may be done in no particular order.
- Specified by:
iteratorin interfaceIterable<NamespaceContextEx.Binding>- Specified by:
iteratorin interfaceNamespaceContextEx- Returns:
- may return an empty iterator, but never null.
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNamespaceContext
-
getPrefix
- Specified by:
getPrefixin interfaceNamespaceContext
-
getPrefixes
- Specified by:
getPrefixesin interfaceNamespaceContext
-