org.linkeddatafragments.views.LinkedDataFragmentWriterBase Maven / Gradle / Ivy
The newest version!
package org.linkeddatafragments.views;
import org.linkeddatafragments.datasource.IDataSource;
import java.util.HashMap;
import java.util.Map;
/**
* Base class of any implementation of {@link ILinkedDataFragmentWriter}.
*
* @author Miel Vander Sande
*/
public abstract class LinkedDataFragmentWriterBase implements ILinkedDataFragmentWriter {
private final Map prefixes;
private final HashMap datasources;
/**
*
* @param prefixes
* @param datasources
*/
public LinkedDataFragmentWriterBase(Map prefixes, HashMap datasources) {
this.prefixes = prefixes;
this.datasources = datasources;
}
/**
*
* @return
*/
public Map getPrefixes() {
return prefixes;
}
/**
*
* @return
*/
public HashMap getDatasources() {
return datasources;
}
}