]> git.argeo.org Git - gpl/argeo-suite.git/blob - app/ol/VectorSource.java
Prepare next development cycle
[gpl/argeo-suite.git] / app / ol / VectorSource.java
1 package org.argeo.app.ol;
2
3 public class VectorSource extends Source {
4
5 public VectorSource(Object... args) {
6 super(args);
7 }
8
9 public VectorSource(String url, FeatureFormat format) {
10 setUrl(url);
11 setFormat(format);
12 }
13
14 public void setUrl(String url) {
15 doSetValue(getMethodName(), "url", url);
16 }
17
18 public void setFormat(FeatureFormat format) {
19 doSetValue(null, "format", format);
20 }
21 }