Class VocabularyGenerator
- java.lang.Object
-
- com.sun.xml.fastinfoset.vocab.frequency.VocabularyGenerator
-
public class VocabularyGenerator extends Object
Deprecated.Generate a Fast Infoset parser and serializer vocabulary from aFrequencyBasedLists.- Author:
- Paul.Sandoz@Sun.Com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVocabularyGenerator.XmlApiDeprecated.Constants for the various XML-based APIs
-
Constructor Summary
Constructors Constructor Description VocabularyGenerator(FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)Deprecated.VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary, FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ParserVocabularygetParserVocabulary()Deprecated.Get the generated parser vocabulary.SerializerVocabularygetSerializerVocabulary()Deprecated.Get the generated serializer vocabulary.static voidmain(String[] args)Deprecated.
-
-
-
Constructor Detail
-
VocabularyGenerator
public VocabularyGenerator(FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)
Deprecated.- Parameters:
fbl- the set of frequency-based lists.xapi- the XML API that the parser and serializer vocabulary will be used with.
-
VocabularyGenerator
public VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary, FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)
Deprecated.- Parameters:
serializerVocabulary- the serializer vocabualry to useparserVocabulary- the parser vocabulary to usefbl- the set of frequency-based lists.xapi- the XML API that the parser and serializer vocabulary will be used with.
-
-
Method Detail
-
getSerializerVocabulary
public SerializerVocabulary getSerializerVocabulary()
Deprecated.Get the generated serializer vocabulary.- Returns:
- the serializer vocabulary.
-
getParserVocabulary
public ParserVocabulary getParserVocabulary()
Deprecated.Get the generated parser vocabulary.- Returns:
- the parser vocabulary.
-
-