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
- Enumeration<E>
Methods
-
NamespaceSupport.Prefixestop
public NamespaceSupport.Prefixes(String[] prefixes, int size)Constructor for Prefixes. -
hasMoreElementstop
public boolean hasMoreElements()Tests if this enumeration contains more elements.- Specified by:
- hasMoreElements from Enumeration<E>
-
nextElementtop
public Object nextElement()Returns the next element of this enumeration if this enumeration object has at least one more element to provide.- Specified by:
- nextElement from Enumeration<E>
-
toStringtop
public String toString()Returns a string representation of the object. In general, thetoStringmethod 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
toStringmethod for classObjectreturns 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())
Fields
-
counter
private int counter -
prefixes
private String[] prefixes -
size
private int size
