Class 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 Detail

      • NameBuilder

        public NameBuilder()
    • Method Detail

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