You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
445 B
Java
20 lines
445 B
Java
package org.gcube.data.spd.plugin.fwk.readers;
|
|
|
|
import org.gcube.data.spd.model.binding.Bindings;
|
|
import org.gcube.data.spd.model.products.OccurrencePoint;
|
|
|
|
|
|
|
|
public class OccurrencesReader extends RSReader<OccurrencePoint>{
|
|
|
|
public OccurrencesReader(String locator) throws Exception {
|
|
super(locator);
|
|
}
|
|
|
|
@Override
|
|
public OccurrencePoint transform(String serializedItem) throws Exception {
|
|
return Bindings.fromXml(serializedItem);
|
|
}
|
|
|
|
}
|