Class VocabularyGenerator

java.lang.Object
com.sun.xml.fastinfoset.vocab.frequency.VocabularyGenerator

@Deprecated public class VocabularyGenerator extends Object
Deprecated.
Generate a Fast Infoset parser and serializer vocabulary from a FrequencyBasedLists.
Author:
Paul.Sandoz@Sun.Com
  • Constructor Details

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

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