Revision 19686
trunk/libraries/libGPE-KML/src/META-INF/services/org.gvsig.gpe.writer.IGPEWriterHandlerImplementor | ||
---|---|---|
1 |
org.gvsig.gpe.kml.writer.GPEKml21WriterHandlerImplementor |
trunk/libraries/libGPE-KML/src/META-INF/services/org.gvsig.gpe.parser.GPEParser | ||
---|---|---|
1 |
org.gvsig.gpe.kml.parser.GPEKmlv21Parser |
trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/parser/GPEDeafultKmlParser.java | ||
---|---|---|
119 | 119 |
this.profile = profile; |
120 | 120 |
} |
121 | 121 |
|
122 |
public GPEDeafultKmlParser(String name, String description) {
|
|
123 |
super(name, description);
|
|
122 |
public GPEDeafultKmlParser() { |
|
123 |
super(); |
|
124 | 124 |
} |
125 | 125 |
|
126 | 126 |
/* |
trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/parser/GPEKmlv21Parser.java | ||
---|---|---|
53 | 53 |
*/ |
54 | 54 |
public class GPEKmlv21Parser extends GPEDeafultKmlParser{ |
55 | 55 |
|
56 |
public GPEKmlv21Parser(String name, String description) {
|
|
57 |
super(name, description);
|
|
56 |
public GPEKmlv21Parser() { |
|
57 |
super(); |
|
58 | 58 |
setProfile(new Kml21BindingProfile()); |
59 | 59 |
} |
60 | 60 |
|
61 |
/* |
|
62 |
* (non-Javadoc) |
|
63 |
* @see org.gvsig.gpe.parser.GPEParser#getDescription() |
|
64 |
*/ |
|
65 |
public String getDescription() { |
|
66 |
return "This parser parses KML 2.1"; |
|
67 |
} |
|
68 |
|
|
69 |
/* |
|
70 |
* (non-Javadoc) |
|
71 |
* @see org.gvsig.gpe.parser.GPEParser#getName() |
|
72 |
*/ |
|
73 |
public String getName() { |
|
74 |
return "KML v2.1"; |
|
75 |
} |
|
76 |
|
|
61 | 77 |
} |
trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/writer/GPEKmlWriterHandlerImplementor.java | ||
---|---|---|
125 | 125 |
private Stack currentElementName = null; |
126 | 126 |
private IWriterProfile profile = null; |
127 | 127 |
|
128 |
public GPEKmlWriterHandlerImplementor(String name, String description) {
|
|
129 |
super(name, description);
|
|
128 |
public GPEKmlWriterHandlerImplementor() { |
|
129 |
super(); |
|
130 | 130 |
currentElementStream = new Stack(); |
131 | 131 |
currentElementName = new Stack(); |
132 | 132 |
} |
trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/writer/GPEKml21WriterHandlerImplementor.java | ||
---|---|---|
53 | 53 |
*/ |
54 | 54 |
public class GPEKml21WriterHandlerImplementor extends GPEKmlWriterHandlerImplementor { |
55 | 55 |
|
56 |
public GPEKml21WriterHandlerImplementor(String name, String description) {
|
|
57 |
super(name, description);
|
|
56 |
public GPEKml21WriterHandlerImplementor() { |
|
57 |
super(); |
|
58 | 58 |
setProfile(new Kml21WriterProfile()); |
59 | 59 |
} |
60 | 60 |
|
... | ... | |
76 | 76 |
return "2.1"; |
77 | 77 |
} |
78 | 78 |
|
79 |
/* |
|
80 |
* (non-Javadoc) |
|
81 |
* @see org.gvsig.gpe.writer.IGPEWriterHandlerImplementor#getDescription() |
|
82 |
*/ |
|
83 |
public String getDescription() { |
|
84 |
return "This writer writer KML 2.1"; |
|
85 |
} |
|
86 |
|
|
87 |
/* |
|
88 |
* (non-Javadoc) |
|
89 |
* @see org.gvsig.gpe.writer.IGPEWriterHandlerImplementor#getName() |
|
90 |
*/ |
|
91 |
public String getName() { |
|
92 |
return "KML v21 writer"; |
|
93 |
} |
|
94 |
|
|
79 | 95 |
} |
trunk/libraries/libGPE-KML/build.xml | ||
---|---|---|
37 | 37 |
|
38 | 38 |
<target name="create-jar" description="Crea el jar de la aplicacion"> |
39 | 39 |
<mkdir dir="${targetDir}" /> |
40 |
<jar jarfile="${targetDir}/${kmlJarName}.jar" basedir="${build}" includes="org/gvsig/gpe/kml/**"/>
|
|
40 |
<jar jarfile="${targetDir}/${kmlJarName}.jar" basedir="${build}" includes="**/**"/>
|
|
41 | 41 |
<jar jarfile="${targetDir}/${kmlJarName}.jar" basedir="." includes="build.number" update="true"/> |
42 | 42 |
<move todir="${lib}"> |
43 | 43 |
<fileset dir="${targetDir}" includes="*.jar" /> |
Also available in: Unified diff