net.n2oapp.framework.config.metadata.pack.N2oAllIOPack Maven / Gradle / Ivy
package net.n2oapp.framework.config.metadata.pack;
import net.n2oapp.framework.api.pack.MetadataPack;
import net.n2oapp.framework.api.pack.XmlIOBuilder;
import net.n2oapp.framework.config.io.application.ApplicationIOv2;
import net.n2oapp.framework.config.io.application.ApplicationIOv3;
import net.n2oapp.framework.config.io.application.sidebar.SidebarIOv3;
import net.n2oapp.framework.config.io.menu.ExtraMenuIOv3;
import net.n2oapp.framework.config.io.menu.NavMenuIOv3;
import net.n2oapp.framework.config.io.object.ObjectElementIOv4;
import net.n2oapp.framework.config.io.query.QueryElementIOv4;
import net.n2oapp.framework.config.io.query.QueryElementIOv5;
/**
* Набор всех считывателей метаданных
*/
public class N2oAllIOPack implements MetadataPack>> {
@Override
public void build(XmlIOBuilder extends XmlIOBuilder>> b) {
b.ios(
new ApplicationIOv2(),
new ApplicationIOv3(),
new SidebarIOv3(),
new NavMenuIOv3(),
new ExtraMenuIOv3()
);
b.ios(new ObjectElementIOv4());
b.ios(
new QueryElementIOv4(),
new QueryElementIOv5()
);
b.packs(
new N2oPagesIOv3Pack(),
new N2oPagesIOv4Pack(),
new N2oDatasourcesV1IOPack(),
new N2oRegionsV2IOPack(),
new N2oWidgetsIOPack(),
new N2oWidgetsV5IOPack(),
new N2oFieldSetsIOPack(),
new N2oFieldSetsV5IOPack(),
new N2oControlsV2IOPack(),
new N2oControlsV3IOPack(),
new N2oDataProvidersIOPack(),
new N2oCellsIOPack(),
new N2oCellsV3IOPack(),
new N2oChartsIOPack(),
new N2oEventsIOPack()
);
}
}