Re: [Geotools-devel] Parsing delegates troubles

2012-07-13 Thread Justin Deoliveira
I think so :) I actually don't remember. But looking at implements of ParserDelegate2 i do see one for wfs for handling stored query parsing which actually rings a bell now. On Fri, Jul 13, 2012 at 8:07 AM, Andrea Aime wrote: > On Fri, Jul 13, 2012 at 3:54 PM, Justin Deoliveira > wrote: > >> Hey

Re: [Geotools-devel] Parsing delegates troubles

2012-07-13 Thread Andrea Aime
On Fri, Jul 13, 2012 at 3:54 PM, Justin Deoliveira wrote: > Hey Andrea, > > If you look on master and 8.x you will find this method actually already > exists in the ParserDelegate2 class. The canHandle there method looks like: > > boolean canHandle(QName elementName, Attributes attributes, Handl

Re: [Geotools-devel] Parsing delegates troubles

2012-07-13 Thread Justin Deoliveira
Hey Andrea, If you look on master and 8.x you will find this method actually already exists in the ParserDelegate2 class. The canHandle there method looks like: boolean canHandle(QName elementName, Attributes attributes, Handler handler, Handler parent); And gives the full attributes. I think

[Geotools-devel] Parsing delegates troubles

2012-07-13 Thread Andrea Aime
Hi, I'm getting in some trouble with parser delegates, trying to look for a solution. In WPS we have this thing were a WFS requet can be embedded in a WPS request to represent a input of the process. The whole XML is a single block and the parser traverses it directly using a mechanism called pars