com.mysema.query.codegen
Class DTOSerializer

java.lang.Object
  extended by com.mysema.query.codegen.AbstractSerializer
      extended by 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

Constructor Summary
DTOSerializer()
           
 
Method Summary
protected  void intro(EntityModel model, Writer writer)
           
protected  void outro(EntityModel model, Writer writer)
           
 void serialize(EntityModel model, Writer writer)
          Serialize the given ClassModel
 
Methods inherited from class com.mysema.query.codegen.AbstractSerializer
getExprType, getPathType, getQueryType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTOSerializer

public DTOSerializer()
Method Detail

serialize

public void serialize(EntityModel model,
                      Writer writer)
               throws IOException
Description copied from interface: Serializer
Serialize the given ClassModel

Parameters:
model - ClassModel to serialize
writer - 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.