40 lines
1.0 KiB
Java
40 lines
1.0 KiB
Java
package org.simpleframework.xml.stream;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public class CamelCaseStyle implements Style {
|
|
private final Builder builder;
|
|
private final Style style;
|
|
|
|
public CamelCaseStyle() {
|
|
this(true, false);
|
|
}
|
|
|
|
public CamelCaseStyle(boolean z) {
|
|
this(z, false);
|
|
}
|
|
|
|
public CamelCaseStyle(boolean z, boolean z2) {
|
|
CamelCaseBuilder camelCaseBuilder = new CamelCaseBuilder(z, z2);
|
|
this.style = camelCaseBuilder;
|
|
this.builder = new Builder(camelCaseBuilder);
|
|
}
|
|
|
|
@Override // org.simpleframework.xml.stream.Style
|
|
public String getAttribute(String str) {
|
|
return this.builder.getAttribute(str);
|
|
}
|
|
|
|
public void setAttribute(String str, String str2) {
|
|
this.builder.setAttribute(str, str2);
|
|
}
|
|
|
|
@Override // org.simpleframework.xml.stream.Style
|
|
public String getElement(String str) {
|
|
return this.builder.getElement(str);
|
|
}
|
|
|
|
public void setElement(String str, String str2) {
|
|
this.builder.setElement(str, str2);
|
|
}
|
|
}
|