com.sun.xml.fastinfoset.vocab.frequency
public class VocabularyGenerator extends java.lang.Object
FrequencyBasedLists
.Modifier and Type | Class and Description |
---|---|
static class |
VocabularyGenerator.XmlApi
Deprecated.
Constants for the various XML-based APIs
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
ParserVocabulary |
getParserVocabulary()
Deprecated.
Get the generated parser vocabulary.
|
SerializerVocabulary |
getSerializerVocabulary()
Deprecated.
Get the generated serializer vocabulary.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
public VocabularyGenerator(com.sun.xml.analysis.frequency.FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)
fbl
- the set of frequency-based lists.xapi
- the XML API that the parser and serializer vocabulary
will be used with.public VocabularyGenerator(SerializerVocabulary serializerVocabulary, ParserVocabulary parserVocabulary, com.sun.xml.analysis.frequency.FrequencyBasedLists fbl, VocabularyGenerator.XmlApi xapi)
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.public SerializerVocabulary getSerializerVocabulary()
public ParserVocabulary getParserVocabulary()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- the command line arguments. arg[0] is the path to a schema,
args[1] to args[n] are the paths to XML documents.java.lang.Exception