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

32 lines
881 B
Java

package org.simpleframework.xml.stream;
/* loaded from: classes6.dex */
public class HyphenStyle implements Style {
private final Builder builder;
private final Style style;
public HyphenStyle() {
HyphenBuilder hyphenBuilder = new HyphenBuilder();
this.style = hyphenBuilder;
this.builder = new Builder(hyphenBuilder);
}
@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);
}
}