jimu-decompiled/sources/com/thoughtworks/xstream/io/xml/AbstractXmlWriter.java
2025-05-13 19:24:51 +02:00

25 lines
733 B
Java

package com.thoughtworks.xstream.io.xml;
import com.thoughtworks.xstream.io.AbstractWriter;
import com.thoughtworks.xstream.io.naming.NameCoder;
/* loaded from: classes.dex */
public abstract class AbstractXmlWriter extends AbstractWriter implements XmlFriendlyWriter {
protected AbstractXmlWriter() {
this(new XmlFriendlyNameCoder());
}
@Override // com.thoughtworks.xstream.io.xml.XmlFriendlyWriter
public String escapeXmlName(String str) {
return super.encodeNode(str);
}
protected AbstractXmlWriter(XmlFriendlyReplacer xmlFriendlyReplacer) {
this((NameCoder) xmlFriendlyReplacer);
}
protected AbstractXmlWriter(NameCoder nameCoder) {
super(nameCoder);
}
}