com.sun.xml.bind.v2.runtime

Class NameBuilder

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.

Method Summary
NameListconclude()
Wraps up everything and creates NameList.
NamecreateAttributeName(QName name)
NamecreateAttributeName(String nsUri, String localName)
NamecreateElementName(QName name)
NamecreateElementName(String nsUri, String localName)

Method Detail

conclude

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

createAttributeName

public Name createAttributeName(QName name)

createAttributeName

public Name createAttributeName(String nsUri, String localName)

createElementName

public Name createElementName(QName name)

createElementName

public Name createElementName(String nsUri, String localName)