public interface Writable
Writer
.Modifier and Type | Interface and Description |
---|---|
static interface |
Writable.Context
Passed to
Writable , providing access to additional data specific to a given implementation of the model
serialization mechanism. |
Modifier and Type | Method and Description |
---|---|
void |
write(Writable.Context context,
Writer writer)
Writes this element to the given writer.
|
void write(Writable.Context context, Writer writer) throws Exception
context
- Provides additional data specific to the used implementation of the serialization mechanism.writer
- The writer to write this element to. Must not be closed by implementations.Exception
- in case of an errorCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.