public abstract class AbstractModelElement extends Object implements ModelElement
ModelElement which writes model elements
using FreeMarker templates. By default, the fully-qualified class name of the
given model element type, appended with the extension *.ftl is used
as template file name.ModelElement.Context| Constructor and Description |
|---|
AbstractModelElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(ModelElement.Context context,
Writer writer)
Writes this model element to the given writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImportTypespublic void write(ModelElement.Context context, Writer writer) throws Exception
ModelElementwrite in interface ModelElementcontext - 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.