jsoliveira / javaapiforkml

Automatically exported from code.google.com/p/javaapiforkml
0 stars 0 forks source link

publish Javadoc #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
publish Javadoc

Original issue reported on code.google.com by bachmann...@gmail.com on 21 Aug 2009 at 7:43

GoogleCodeExporter commented 8 years ago
sorry , where is the javadoc??

Original comment by edri...@gmail.com on 23 Dec 2009 at 12:58

GoogleCodeExporter commented 8 years ago
currently there is no javadoc,
an alternative and temporary solution is to download jak's source and integrate 
it
into the ide of your choice

Original comment by bachmann...@gmail.com on 24 Dec 2009 at 2:01

GoogleCodeExporter commented 8 years ago
Im trying to marshal a simple kml file and i get the following error:
javax.xml.bind.PropertyException: name: com.sun.xml.bind.namespacePrefixMapper 
value:
de.micromata.opengis.kml.v_2_2_0.Kml$NameSpaceBeautyfier@14f6b14

Nice effort but without javadoc the whole project seems poor..

Original comment by edri...@gmail.com on 25 Dec 2009 at 2:53

GoogleCodeExporter commented 8 years ago
I made API Reference with javadoc.
http://www.nilab.info/cheapjap2/20100107.html#p01

Original comment by nilabi...@gmail.com on 6 Jan 2010 at 3:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This is not related to this issue directly, but as a response to Comment 3:

I was running into the same issue... basically I was getting that exception in 
a project that was creating it's own class loaders which turns out were not 
being used by the JAXBContext.newInstance(...) on line 634 of Kml.java

The way to fix this to allow the classloader that was used to create the Kml 
instance to resolve the ContextFactory is to:

1. add a new file: jaxb.index to the de.micromata.opengis.kml.v_2_2_0 package 
(see attached)
2. change line 634 of Kml.java from: jc = JAXBContext.newInstance((Kml.class)); 
 to  jc = JAXBContext.newInstance("de.micromata.opengis.kml.v_2_2_0", 
getClass().getClassLoader());

This will allow the proper jaxb implementation to be found correctly.

-Boris  

Original comment by bor...@gmail.com on 22 Dec 2011 at 4:15

Attachments:

GoogleCodeExporter commented 8 years ago
Im new to kml and got the same issue as comment 3. So following comment 6: 
Where can we get the kml.java class?

Original comment by zuzu.s...@gmail.com on 4 Oct 2012 at 7:06