com.mysema.query.codegen
Class ProjectionSerializer
java.lang.Object
com.mysema.query.codegen.ProjectionSerializer
- All Implemented Interfaces:
- Serializer
@Immutable
public final class ProjectionSerializer
- extends Object
- implements Serializer
ProjectionSerializer is a Serializer implementation for DTO types
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectionSerializer
public ProjectionSerializer(TypeMappings typeMappings)
intro
protected void intro(EntityType model,
com.mysema.codegen.CodeWriter writer)
throws IOException
- Throws:
IOException
outro
protected void outro(EntityType model,
com.mysema.codegen.CodeWriter writer)
throws IOException
- Throws:
IOException
serialize
public void serialize(EntityType model,
SerializerConfig serializerConfig,
com.mysema.codegen.CodeWriter writer)
throws IOException
- Description copied from interface:
Serializer
- Serialize the given EntityType
- Specified by:
serialize
in interface Serializer
- Parameters:
model
- EntityType to serializeserializerConfig
- TODOwriter
- serialization target
- Throws:
IOException
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.