what-the-bank/sources/org/simpleframework/xml/strategy/Reference.java

38 lines
862 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.simpleframework.xml.strategy;
/* loaded from: classes6.dex */
class Reference implements Value {
private Class type;
private Object value;
@Override // org.simpleframework.xml.strategy.Value
public int getLength() {
return 0;
}
@Override // org.simpleframework.xml.strategy.Value
public boolean isReference() {
return true;
}
public Reference(Object obj, Class cls) {
this.value = obj;
this.type = cls;
}
@Override // org.simpleframework.xml.strategy.Value
public void setValue(Object obj) {
this.value = obj;
}
@Override // org.simpleframework.xml.strategy.Value
public Object getValue() {
return this.value;
}
@Override // org.simpleframework.xml.strategy.Value
public Class getType() {
return this.type;
}
}