com.sun.msv.reader.datatype

Class DataTypeVocabularyMap

public class DataTypeVocabularyMap extends Object implements Serializable

a map from namespace URI to DataTypeVocabulary

Author: Kohsuke KAWAGUCHI

Method Summary
DataTypeVocabularyget(String namespaceURI)
obtains an DataTypeVocabulary associated to the namespace.
voidput(String namespaceURI, DataTypeVocabulary voc)
manually adds DataTypeVocabulary into this map.

Method Detail

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.