net.noco.dtogen.write
Class ClassWriter
java.lang.Object
net.noco.dtogen.write.ClassWriter
- public class ClassWriter
- extends java.lang.Object
This utility class is responsible with the creation of JavaSources.
- Version:
- $Revision: 1.59 $
- Author:
- the_mindstorm(at)evolva(dot)ro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
L
private static final ILog L
DTO_MODIFIERS
private static final java.lang.String[] DTO_MODIFIERS
TOOL_MODIFIERS
private static final java.lang.String[] TOOL_MODIFIERS
repository
private ModelRepository repository
beanWriter
private BeanPropertyWriter beanWriter
methodWriter
private MethodWriter methodWriter
toolWriter
private ToolMethodWriter toolWriter
ClassWriter
public ClassWriter(ModelRepository repository,
java.util.Map allSkeletons)
createSources
public SourceUnit[] createSources(DTOClassSkel skeleton)
- Generates the java sources for the DTOs and tool classes.
- Parameters:
skeleton
- the DTO to be generated
- Returns:
- an array of the java sources resulted from skeleton
loadCode
private Code loadCode(java.lang.String url)
Copyright © 2004 Alexandru Popescu (a.k.a. the_mindstorm). All Rights Reserved.