GMLWriter is a
JUMPWriter specialized to output GML.
DataProperties for the JCSWriter write(featureSchema,DataProperties) interface:
Parameter | Meaning |
OutputFile or DefaultValue |
File name for output .xml file |
OutputTemplateFile |
File name for GMLOutputTemplate file |
NOTE: If OutputTemplateFile is unspecified, one will be auto-created (the JCS format).
Programmer details:
This is usually called as follows:
gmlWriter= new GMLWriter();
gmlWriter.write( DriverProperites);
or:
gmlWriter.setOutputTemplate( GMLOutputTemplate);
gmlWriter.write( , );
Also, the function "makeOutputTemplate()" is useful for
autogenerating the JCS outputtemplate.
Output will be formed from the OutputTeplate like:
headerText
==== This section repeated for each feature
featureText[0] <evaluate codeText[0]>
featureText[1] <evaluate codeText[1]>
...
featureTextFooter
====
footerText
|