Class NamespaceSupport.Prefixes

java.lang.Object
org.apache.xml.serializer.dom3.NamespaceSupport.Prefixes
All Implemented Interfaces:
Enumeration
Enclosing class:
NamespaceSupport

protected final class NamespaceSupport.Prefixes
extends Object
implements Enumeration
  • Constructor Details

    • Prefixes

      public Prefixes​(String[] prefixes, int size)
      Constructor for Prefixes.
  • Method Details

    • hasMoreElements

      public boolean hasMoreElements()
      Description copied from interface: Enumeration
      Returns whether this Enumeration has more elements.
      Specified by:
      hasMoreElements in interface Enumeration
      Returns:
      true if there are more elements, false otherwise.
      See Also:
      Enumeration.hasMoreElements()
    • nextElement

      public Object nextElement()
      Description copied from interface: Enumeration
      Returns the next element in this Enumeration.
      Specified by:
      nextElement in interface Enumeration
      Returns:
      the next element..
      See Also:
      Enumeration.nextElement()
    • toString

      public String toString()
      Description copied from class: Object
      Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
         getClass().getName() + '@' + Integer.toHexString(hashCode())

      See Writing a useful toString method if you intend implementing your own toString method.

      Overrides:
      toString in class Object
      Returns:
      a printable representation of this object.