com.sun.msv.reader.datatype

Class DataTypeVocabularyMap

Implemented Interfaces:
Serializable

public class DataTypeVocabularyMap
extends Object
implements Serializable

a map from namespace URI to DataTypeVocabulary
Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Method Summary

DataTypeVocabulary
get(String namespaceURI)
obtains an DataTypeVocabulary associated to the namespace.
void
put(String namespaceURI, DataTypeVocabulary voc)
manually adds DataTypeVocabulary into this map.

Method Details

get

public DataTypeVocabulary get(String namespaceURI)
obtains an DataTypeVocabulary associated to the namespace. If necessary, Vocabulary is located and instanciated.

put

public void put(String namespaceURI,
                DataTypeVocabulary voc)
manually adds DataTypeVocabulary into this map.