public class DOMSerializerOptions extends Object
Constructor and Description |
---|
DOMSerializerOptions() |
Modifier and Type | Method and Description |
---|---|
DOMSerializerOptions |
emitXMLDeclaration() |
DOMSerializerOptions |
encoding(String encoding) |
DOMSerializerOptions |
encodingUTF8() |
boolean |
equals(Object o) |
static DOMSerializerOptions |
getDefaultOptions() |
String |
getEncoding() |
int |
getIndentAmount() |
int |
hashCode() |
DOMSerializerOptions |
indent()
Method sets the indent is requested.
|
DOMSerializerOptions |
indentAmount(int amount) |
boolean |
isIndent() |
boolean |
isOmitXMLDeclaration()
Method returns whether xml declaration shall be written.
|
DOMSerializerOptions |
noIndent() |
DOMSerializerOptions |
omitXMLDeclaration() |
String |
toString() |
public static DOMSerializerOptions getDefaultOptions()
public DOMSerializerOptions noIndent()
public String getEncoding()
public int getIndentAmount()
public boolean isIndent()
public boolean isOmitXMLDeclaration()
public DOMSerializerOptions emitXMLDeclaration()
public DOMSerializerOptions encoding(String encoding)
public DOMSerializerOptions encodingUTF8()
public DOMSerializerOptions indentAmount(int amount)
public DOMSerializerOptions indent()
public DOMSerializerOptions omitXMLDeclaration()
Copyright © 2004–2018 52north.org. All rights reserved.