33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
package love.distributedrebirth.numberxd.x4o;
|
|
|
|
import org.x4o.xml.element.AbstractElementBindingHandler;
|
|
import org.x4o.xml.element.Element;
|
|
import org.x4o.xml.element.ElementBindingHandlerException;
|
|
|
|
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
|
|
import ᴶᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
|
|
|
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
|
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());
|
|
}
|
|
}
|