All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.n2oapp.framework.config.io.action.AbstractActionElementIOV1 Maven / Gradle / Ivy

There is a newer version: 7.28.2
Show newest version
package net.n2oapp.framework.config.io.action;

import net.n2oapp.framework.api.metadata.action.N2oAbstractAction;
import net.n2oapp.framework.api.metadata.io.IOProcessor;
import net.n2oapp.framework.api.metadata.io.NamespaceIO;
import org.jdom2.Element;
import org.springframework.stereotype.Component;

/**
 * Чтение\запись абстрактного действия
 */
@Component
public abstract class AbstractActionElementIOV1  implements NamespaceIO, ActionIOv1 {


    @Override
    public void io(Element e, T a, IOProcessor p) {
        p.attribute(e,"src",a::getSrc, a::setSrc);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy