Class VocabularyGenerator
java.lang.Object
com.sun.xml.fastinfoset.vocab.frequency.VocabularyGenerator
Deprecated.
Generate a Fast Infoset parser and serializer vocabulary from a
FrequencyBasedLists.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.Constants for the various XML-based APIs -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ParserVocabularyDeprecated.private SerializerVocabularyDeprecated.private VocabularyGenerator.XmlApiDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary, FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddToNameTable(QName n, LocalNameQualifiedNamesMap m, QualifiedNameArray a, boolean isAttribute) Deprecated.private voidDeprecated.private voidaddToTable(String s, StringIntMap m, PrefixArray a) Deprecated.private voidaddToTable(String s, StringIntMap m, StringArray a) Deprecated.private voidDeprecated.Deprecated.Get the generated parser vocabulary.Deprecated.Get the generated serializer vocabulary.static voidDeprecated.
-
Field Details
-
_xapi
Deprecated. -
_serializerVocabulary
Deprecated. -
_parserVocabulary
Deprecated.
-
-
Constructor Details
-
VocabularyGenerator
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 Details
-
getSerializerVocabulary
Deprecated.Get the generated serializer vocabulary.- Returns:
- the serializer vocabulary.
-
getParserVocabulary
Deprecated.Get the generated parser vocabulary.- Returns:
- the parser vocabulary.
-
generate
Deprecated. -
addToNameTable
private void addToNameTable(QName n, LocalNameQualifiedNamesMap m, QualifiedNameArray a, boolean isAttribute) Deprecated. -
addToTable
Deprecated. -
addToTable
Deprecated. -
addToTable
Deprecated. -
main
-