public class DocumentWriterConfig extends Object
| Constructor and Description |
|---|
DocumentWriterConfig()
|
| Modifier and Type | Method and Description |
|---|---|
AttributeOrder |
getAttributeOrder(String
|
String |
getIndent()
|
boolean |
isPreserveEmptyLines()
|
boolean |
isWithDeclaration()
|
boolean |
isWithEndingNewline()
|
void |
setAttributeOrder(String
|
void |
setIndent(String
|
void |
setPreserveEmptyLines(boolean preserveEmptyLines)
|
void |
setWithDeclaration(boolean withDeclaration)
|
void |
setWithEndingNewline(boolean withEndingNewline)
|
public StringgetIndent()
public void setIndent(Stringindent)
public boolean isWithDeclaration()
public void setWithDeclaration(boolean withDeclaration)
public boolean isWithEndingNewline()
public void setWithEndingNewline(boolean withEndingNewline)
public boolean isPreserveEmptyLines()
public void setPreserveEmptyLines(boolean preserveEmptyLines)
public AttributeOrdergetAttributeOrder(String nodeName)
public void setAttributeOrder(StringnodeName, AttributeOrder order)