Class TransformingNamespaces.Prefixes

java.lang.Object
org.apache.sis.xml.TransformingNamespaces.Prefixes
All Implemented Interfaces:
Iterator<String>
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 Details

  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Returns true if there is at least one more prefix to return. Invoking this method fetched at most one prefix from the wrapped context.
      Specified by:
      hasNext in interface Iterator<String>
    • next

      public String next()
      Returns the next prefix.
      Specified by:
      next in interface Iterator<String>