org.apache.xml.utils
Class PrefixForUriEnumerator
java.lang.Object
org.apache.xml.utils.PrefixForUriEnumerator
- All Implemented Interfaces:
- java.util.Enumeration
class PrefixForUriEnumerator
- extends java.lang.Object
- implements java.util.Enumeration
Implementation of Enumeration filter, wrapped
aroung the get-all-prefixes version of the operation. This is NOT
necessarily the most efficient approach; finding the URI and then asking
what prefixes apply to it might make much more sense.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allPrefixes
private java.util.Enumeration allPrefixes
uri
private java.lang.String uri
lookahead
private java.lang.String lookahead
nsup
private NamespaceSupport2 nsup
PrefixForUriEnumerator
PrefixForUriEnumerator(NamespaceSupport2 nsup,
java.lang.String uri,
java.util.Enumeration allPrefixes)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration