public final class ProjectionSerializer extends java.lang.Object implements Serializer
Serializer
implementation for projection typesConstructor 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 java.io.IOException
java.io.IOException
protected void outro(EntityType model, com.mysema.codegen.CodeWriter writer) throws java.io.IOException
java.io.IOException
public void serialize(EntityType model, SerializerConfig serializerConfig, com.mysema.codegen.CodeWriter writer) throws java.io.IOException
Serializer
EntityType
serialize
in interface Serializer
model
- EntityType to serializeserializerConfig
- TODOwriter
- serialization targetjava.io.IOException
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.