[jdom-interest] jdom-conrib was: Line numbers

Per Norrman pernorrman at telia.com
Wed Aug 27 14:49:54 PDT 2003


Hi,

I hereby contribute the "LineNumberSAXBuilder" example (slightly reworked).
Look upon it as an example of how to subclass the SAXBuilder (I couldn't
find an existing one, at least not after a quick look).

I also supply an Iterator for walking a JDOM tree. I've used 
variations of this *a lot* for the last couple of years. This is my
latest incarnation that uses org.jdom.filter.Filter for selecting
only the interesting stuff.

/pmn


> -----Ursprungligt meddelande-----
> Från: jdom-interest-admin at jdom.org 
> [mailto:jdom-interest-admin at jdom.org] För Phill_Perryman at Mitel.COM
> Skickat: den 27 augusti 2003 23:07
> Till: Jason Hunter
> Kopia: jdom-interest at jdom.org
> Ämne: Re: SV: [jdom-interest] Line numbers
> 
> 
> 
> Last couple of questions
> 
> What is the jdom-contrib style
> 
> I found the readme.txt file in jdom-contrib
> Currently we have org.jdom.contrib.{beans,helpers,ids,input,output}.
> "beans"
> holds JDOMBean and can hold related bean work.  "helpers" 
> holds certain helper functions.  "ids" demonstrates how to 
> use the attribute type support provided by JDOM to create 
> JDOM documents that allow looking up elements using the value 
> of their ID attribute.  "input" and "output" hold builders 
> and outputters.
> 
> I can only find lib, samples and src, am I missing something 
> or looking in the wrong place.
> 
> thanks
> 
> /Phill
> IS Dept, Software Engineer.
> phill_perryman at mitel.com
> http://www.mitel.com
> Tel: +44 1291 436023
> 
> 
>                                                               
>                                                               
>            
>                       Jason Hunter                            
>                                                               
>            
>                       <jhunter at servlets.       To:       
> Phill_Perryman at Mitel.COM                                      
>                 
>                       com>                     cc:       
> jdom-interest at jdom.org                                        
>                 
>                                                Subject:  Re: 
> SV: [jdom-interest] Line numbers                              
>             
>                       27/08/2003 21:41                        
>                                                               
>            
>                                                               
>                                                               
>            
>                                                               
>                                                               
>            
> 
> 
> 
> 
> It's noted on http://www.jdom.org/downloads/source.html and 
> it's available on the distribution page.  I agree we haven't 
> made a big fuss about it.  Perhaps we should.
> 
> It's real easy to get something added there.  Write something 
> at least semi-interesting that conforms to the jdom-contrib 
> style and we'll check it in or, if it's ongoing, we'll give 
> you checkin access.
> 
> -jh-
> 
> Phill_Perryman at Mitel.COM wrote:
> 
> > Thanks, it seems a fairly well hidden feature.
> >
> > Where do I find the javadocs for contrib so I can see what is in 
> > there. Other than connecting to the cvs (which I have done) there 
> > seems to be no mention of contrib anywhere else. Coming from the 
> > commercial world I (like many
> > others?)
> > tend to "load the jar's and read the docs".
> >
> > If I have something for contrib what is the process for getting it 
> > "approved" and put into the contrib module.
> >
> > regards,
> >
> > Jason Wrote >>
> >
> >>Hi Phill,
> >
> >
> >>We have a jdom-contrib module explicitly designed for things that 
> >>aren't really proper in the core but are cool in support of 
> JDOM.  You 
> >>can check it out via CVS and it's available as 
> jdom-contrib-b9 in the 
> >>distribution directories.  I added that early on because I 
> agree with 
> >>you there's lots of good extensions to every product that 
> don't always 
> >>belong in the product itself.
> >
> >
> > -jh-
> >
> > /Phill
> > IS Dept, Software Engineer.
> > phill_perryman at mitel.com
> > http://www.mitel.com
> > Tel: +44 1291 436023
> >
> >
> > _______________________________________________
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LineNumberSAXBuilder.zip
Type: application/x-zip-compressed
Size: 5460 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20030827/d48b2b1a/LineNumberSAXBuilder.bin


More information about the jdom-interest mailing list