On Wed, Jun 25, 2014 at 1:21 AM, Mauro Bartolomeoli <
mauro.bartolome...@geo-solutions.it> wrote:

> Hi Justin,
>
>
> 2014-06-24 19:28 GMT+02:00 Justin Deoliveira <jdeol...@boundlessgeo.com>:
>
> Hey Mauro,
>>
>> So what about having FormatOptionsKvpParser delegating to the same
>> KvpUtils.parse() method that the main kvp parsing chain does? I haven't
>> looked too deep but it seems like if we just parsed the format options
>> string to a map and threw it into KvpUtils.parse() that would work?
>>
>
> The problem is that KvpUtils.parse expects info on the current service,
> version and so on to filter out unneeded parsers. My idea would be to
> change the KvpParser parse method signature to include an optional parsers
> list that FormatOptionsKvpParser (and possibly other parsers) can use to
> accomplish their job. Obviously KvpUtils.parse would pass down its internal
> parsers list to each called parser.
>
> Right, of course.


> What do you think?
>

Makes sense, so what would this look when calling it from a service
specific parser? Something like:

  KvpUtils.parse(kvpMap, KvpUtils.parsers("wms", ...))

?

>
> Thanks
> Mauro Bartolomeoli
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Dott. Mauro Bartolomeoli
> @mauro_bart
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>



-- 
*Justin Deoliveira*
Vice President, Engineering | Boundless
jdeol...@boundlessgeo.com
@j_deolive <https://twitter.com/j_deolive>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to