25 lines
733 B
Java
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);
|
|
}
|
|
}
|