Class VocabularyGenerator


  • @Deprecated
    public class VocabularyGenerator
    extends java.lang.Object
    Deprecated.
    Generate a Fast Infoset parser and serializer vocabulary from a FrequencyBasedLists.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  VocabularyGenerator.XmlApi
      Deprecated.
      Constants for the various XML-based APIs
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      private void addToNameTable​(javax.xml.namespace.QName n, com.sun.xml.fastinfoset.util.LocalNameQualifiedNamesMap m, com.sun.xml.fastinfoset.util.QualifiedNameArray a, boolean isAttribute)
      Deprecated.
       
      private void addToTable​(java.lang.String s, com.sun.xml.fastinfoset.util.CharArrayIntMap m, com.sun.xml.fastinfoset.util.ContiguousCharArrayArray a)
      Deprecated.
       
      private void addToTable​(java.lang.String s, com.sun.xml.fastinfoset.util.StringIntMap m, com.sun.xml.fastinfoset.util.PrefixArray a)
      Deprecated.
       
      private void addToTable​(java.lang.String s, com.sun.xml.fastinfoset.util.StringIntMap m, com.sun.xml.fastinfoset.util.StringArray a)
      Deprecated.
       
      private void generate​(FrequencyBasedLists fbl)
      Deprecated.
       
      com.sun.xml.fastinfoset.vocab.ParserVocabulary getParserVocabulary()
      Deprecated.
      Get the generated parser vocabulary.
      com.sun.xml.fastinfoset.vocab.SerializerVocabulary getSerializerVocabulary()
      Deprecated.
      Get the generated serializer vocabulary.
      static void main​(java.lang.String[] args)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _serializerVocabulary

        private com.sun.xml.fastinfoset.vocab.SerializerVocabulary _serializerVocabulary
        Deprecated.
      • _parserVocabulary

        private com.sun.xml.fastinfoset.vocab.ParserVocabulary _parserVocabulary
        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​(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 use
        parserVocabulary - the parser vocabulary to use
        fbl - the set of frequency-based lists.
        xapi - the XML API that the parser and serializer vocabulary will be used with.
    • Method Detail

      • 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.
      • addToNameTable

        private void addToNameTable​(javax.xml.namespace.QName n,
                                    com.sun.xml.fastinfoset.util.LocalNameQualifiedNamesMap m,
                                    com.sun.xml.fastinfoset.util.QualifiedNameArray a,
                                    boolean isAttribute)
        Deprecated.
      • addToTable

        private void addToTable​(java.lang.String s,
                                com.sun.xml.fastinfoset.util.StringIntMap m,
                                com.sun.xml.fastinfoset.util.StringArray a)
        Deprecated.
      • addToTable

        private void addToTable​(java.lang.String s,
                                com.sun.xml.fastinfoset.util.StringIntMap m,
                                com.sun.xml.fastinfoset.util.PrefixArray a)
        Deprecated.
      • addToTable

        private void addToTable​(java.lang.String s,
                                com.sun.xml.fastinfoset.util.CharArrayIntMap m,
                                com.sun.xml.fastinfoset.util.ContiguousCharArrayArray a)
        Deprecated.
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        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:
        java.lang.Exception