public final class ProjectionSerializer extends Object implements Serializer
Serializer implementation for projection types| Constructor and Description |
|---|
ProjectionSerializer(TypeMappings typeMappings)
Create a new ProjectionSerializer instance
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
intro(EntityType model,
com.mysema.codegen.CodeWriter writer) |
protected void |
outro(EntityType model,
com.mysema.codegen.CodeWriter writer) |
void |
serialize(EntityType model,
SerializerConfig serializerConfig,
com.mysema.codegen.CodeWriter writer)
Serialize the given
EntityType |
@Inject public ProjectionSerializer(TypeMappings typeMappings)
typeMappings - protected void intro(EntityType model, com.mysema.codegen.CodeWriter writer) throws IOException
IOExceptionprotected void outro(EntityType model, com.mysema.codegen.CodeWriter writer) throws IOException
IOExceptionpublic void serialize(EntityType model, SerializerConfig serializerConfig, com.mysema.codegen.CodeWriter writer) throws IOException
SerializerEntityTypeserialize in interface Serializermodel - EntityType to serializeserializerConfig - TODOwriter - serialization targetIOExceptionCopyright © 2007–2014 Mysema Ltd. All rights reserved.