Class NameList

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

public final class NameList extends Object
Namespace URIs and local names sorted by their indices. Number of Names used for EIIs and AIIs
Author:
Kohsuke Kawaguchi
  • Field Details

    • 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.
    • localNames

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

    • NameList

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