[jdom-interest] Attribute.getBooleanValue()

Jason Hunter jhunter at collab.net
Thu Apr 26 10:26:10 PDT 2001


"Rosen, Alex" wrote:
> 
> > I suspect Phil just forgot about them in Attribute.  They were removed
> > from Element long ago.
> 
> Was this on purpose? I assumed that they were left in Attribute by mistake.
> What's the reasoning for removing them in Element but leaving them in
> Attribute? (I checked the archives but couldn't find the discussion.)

The logic is that Element is "busy enough" as is.  If you want
conversion you can get the attribute as an Attribute and then have
access to additional methods.  Element retains just one convenience
method.

-jh-



More information about the jdom-interest mailing list