|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mybatis.generator.api.dom.DefaultJavaFormatter
public class DefaultJavaFormatter
This class is the default formatter for generated Java. This class will use the built in formatting of the DOM classes directly.
Field Summary | |
---|---|
protected Context |
context
|
Constructor Summary | |
---|---|
DefaultJavaFormatter()
|
Method Summary | |
---|---|
java.lang.String |
getFormattedContent(CompilationUnit compilationUnit)
|
void |
setContext(Context context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Context context
Constructor Detail |
---|
public DefaultJavaFormatter()
Method Detail |
---|
public java.lang.String getFormattedContent(CompilationUnit compilationUnit)
getFormattedContent
in interface JavaFormatter
public void setContext(Context context)
setContext
in interface JavaFormatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |