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

net.n2oapp.framework.api.metadata.persister.AbstractElementPersister Maven / Gradle / Ivy

There is a newer version: 7.28.1
Show newest version
package net.n2oapp.framework.api.metadata.persister;

import org.jdom2.Namespace;
import net.n2oapp.engine.factory.EngineFactory;

/**
 * User: iryabov
 * Date: 03.12.13
 * Time: 13:12
 */
public abstract class AbstractElementPersister implements ElementPersister {
    private ElementPersisterFactory persisterFactory;
    private Namespace namespace;

    protected AbstractElementPersister() {
    }

    protected AbstractElementPersister(
            ElementPersisterFactory persisterFactory, Namespace namespace) {
        this.persisterFactory = persisterFactory;
        this.namespace = namespace;
    }

    public ElementPersisterFactory getPersisterFactory() {
        return persisterFactory;
    }

    public Namespace getNamespace() {
        return namespace;
    }

    public void setPersisterFactory(ElementPersisterFactory persisterFactory) {
        this.persisterFactory = persisterFactory;
    }

    public void setNamespace(Namespace namespace) {
        this.namespace = namespace;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy