|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ibatis.ibator.api.dom.OutputUtilities
public class OutputUtilities
Method Summary | |
---|---|
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 to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |