org.mybatis.generator.api.dom
Class DefaultJavaFormatter
java.lang.Object
org.mybatis.generator.api.dom.DefaultJavaFormatter
- All Implemented Interfaces:
- JavaFormatter
public class DefaultJavaFormatter
- extends Object
- implements JavaFormatter
This class is the default formatter for generated Java. This class will use the
built in formatting of the DOM classes directly.
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected Context context
DefaultJavaFormatter
public DefaultJavaFormatter()
getFormattedContent
public String getFormattedContent(CompilationUnit compilationUnit)
- Specified by:
getFormattedContent
in interface JavaFormatter
setContext
public void setContext(Context context)
- Specified by:
setContext
in interface JavaFormatter
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.