Initial commit
This commit is contained in:
50
sources/com/thoughtworks/xstream/io/WriterWrapper.java
Normal file
50
sources/com/thoughtworks/xstream/io/WriterWrapper.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package com.thoughtworks.xstream.io;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class WriterWrapper implements ExtendedHierarchicalStreamWriter {
|
||||
protected HierarchicalStreamWriter wrapped;
|
||||
|
||||
protected WriterWrapper(HierarchicalStreamWriter hierarchicalStreamWriter) {
|
||||
this.wrapped = hierarchicalStreamWriter;
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public void addAttribute(String str, String str2) {
|
||||
this.wrapped.addAttribute(str, str2);
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public void close() {
|
||||
this.wrapped.close();
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public void endNode() {
|
||||
this.wrapped.endNode();
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public void flush() {
|
||||
this.wrapped.flush();
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public void setValue(String str) {
|
||||
this.wrapped.setValue(str);
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public void startNode(String str) {
|
||||
this.wrapped.startNode(str);
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.HierarchicalStreamWriter
|
||||
public HierarchicalStreamWriter underlyingWriter() {
|
||||
return this.wrapped.underlyingWriter();
|
||||
}
|
||||
|
||||
@Override // com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
|
||||
public void startNode(String str, Class cls) {
|
||||
((ExtendedHierarchicalStreamWriter) this.wrapped).startNode(str, cls);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user