com.sun.xml.bind.v2.runtime

Class NameList

public final class NameList extends Object

Namespace URIs and local names sorted by their indices. Number of Names used for EIIs and AIIs
Field Summary
String[]localNames
Local names by their indices.
String[]namespaceURIs
Namespace URIs by their indices.
boolean[]nsUriCannotBeDefaulted
For each entry in namespaceURIs, whether the namespace URI can be declared as the default.
intnumberOfAttributeNames
Number of Names for attributes
intnumberOfElementNames
Number of Names for elements
Constructor Summary
NameList(String[] namespaceURIs, boolean[] nsUriCannotBeDefaulted, String[] localNames, int numberElementNames, int numberAttributeNames)

Field Detail

localNames

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

namespaceURIs

public final 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.

numberOfAttributeNames

public final int numberOfAttributeNames
Number of Names for attributes

numberOfElementNames

public final int numberOfElementNames
Number of Names for elements

Constructor Detail

NameList

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