2022-02-21 02:46:41 +01:00
|
|
|
package love.distributedrebirth.numberxd.x4o;
|
|
|
|
|
|
|
|
|
|
import org.x4o.xml.element.AbstractElementBindingHandler;
|
|
|
|
|
import org.x4o.xml.element.Element;
|
|
|
|
|
import org.x4o.xml.element.ElementBindingHandlerException;
|
|
|
|
|
|
2022-10-20 03:06:56 +02:00
|
|
|
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
2022-02-21 02:46:41 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
|
|
|
|
|
|
2022-10-15 02:34:58 +02:00
|
|
|
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
2022-02-21 02:46:41 +01:00
|
|
|
public class V072TongP1BindingHandler extends AbstractElementBindingHandler<V072TongP1> {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Class<?>[] getBindChildClasses() {
|
|
|
|
|
return new Class[] {V036Teger.class};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Class<?> getBindParentClass() {
|
|
|
|
|
return V072TongP1.class;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void bindChild(Element childElement, V072TongP1 parent, Object childObject) throws ElementBindingHandlerException {
|
|
|
|
|
V036Teger child = (V036Teger)childObject;
|
|
|
|
|
parent.setValue(child);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void createChilderen(Element parentElement,V072TongP1 parent) throws ElementBindingHandlerException {
|
|
|
|
|
createChild(parentElement, parent.theValue());
|
|
|
|
|
}
|
|
|
|
|
}
|