This class is not part of the public API.

Class: com.sun.org.apache.xerces.internal.util.NamespaceSupport.Prefixes

  • final protected class NamespaceSupport.Prefixes
  • implements Enumeration

Inheritance

Superclass tree:
  • java.lang.Object
  • com.sun.org.apache.xerces.internal.util.NamespaceSupport.Prefixes
Implements:

Methods

  • NamespaceSupport.Prefixestop

    public NamespaceSupport.Prefixes(String[] prefixes, int size)
    Constructor for Prefixes.
    Google Code Search
    Stack Overflow
  • hasMoreElementstop

    public boolean hasMoreElements()
    Tests if this enumeration contains more elements.
    Return:
    @return true if and only if this enumeration object contains at least one more element to provide; false otherwise.
    See:
    @see java.util.Enumeration.hasMoreElements()
    Specified by:
    hasMoreElements from Enumeration<E>
    Google Code Search
    Stack Overflow
  • nextElementtop

    public Object nextElement()
    Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
    Return:
    @return the next element of this enumeration.
    See:
    @see java.util.Enumeration.nextElement()
    Specified by:
    nextElement from Enumeration<E>
    Google Code Search
    Stack Overflow
  • toStringtop

    public String toString()
    Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

    The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

     getClass().getName() + '@' + Integer.toHexString(hashCode())
     
    Return:
    @return a string representation of the object.
    Override hierarchy:
    toString from Object
    Google Code Search
    Stack Overflow

Fields

  • counter

    private int counter
  • prefixes

    private String[] prefixes
  • size

    private int size