|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.fastinfoset.vocab.frequency.VocabularyGenerator
public class VocabularyGenerator
Generate a Fast Infoset parser and serializer vocabulary from a
FrequencyBasedLists.
| Nested Class Summary | |
|---|---|
static class |
VocabularyGenerator.XmlApi
Deprecated. Constants for the various XML-based APIs |
| Constructor Summary | |
|---|---|
VocabularyGenerator(FrequencyBasedLists fbl,
VocabularyGenerator.XmlApi xapi)
Deprecated. |
|
VocabularyGenerator(SerializerVocabulary serializerVocabulary,
ParserVocabulary parserVocabulary,
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(String[] args)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VocabularyGenerator(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,
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.| Method Detail |
|---|
public SerializerVocabulary getSerializerVocabulary()
public ParserVocabulary getParserVocabulary()
public static void main(String[] args)
throws 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.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||