Updated to use ExporterRegistry and added event methods to overlay model.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1192 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
95e2e30c8a
commit
3b043b7970
@ -21,11 +21,11 @@ function init() {
|
|||||||
/*
|
/*
|
||||||
* Exporters
|
* Exporters
|
||||||
*/
|
*/
|
||||||
var ExportRowsCommand = Packages.com.google.gridworks.commands.project.ExportRowsCommand;
|
var ExporterRegistry = Packages.com.google.gridworks.exporters.ExporterRegistry;
|
||||||
var RdfExporter = Packages.com.google.gridworks.rdf.exporters.RdfExporter;
|
var RdfExporter = Packages.com.google.gridworks.rdf.exporters.RdfExporter;
|
||||||
|
|
||||||
ExportRowsCommand.registerExporter("rdf", new RdfExporter("RDF/XML"));
|
ExporterRegistry.registerExporter("rdf", new RdfExporter("RDF/XML"));
|
||||||
ExportRowsCommand.registerExporter("n3", new RdfExporter("N3"));
|
ExporterRegistry.registerExporter("n3", new RdfExporter("N3"));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GEL Functions and Binders
|
* GEL Functions and Binders
|
||||||
|
@ -23,6 +23,19 @@ public class RdfSchema implements OverlayModel {
|
|||||||
public List<ConstantBlankNode> get_blanks() {
|
public List<ConstantBlankNode> get_blanks() {
|
||||||
return _blanks;
|
return _blanks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onBeforeSave() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onAfterSave() {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void dispose() {
|
||||||
|
}
|
||||||
|
|
||||||
protected URI baseUri;
|
protected URI baseUri;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user