String of KML needs to be converted to java objects

Posted by spartikus on Stack Overflow See other posts from Stack Overflow or by spartikus
Published on 2010-04-29T22:05:17Z Indexed on 2010/05/24 4:41 UTC
Read the original article Hit count: 322

Filed under:
|
|
|
|

I have a string of kml coming in on a request object. I have used xjc to create the kml java objects. I am looking for an easy way to create the kml nested java objects from this string. I could parse the string and create each object in the tree by hand but wouldn't it be cool if there was a library or something that would create the java objects for me? Something like KmlType type = parseKML(mykmlStringFromTheRequest); Then type would be a Tree of kml objects. Thanks for the help all.

© Stack Overflow or respective owner

Related posts about java

Related posts about string