Package org.jitterbit.util.persist

Examples of org.jitterbit.util.persist.Persistor.removeChildren()


        Persistor p = settings.getEntitySettings(transformation);
        Persistor root = p.getFirstChild(ROOT);
        if (root == null) {
            root = p.createChild(ROOT);
        }
        root.removeChildren(ENTRY);
        for (PipelinePosition pos : plugins) {
            Persistor entry = root.createChild(ENTRY);
            entry.putString(NAME, pos.getPluginId().getName());
            entry.putString(VERSION, pos.getPluginId().getVersion().toString());
            entry.putString(POSITION, pos.getRelativePosition().name());
View Full Code Here


        expansion.persist(m_transformationSettings.getEntitySettings(m_Transformation));
    }

    private void saveMapDisplaySettings() {
        Persistor root = m_transformationSettings.getEntitySettings(m_Transformation);
        root.removeChildren("MapAreaDisplay");
        Persistor p = root.createChild("MapAreaDisplay");
        for (MapAreaDisplayOption o : mapAreaDisplay) {
            p.putBoolean(o.name(), Boolean.TRUE);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.