jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Help with SearchIndex parameters
Date Fri, 08 Feb 2008 13:19:21 GMT
Hi Sridhar,

Sridhar Raman wrote:
> In the class AbstractSession, the method importXML has this line:
> ContentHandler handler =
>             getImportContentHandler(parentAbsPath, uuidBehavior);
> I am supposed to wrap this ContentHandler object right?

correct. but you don't have to change any of the jackrabbit code. simply wrap 
the content handler that is returned.

> Currently it's returning ImportHandler object.  I need to write a similar
> handler, where I take care of the 1000 node count in the endElement method.
> Am I on the right track?

yes, something similar to: 

then keep track on nodes that are added through start/endElement().


View raw message