root / org.gvsig.gpe / library / trunk / org.gvsig.gpe / org.gvsig.gpe.exportto / org.gvsig.gpe.exportto.kml / src / main / java / org / gvsig / gpe / exportto / kml / service / ExportKMLServiceFactory.java @ 950
History | View | Annotate | Download (1.19 KB)
1 | 874 | omartinez | /*
|
---|---|---|---|
2 | * To change this license header, choose License Headers in Project Properties.
|
||
3 | * To change this template file, choose Tools | Templates
|
||
4 | * and open the template in the editor.
|
||
5 | */
|
||
6 | package org.gvsig.gpe.exportto.kml.service; |
||
7 | |||
8 | import org.gvsig.export.ExportParameters; |
||
9 | import org.gvsig.export.spi.AbstractExportServiceFactory; |
||
10 | |||
11 | /**
|
||
12 | *
|
||
13 | * @author osc
|
||
14 | */
|
||
15 | public class ExportKMLServiceFactory extends AbstractExportServiceFactory |
||
16 | { |
||
17 | |||
18 | public static final String SERVICE_NAME = "KML"; |
||
19 | |||
20 | public ExportKMLServiceFactory() {
|
||
21 | super(
|
||
22 | SERVICE_NAME, |
||
23 | "KML file",
|
||
24 | "KML file"
|
||
25 | ); |
||
26 | } |
||
27 | |||
28 | @Override
|
||
29 | public ExportKMLService createService(ExportParameters parameters) {
|
||
30 | ExportKMLService service = new ExportKMLService(this, (ExportKMLParameters) parameters); |
||
31 | return service;
|
||
32 | } |
||
33 | |||
34 | @Override
|
||
35 | public ExportKMLParameters createParameters() {
|
||
36 | 950 | omartinez | ExportKMLParameters parameters = new ExportKMLParametersImpl(this); |
37 | 874 | omartinez | return parameters;
|
38 | } |
||
39 | |||
40 | @Override
|
||
41 | public boolean hasTabularSupport() { |
||
42 | return true; |
||
43 | } |
||
44 | |||
45 | @Override
|
||
46 | public boolean hasVectorialSupport() { |
||
47 | return true; |
||
48 | } |
||
49 | |||
50 | } |