public final class ProjectionSerializer extends Object implements Serializer
ProjectionSerializer is a 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)
ProjectionSerializer instancetypeMappings - type mappings to be usedprotected 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 - serializer configurationwriter - serialization targetIOExceptionCopyright © 2007–2016 Querydsl. All rights reserved.