what-the-bank/sources/org/simpleframework/xml/stream/Format.java

77 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.simpleframework.xml.stream;
/* loaded from: classes.dex */
public class Format {
private final int indent;
private final String prolog;
private final Style style;
private final Verbosity verbosity;
public Format() {
this(3);
}
public Format(int i) {
this(i, (String) null, new IdentityStyle());
}
public Format(String str) {
this(3, str);
}
public Format(int i, String str) {
this(i, str, new IdentityStyle());
}
public Format(Verbosity verbosity) {
this(3, verbosity);
}
public Format(int i, Verbosity verbosity) {
this(i, new IdentityStyle(), verbosity);
}
public Format(Style style) {
this(3, style);
}
public Format(Style style, Verbosity verbosity) {
this(3, style, verbosity);
}
public Format(int i, Style style) {
this(i, (String) null, style);
}
public Format(int i, Style style, Verbosity verbosity) {
this(i, null, style, verbosity);
}
public Format(int i, String str, Style style) {
this(i, str, style, Verbosity.HIGH);
}
public Format(int i, String str, Style style, Verbosity verbosity) {
this.verbosity = verbosity;
this.prolog = str;
this.indent = i;
this.style = style;
}
public Verbosity getVerbosity() {
return this.verbosity;
}
public Style getStyle() {
return this.style;
}
public String getProlog() {
return this.prolog;
}
public int getIndent() {
return this.indent;
}
}