Package org.apache.sis.xml
Class TransformingNamespaces.Prefixes
java.lang.Object
org.apache.sis.xml.TransformingNamespaces.Prefixes
- Enclosing class:
- TransformingNamespaces
private static final class TransformingNamespaces.Prefixes
extends Object
implements Iterator<String>
Iterator for the prefixes to be returned by
TransformingNamespaces.getPrefixes(String)
.
Each prefix is fetched only when first needed.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NamespaceContext
TheTransformingNamespaces.context
reference.Iterator over the namespace replacements.private final String
The namespace for which prefixes are desired.private String
The next value to be returned bynext()
, ornull
if not yet fetched.Iterator over some (not all) prefixes, ornull
if a new iterator needs to be fetched. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
namespaceURI
The namespace for which prefixes are desired. -
context
TheTransformingNamespaces.context
reference. -
exports
Iterator over the namespace replacements. -
prefixes
Iterator over some (not all) prefixes, ornull
if a new iterator needs to be fetched. -
next
The next value to be returned bynext()
, ornull
if not yet fetched.
-
-
Constructor Details
-
Prefixes
Creates a new iterator for the prefixes associated to the given namespace URI.
-
-
Method Details