Package org.mybatis.generator.api.dom
Class OutputUtilities
java.lang.Object
org.mybatis.generator.api.dom.OutputUtilities
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
javaIndent
(StringBuilder sb, int indentLevel) Utility method that indents the buffer by the default amount for Java (four spaces per indent level).static void
kotlinIndent
(StringBuilder sb, int indentLevel) Utility method that indents the buffer by the default amount for Kotlin (four spaces per indent level).static void
xmlIndent
(StringBuilder sb, int indentLevel) Utility method that indents the buffer by the default amount for XML (two spaces per indent level).
-
Method Details
-
javaIndent
Utility method that indents the buffer by the default amount for Java (four spaces per indent level).- Parameters:
sb
- a StringBuilder to append toindentLevel
- the required indent level
-
kotlinIndent
Utility method that indents the buffer by the default amount for Kotlin (four spaces per indent level).- Parameters:
sb
- a StringBuilder to append toindentLevel
- the required indent level
-
xmlIndent
Utility method that indents the buffer by the default amount for XML (two spaces per indent level).- Parameters:
sb
- a StringBuilder to append toindentLevel
- the required indent level
-