com.mysema.query.codegen
Class DTOSerializer
java.lang.Object
com.mysema.query.codegen.AbstractSerializer
com.mysema.query.codegen.DTOSerializer
- All Implemented Interfaces:
- Serializer
@Immutable
public class DTOSerializer
- extends AbstractSerializer
DTOSerializer 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 |
DTOSerializer
public DTOSerializer()
serialize
public void serialize(EntityModel model,
Writer writer)
throws IOException
- Description copied from interface:
Serializer
- Serialize the given ClassModel
- Parameters:
model
- ClassModel to serializewriter
- serialization target
- Throws:
IOException
intro
protected void intro(EntityModel model,
Writer writer)
throws IOException
- Throws:
IOException
outro
protected void outro(EntityModel model,
Writer writer)
throws IOException
- Throws:
IOException
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.