Class NameBuilder

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

public final class NameBuilder extends Object
Creates Names and assign index numbers to them.

During this process, this class also finds out which namespace URIs are statically known to be un-bindable as the default namespace. Those are the namespace URIs that are used by attribute names.

Author:
Kohsuke Kawaguchi
  • Constructor Details

    • NameBuilder

      public NameBuilder()
  • Method Details

    • createElementName

      public Name createElementName(QName name)
    • createElementName

      public Name createElementName(String nsUri, String localName)
    • createAttributeName

      public Name createAttributeName(QName name)
    • createAttributeName

      public Name createAttributeName(String nsUri, String localName)
    • conclude

      public NameList conclude()
      Wraps up everything and creates NameList.