Hi.
> this is the way I create my object structure:
> final ObjectFactory obj = new ObjectFactory();
> final KmlType kml = new KmlType();
> final DocumentType document = new DocumentType();
> kml.setAbstractFeatureGroup(obj.createAbstractFeatureGroup(document));
I think this must be not createAbstractFeatureGroup(...) but something
like createDocument().
> document.setName("testSNPN");
> final PlacemarkType p1 = new PlacemarkType();
> p1.setName("P1");
> final LineStringType ls = new LineStringType();
> ls.setTessellate(true);
> ls.getCoordinates().add("-122.370533,37.823842,0");
> p1.setAbstractGeometryGroup(obj.createAbstractGeometryGroup(ls));
Same here.
> The https://ogc.dev.java.net/- project already generate classed for the kml
> schema,
> the don't mention it on their site, but they have the binding file in their
> svn-trunk repository.
Bye.
/lexi