net.n2oapp.framework.access.metadata.schema.AccessSchemaReader Maven / Gradle / Ivy
package net.n2oapp.framework.access.metadata.schema;
import net.n2oapp.framework.api.metadata.reader.AbstractFactoredReader;
import net.n2oapp.framework.config.reader.util.ReaderJdomUtil;
import org.jdom2.Element;
import org.jdom2.Namespace;
/**
* @author V. Alexeev.
*/
@SuppressWarnings("unchecked")
public abstract class AccessSchemaReader extends AbstractFactoredReader {
protected void getAbstractAccessSchemaDefinition(Element element, Namespace namespace, N2oAccessSchema access) {
access.setId(ReaderJdomUtil.getAttributeString(element, "id"));
}
}