Package com.sun.xml.bind.v2.runtime
Class NameList
- java.lang.Object
-
- 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- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String[]
localNames
Local names by their indices.java.lang.String[]
namespaceURIs
Namespace URIs by their indices.boolean[]
nsUriCannotBeDefaulted
For each entry innamespaceURIs
, whether the namespace URI can be declared as the default.int
numberOfAttributeNames
Number of Names for attributesint
numberOfElementNames
Number of Names for elements
-
Constructor Summary
Constructors Constructor Description NameList(java.lang.String[] namespaceURIs, boolean[] nsUriCannotBeDefaulted, java.lang.String[] localNames, int numberElementNames, int numberAttributeNames)
-
-
-
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 innamespaceURIs
, 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
-
-