Package org.mybatis.generator.api
Interface JavaFormatter
- All Known Implementing Classes:
DefaultJavaFormatter
public interface JavaFormatter
Objects implementing this interface are used to convert the internal
representation of the Java DOM classes into a string suitable for
saving to the file system. Note that the string generated by this
class will be saved directly to the file system with no additional modifications.
Only one instance of the class will be created in each context. Configuration can be passed into the class through the use of properties in the Context.
- Author:
- Jeff Butler
-
Method Summary
Modifier and TypeMethodDescriptiongetFormattedContent
(CompilationUnit compilationUnit) void
setContext
(Context context)
-
Method Details
-
setContext
-
getFormattedContent
-