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 com.sun.xml.fastinfoset.vocab.ParserVocabularyDeprecated.private com.sun.xml.fastinfoset.vocab.SerializerVocabularyDeprecated.private VocabularyGenerator.XmlApiDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.VocabularyGenerator(com.sun.xml.fastinfoset.vocab.SerializerVocabulary serializerVocabulary, com.sun.xml.fastinfoset.vocab.ParserVocabulary parserVocabulary, FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddToNameTable(QName n, com.sun.xml.fastinfoset.util.LocalNameQualifiedNamesMap m, com.sun.xml.fastinfoset.util.QualifiedNameArray a, boolean isAttribute) Deprecated.private voidaddToTable(String s, com.sun.xml.fastinfoset.util.CharArrayIntMap m, com.sun.xml.fastinfoset.util.ContiguousCharArrayArray a) Deprecated.private voidaddToTable(String s, com.sun.xml.fastinfoset.util.StringIntMap m, com.sun.xml.fastinfoset.util.PrefixArray a) Deprecated.private voidaddToTable(String s, com.sun.xml.fastinfoset.util.StringIntMap m, com.sun.xml.fastinfoset.util.StringArray a) Deprecated.private voidDeprecated.com.sun.xml.fastinfoset.vocab.ParserVocabularyDeprecated.Get the generated parser vocabulary.com.sun.xml.fastinfoset.vocab.SerializerVocabularyDeprecated.Get the generated serializer vocabulary.static voidDeprecated.
-
Field Details
-
_xapi
Deprecated. -
_serializerVocabulary
private com.sun.xml.fastinfoset.vocab.SerializerVocabulary _serializerVocabularyDeprecated. -
_parserVocabulary
private com.sun.xml.fastinfoset.vocab.ParserVocabulary _parserVocabularyDeprecated.
-
-
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(com.sun.xml.fastinfoset.vocab.SerializerVocabulary serializerVocabulary, com.sun.xml.fastinfoset.vocab.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
public com.sun.xml.fastinfoset.vocab.SerializerVocabulary getSerializerVocabulary()Deprecated.Get the generated serializer vocabulary.- Returns:
- the serializer vocabulary.
-
getParserVocabulary
public com.sun.xml.fastinfoset.vocab.ParserVocabulary getParserVocabulary()Deprecated.Get the generated parser vocabulary.- Returns:
- the parser vocabulary.
-
generate
Deprecated. -
addToNameTable
private void addToNameTable(QName n, com.sun.xml.fastinfoset.util.LocalNameQualifiedNamesMap m, com.sun.xml.fastinfoset.util.QualifiedNameArray a, boolean isAttribute) Deprecated. -
addToTable
private void addToTable(String s, com.sun.xml.fastinfoset.util.StringIntMap m, com.sun.xml.fastinfoset.util.StringArray a) Deprecated. -
addToTable
private void addToTable(String s, com.sun.xml.fastinfoset.util.StringIntMap m, com.sun.xml.fastinfoset.util.PrefixArray a) Deprecated. -
addToTable
private void addToTable(String s, com.sun.xml.fastinfoset.util.CharArrayIntMap m, com.sun.xml.fastinfoset.util.ContiguousCharArrayArray a) Deprecated. -
main
-