|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Characters that represent line breaks and indentation. These are represented as String-valued JavaBean properties.
| Field Summary | |
static java.lang.String |
DEFAULT_INDENT
Two spaces; the default indentation. |
static java.lang.String |
NORMAL_END_OF_LINE
"\n"; the normalized representation of end-of-line in XML. |
| Method Summary | |
java.lang.String |
getIndent()
The characters used for one level of indentation. |
java.lang.String |
getNewLine()
The characters that introduce a new line. |
void |
setIndent(java.lang.String indent)
Set the characters used for one level of indentation. |
void |
setNewLine(java.lang.String newLine)
Set the characters that introduce a new line. |
| Field Detail |
public static final java.lang.String DEFAULT_INDENT
public static final java.lang.String NORMAL_END_OF_LINE
| Method Detail |
public void setIndent(java.lang.String indent)
DEFAULT_INDENT. "\t" is a popular alternative.
public java.lang.String getIndent()
public void setNewLine(java.lang.String newLine)
NORMAL_END_OF_LINE.
IndentingXMLStreamWriter.getLineSeparator()() is a popular
alternative.
public java.lang.String getNewLine()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||