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 enum
Deprecated.Constants for the various XML-based APIs -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ParserVocabulary
Deprecated.private SerializerVocabulary
Deprecated.private VocabularyGenerator.XmlApi
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.VocabularyGenerator
(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary, FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addToNameTable
(QName n, LocalNameQualifiedNamesMap m, QualifiedNameArray a, boolean isAttribute) Deprecated.private void
Deprecated.private void
addToTable
(String s, StringIntMap m, PrefixArray a) Deprecated.private void
addToTable
(String s, StringIntMap m, StringArray a) Deprecated.private void
Deprecated.Deprecated.Get the generated parser vocabulary.Deprecated.Get the generated serializer vocabulary.static void
Deprecated.
-
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
Deprecated.- Parameters:
args
- the command line arguments. arg[0] is the path to a schema, args[1] to args[n] are the paths to XML documents.- Throws:
Exception
-