Package org.mybatis.generator.api.dom
Class OutputUtilities
java.lang.Object
org.mybatis.generator.api.dom.OutputUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidjavaIndent(StringBuilder sb, int indentLevel) Utility method that indents the buffer by the default amount for Java (four spaces per indent level).static voidkotlinIndent(StringBuilder sb, int indentLevel) Utility method that indents the buffer by the default amount for Kotlin (four spaces per indent level).static voidxmlIndent(StringBuilder sb, int indentLevel) Utility method that indents the buffer by the default amount for XML (two spaces per indent level).
-
Constructor Details
-
OutputUtilities
private OutputUtilities()Utility class - no instances allowed.
-
-
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
-