public class SerializableMessageFormatter extends Object implements MessageMemberFormatter
Serializable interface. This is needed
for exceptions (for now), and for other systems expecting
serializable objects, e.g. hazelcast, android bundles etc.| Modifier and Type | Field and Description |
|---|---|
static String |
T_SERIALIZE_INSTANCE |
| Constructor and Description |
|---|
SerializableMessageFormatter(net.morimekta.util.io.IndentedPrintWriter writer,
JavaOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendConstants(JMessage<?> message) |
void |
appendFields(JMessage<?> message) |
void |
appendMethods(JMessage<?> message) |
Collection<String> |
getExtraImplements(JMessage<?> message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendClassAnnotations, appendConstructors, appendExtraPropertiespublic static final String T_SERIALIZE_INSTANCE
public SerializableMessageFormatter(net.morimekta.util.io.IndentedPrintWriter writer,
JavaOptions options)
public Collection<String> getExtraImplements(JMessage<?> message) throws net.morimekta.providence.generator.GeneratorException
getExtraImplements in interface MessageMemberFormatternet.morimekta.providence.generator.GeneratorExceptionpublic void appendConstants(JMessage<?> message) throws net.morimekta.providence.generator.GeneratorException
appendConstants in interface MessageMemberFormatternet.morimekta.providence.generator.GeneratorExceptionpublic void appendFields(JMessage<?> message) throws net.morimekta.providence.generator.GeneratorException
appendFields in interface MessageMemberFormatternet.morimekta.providence.generator.GeneratorExceptionpublic void appendMethods(JMessage<?> message)
appendMethods in interface MessageMemberFormatterCopyright © 2015–2020 morimekta.net. All rights reserved.