|
||||||||||
| 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 Set<String> |
calculateImports(Set<FullyQualifiedJavaType> importedTypes)
returns a unique set of "import xxx;" Strings for the set of types |
static 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 |
newLine(StringBuilder sb)
Utility method. |
static void |
xmlIndent(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(StringBuilder sb,
int indentLevel)
sb - a StringBuilder to append toindentLevel - the required indent level
public static void xmlIndent(StringBuilder sb,
int indentLevel)
sb - a StringBuilder to append toindentLevel - the required indent levelpublic static void newLine(StringBuilder sb)
sb - the StringBuilder to be appended topublic static Set<String> calculateImports(Set<FullyQualifiedJavaType> importedTypes)
importedTypes -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||