com.sun.xml.fastinfoset.vocab.frequency
Class VocabularyGenerator

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

Deprecated.

public class VocabularyGenerator
extends java.lang.Object

Generate a Fast Infoset parser and serializer vocabulary from a FrequencyBasedLists.

Author:
Paul.Sandoz@Sun.Com

Nested Class Summary
static class VocabularyGenerator.XmlApi
          Deprecated. Constants for the various XML-based APIs
 
Constructor Summary
VocabularyGenerator(com.sun.xml.analysis.frequency.FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)
          Deprecated.  
VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary, com.sun.xml.analysis.frequency.FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)
          Deprecated.  
 
Method Summary
 ParserVocabulary getParserVocabulary()
          Deprecated. Get the generated parser vocabulary.
 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
 

Constructor Detail

VocabularyGenerator

public VocabularyGenerator(com.sun.xml.analysis.frequency.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(SerializerVocabulary serializerVocabulary,
                           ParserVocabulary parserVocabulary,
                           com.sun.xml.analysis.frequency.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 SerializerVocabulary getSerializerVocabulary()
Deprecated. 
Get the generated serializer vocabulary.

Returns:
the serializer vocabulary.

getParserVocabulary

public ParserVocabulary getParserVocabulary()
Deprecated. 
Get the generated parser vocabulary.

Returns:
the parser vocabulary.

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