> Oh c'mon.. *no one* knows the answer to this? eeek! 8-O
Because no one else is using it? :-)
Actually, as the description of this class says, it's not a "parser pool",
where you can get and store parsers. Instead, it *creates* new parsers that
all share the same symbol table and grammar pool. This is useful when your
server runs in multi-threads, and each thread has its own parser to parse
similar documents (those conform to the same grammar, hence share the same
vocabulary).
If you really need a "parser pool", it won't be hard at all to write one in
your application. A java.util.Vector or Stack would do the trick.
Hope this helps,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
"David Orriss Jr"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
> cc:
Subject: Re: Using the
CachingParserPool - returning a parser?
10/29/2002 05:55
PM
Please respond to
xerces-j-user
On Monday, October 28, 2002 3:45 PM,
David Orriss Jr <[EMAIL PROTECTED]> wrote:
> The subject pretty much says it. I know how to *get* a parser from
> the pool (that's the easy part) but how do I return it to the pool?
Oh c'mon.. *no one* knows the answer to this? eeek! 8-O
--
David Orriss Jr.
[EMAIL PROTECTED]
http://www.davenet.net
Want ICQ/AIM/MSN ID's? Just Ask...
Linux - Chicken Soup for the Unix Soul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]