public interface ModelElement
Writer.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ModelElement.Context
Passed to
ModelElement, providing access to additional data
specific to a given implementation of the model serialization mechanism. |
| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model
element for which an import statement needs to be declared. |
void |
write(ModelElement.Context context,
Writer writer)
Writes this model element to the given writer.
|
void write(ModelElement.Context context, Writer writer) throws Exception
context - Provides additional data specific to the used implementation
of the model serialization mechanism.writer - The writer to write this model to. Must not be closed by
implementations.ExceptionCopyright © 2012-2013. All Rights Reserved.