|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.io.FMEGMLWriter
public class FMEGMLWriter
This class is a JUMPWriter specialized to write FMEGML.
DataProperties for the JCSWriter write(featureSchema,DataProperties) interface:
| Parameter | Meaning |
|---|---|
| OutputFile or DefaultValue | File name for output .xml file |
| FMEFormatVersion | '2000' or '2001' |
The format version specifies which version of FME GML this should produce.
| 2000 |
<dataset
xmlns="http://www.safe.com/xml/namespaces/fmegml2"
xmlns:fme="http://www.safe.com/xml/namespaces/fmegml2"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xsi:schemaLocation="http://www.safe.com/xml/schemas/fmegml2.xsd" >
|
| 2001 |
<dataset
xmlns="http://www.safe.com/xml/schemas/FMEFeatures"
xmlns:fme="http://www.safe.com/xml/schemas/FMEFeatures"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.safe.com/xml/schemas/FMEFeatures.xsd" >
|
| Constructor Summary | |
|---|---|
FMEGMLWriter()
Creates new FMEGMLWriter |
|
| Method Summary | |
|---|---|
GMLOutputTemplate |
createOutputTemplate(FeatureSchema fs)
Makes a GMLOutputTemplate from a featureSchema. |
void |
write(FeatureCollection featureCollection,
DriverProperties dp)
Cause a featureCollection to be written using the outputfile (and format) specified in the dp parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FMEGMLWriter()
| Method Detail |
|---|
public void write(FeatureCollection featureCollection,
DriverProperties dp)
throws IllegalParametersException,
java.lang.Exception
GMLWriter.
write in interface JUMPWriterfeatureCollection - set of features to be writtendp - where to write and format
IllegalParametersException
java.lang.Exception
public GMLOutputTemplate createOutputTemplate(FeatureSchema fs)
throws ParseException,
java.lang.Exception
GMLOutputTemplate from a featureSchema. Has two different version ('2000' and '2001').
fs - description of the column in the dataset.
ParseException
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||