public class GenericKmlBikeRentalDataSource extends GenericXmlBikeRentalDataSource
Constructor and Description |
---|
GenericKmlBikeRentalDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Graph graph,
com.fasterxml.jackson.databind.JsonNode config) |
BikeRentalStation |
makeStation(Map<String,String> attributes) |
void |
setAllowDropoff(boolean allowDropoff) |
void |
setNamePrefix(String namePrefix) |
void |
setNetworks(String networks) |
getStations, setReadAttributes, setUrl, toString, update
public void setNamePrefix(String namePrefix)
namePrefix
- A string to prefix all station names coming from this source (for example:
"OV-fietspunt "). Please add a space at the end if needed.public void setNetworks(String networks)
networks
- A network, or a comma-separated list of networks, to set to all stations from
the dataSource. Default to null (compatible with all).public void setAllowDropoff(boolean allowDropoff)
allowDropoff
- True if the bike rental stations coming from this source allows bike
dropoff. True by default.public BikeRentalStation makeStation(Map<String,String> attributes)
makeStation
in class GenericXmlBikeRentalDataSource
public void configure(Graph graph, com.fasterxml.jackson.databind.JsonNode config)
configure
in interface JsonConfigurable
configure
in class GenericXmlBikeRentalDataSource
Copyright © 2019. All rights reserved.