com.sun.xml.bind.v2.runtime
Class NameBuilder

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

public final class NameBuilder
extends java.lang.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.


Constructor Summary
NameBuilder()
           
 
Method Summary
 NameList conclude()
          Wraps up everything and creates NameList.
 Name createAttributeName(javax.xml.namespace.QName name)
           
 Name createAttributeName(java.lang.String nsUri, java.lang.String localName)
           
 Name createElementName(javax.xml.namespace.QName name)
           
 Name createElementName(java.lang.String nsUri, java.lang.String localName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameBuilder

public NameBuilder()
Method Detail

createElementName

public Name createElementName(javax.xml.namespace.QName name)

createElementName

public Name createElementName(java.lang.String nsUri,
                              java.lang.String localName)

createAttributeName

public Name createAttributeName(javax.xml.namespace.QName name)

createAttributeName

public Name createAttributeName(java.lang.String nsUri,
                                java.lang.String localName)

conclude

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