public class IlrBOMVocabularySerializer
extends java.lang.Object
implements ilog.rules.vocabulary.model.io.IlrVocabularySerializer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTIES_VOC_FILE_EXTENSION |
| Constructor and Description |
|---|
IlrBOMVocabularySerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
void |
readVocabulary(IlrVocabulary vocabulary,
java.io.Reader reader,
java.lang.Object context)
Reads the
vocabulary from the provided reader. |
void |
writeVocabulary(IlrVocabulary vocabulary,
java.io.Writer writer)
Writes the
vocabulary into the provided writer. |
public static final java.lang.String PROPERTIES_VOC_FILE_EXTENSION
public java.lang.String getName()
public void writeVocabulary(IlrVocabulary vocabulary, java.io.Writer writer) throws java.io.IOException
vocabulary into the provided writer.java.io.IOExceptionvocabulary - The vocabulary to write.writer - The writer.public void readVocabulary(IlrVocabulary vocabulary, java.io.Reader reader, java.lang.Object context) throws java.io.IOException, IlrSerializerError
vocabulary from the provided reader. The context parameter
should be the IlrObjectModel used to resolve types.java.io.IOExceptionIlrSerializerErrorvocabulary - The vocabulary to fill.reader - The reader.context - The IlrObjectModel used to resolve types.© Copyright IBM Corp. 1987, 2017