|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mybatis.generator.api.dom.OutputUtilities
public class OutputUtilities
Method Summary | |
---|---|
static java.util.Set<java.lang.String> |
calculateImports(java.util.Set<FullyQualifiedJavaType> importedTypes)
returns a unique set of "import xxx;" Strings for the set of types |
static void |
javaIndent(java.lang.StringBuilder sb,
int indentLevel)
Utility method that indents the buffer by the default amount for Java (four spaces per indent level). |
static void |
newLine(java.lang.StringBuilder sb)
Utility method. |
static void |
xmlIndent(java.lang.StringBuilder sb,
int indentLevel)
Utility method that indents the buffer by the default amount for XML (two spaces per indent level). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void javaIndent(java.lang.StringBuilder sb, int indentLevel)
sb
- a StringBuilder to append toindentLevel
- the required indent levelpublic static void xmlIndent(java.lang.StringBuilder sb, int indentLevel)
sb
- a StringBuilder to append toindentLevel
- the required indent levelpublic static void newLine(java.lang.StringBuilder sb)
sb
- the StringBuilder to be appended topublic static java.util.Set<java.lang.String> calculateImports(java.util.Set<FullyQualifiedJavaType> importedTypes)
importedTypes
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |