Is com.vividsolutions.jts.geom.Geometry directly transportable using requestfactory?

二次信任 提交于 2019-12-13 04:37:46

问题


Is com.vividsolutions.jts.geom.Geometry directly transportable using requestfactory or do i have to use a value proxy with my entityproxy?


回答1:


Per http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html#transportable, you'd have to use a ValueProxy.

But it doesn't seem possible to roundtrip the geometry as there are less setters than getters (i.e. the geometry cannot be re-constructed from an empty object just by calling setters); so you'd probably have to transport the textual representation of the geometry instead or use wrappers/builders.



来源:https://stackoverflow.com/questions/17403509/is-com-vividsolutions-jts-geom-geometry-directly-transportable-using-requestfact

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!