My idea was to just use the same argument and consider it to be
a class name in the case the lookup in the map fails.

Jörn

On Wed, Feb 15, 2012 at 1:30 PM, [email protected] <
[email protected]> wrote:

> +1
>
> I think it would be possible to somehow pass in arguments to the parser
> factory.
>
> On Wed, Feb 15, 2012 at 7:44 AM, Joern Kottmann <[email protected]>
> wrote:
>
> > Hi all,
> >
> > it would be nice to have a plugin mechanism to load a custom
> > format parser which is implemented in user code.
> >
> > To add support for such a parser right now the parser must be registered
> > in the StreamFactoryRegistery class.
> >
> > We could allow to pass in a class name in places where a format parser
> > could
> > be passed in.
> >
> > What do you think?
> >
> > Jörn
> >
>

Reply via email to