[jdom-interest] Custom adapter?

Alex Rosen arosen at silverstream.com
Wed Mar 6 14:48:18 PST 2002


Of course, you can always subclass SAXBuilder and override a method like
configureParser, and have your way with the parser.

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Wednesday, March 06, 2002 5:14 PM
> To: Kenneth Lee
> Cc: jdom-interest at jdom.org
> Subject: Re: [jdom-interest] Custom adapter?
>
>
> If you're doing SAX builds, you can call setFeature and setProperty on
> the builder.  If you need more control, it's not available.  Adapters
> are used for DOM builds only to get around the DOM problem of no
> standard starter interface, and probably not what you need to be
> worrying about.
>
> -jh-
>
> Kenneth Lee wrote:
> >
> > Hi all,
> >
> > What should I do if I want to have access to the underlying
> parser object?
> > Will a custom adapter fit for this purpose, and if so,
> what's the correct
> > way to implement it?
> >
> > Thanks,
> > Kenneth Lee
> >
> > PS. Pls CC a copy as I'm on the digest. Thx.
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list