Statistics
| Revision:

root / branches / Mobile1.0 / org.gvsig.gpe.gml / src / org / gvsig / gpe / gml / writer / profiles / GmlSFP0WriterProfile.java @ 79

History | View | Annotate | Download (3.33 KB)

1
package org.gvsig.gpe.gml.writer.profiles;
2

    
3
import org.gvsig.gpe.gml.writer.v2.geometries.InnerBoundaryIsWriter;
4
import org.gvsig.gpe.gml.writer.v2.geometries.MultiPolygonWriter;
5
import org.gvsig.gpe.gml.writer.v2.geometries.OuterBoundaryIsWriter;
6
import org.gvsig.gpe.gml.writer.v2.geometries.PolygonMemberWriter;
7
import org.gvsig.gpe.gml.writer.v2.geometries.PolygonWriter;
8

    
9
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
10
 *
11
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
12
 *
13
 * This program is free software; you can redistribute it and/or
14
 * modify it under the terms of the GNU General Public License
15
 * as published by the Free Software Foundation; either version 2
16
 * of the License, or (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
26
 *
27
 * For more information, contact:
28
 *
29
 *  Generalitat Valenciana
30
 *   Conselleria d'Infraestructures i Transport
31
 *   Av. Blasco Ib??ez, 50
32
 *   46010 VALENCIA
33
 *   SPAIN
34
 *
35
 *      +34 963862235
36
 *   gvsig@gva.es
37
 *      www.gvsig.gva.es
38
 *
39
 *    or
40
 *
41
 *   IVER T.I. S.A
42
 *   Salamanca 50
43
 *   46005 Valencia
44
 *   Spain
45
 *
46
 *   +34 963163400
47
 *   dac@iver.es
48
 */
49
/* CVS MESSAGES:
50
 *
51
 * $Id$
52
 * $Log$
53
 *
54
 */
55
/**
56
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
57
 */
58
public class GmlSFP0WriterProfile extends Gml2WriterProfile{
59
        
60

    
61
        /*
62
         * (non-Javadoc)
63
         * @see org.gvsig.gpe.gml.writer.profiles.IWriterProfile#getPolygonMemberWriter()
64
         */
65
        public PolygonMemberWriter getPolygonMemberWriter() {
66
                if (polygonMemberWriter == null){
67
                        polygonMemberWriter = new org.gvsig.gpe.gml.writer.sfp0.geometries.PolygonMemberWriter();
68
                }
69
                return polygonMemberWriter;
70
        }
71
        
72
        /*
73
         * (non-Javadoc)
74
         * @see org.gvsig.gpe.gml.writer.profiles.IWriterProfile#getPolygonWriter()
75
         */
76
        public PolygonWriter getPolygonWriter() {
77
                if (polygonWriter == null){
78
                        polygonWriter = new org.gvsig.gpe.gml.writer.sfp0.geometries.PolygonWriter();
79
                }
80
                return polygonWriter;
81
        }
82

    
83
        /* (non-Javadoc)
84
         * @see org.gvsig.gpe.gml.writer.profiles.Gml2WriterProfile#getInnerBoundaryIsWriter()
85
         */
86
        public InnerBoundaryIsWriter getInnerBoundaryIsWriter() {
87
                if (innerBoundaryIsWriter == null){
88
                        innerBoundaryIsWriter = new org.gvsig.gpe.gml.writer.sfp0.geometries.InnerBoundaryIsWriter();
89
                }
90
                return innerBoundaryIsWriter;
91
        }
92

    
93
        /* (non-Javadoc)
94
         * @see org.gvsig.gpe.gml.writer.profiles.Gml2WriterProfile#getOuterBoundaryIsWriter()
95
         */
96
        public OuterBoundaryIsWriter getOuterBoundaryIsWriter() {
97
                if (outerBoundaryIsWriter == null){
98
                        outerBoundaryIsWriter = new org.gvsig.gpe.gml.writer.sfp0.geometries.OuterBoundaryIsWriter();
99
                }
100
                return outerBoundaryIsWriter;
101
        }
102

    
103
        /* (non-Javadoc)
104
         * @see org.gvsig.gpe.gml.writer.profiles.Gml2WriterProfile#getMultiPolygonWriter()
105
         */
106
        public MultiPolygonWriter getMultiPolygonWriter() {
107
                if (multiPolygonWriter == null){
108
                        multiPolygonWriter = new org.gvsig.gpe.gml.writer.sfp0.geometries.MultiPolygonWriter();
109
                }
110
                return multiPolygonWriter;
111
        }
112
        
113
        
114
        
115
        
116
}