com.sun.xml.bind.v2.runtime
Class NameList

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.NameList

public final class NameList
extends java.lang.Object

Namespace URIs and local names sorted by their indices. Number of Names used for EIIs and AIIs


Field Summary
 java.lang.String[] localNames
          Local names by their indices.
 java.lang.String[] namespaceURIs
          Namespace URIs by their indices.
 boolean[] nsUriCannotBeDefaulted
          For each entry in namespaceURIs, whether the namespace URI can be declared as the default.
 int numberOfAttributeNames
          Number of Names for attributes
 int numberOfElementNames
          Number of Names for elements
 
Constructor Summary
NameList(java.lang.String[] namespaceURIs, boolean[] nsUriCannotBeDefaulted, java.lang.String[] localNames, int numberElementNames, int numberAttributeNames)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespaceURIs

public final java.lang.String[] namespaceURIs
Namespace URIs by their indices. No nulls in this array. Read-only.


nsUriCannotBeDefaulted

public final boolean[] nsUriCannotBeDefaulted
For each entry in namespaceURIs, whether the namespace URI can be declared as the default. If namespace URI is used in attributes, we always need a prefix, so we can't. True if this URI has to have a prefix.


localNames

public final java.lang.String[] localNames
Local names by their indices. No nulls in this array. Read-only.


numberOfElementNames

public final int numberOfElementNames
Number of Names for elements


numberOfAttributeNames

public final int numberOfAttributeNames
Number of Names for attributes

Constructor Detail

NameList

public NameList(java.lang.String[] namespaceURIs,
                boolean[] nsUriCannotBeDefaulted,
                java.lang.String[] localNames,
                int numberElementNames,
                int numberAttributeNames)