[jdom-interest] (no subject)
Jason Hunter
jhunter at acm.org
Tue May 27 12:53:21 PDT 2003
One possibility is to have a method that returns the element parent like
getParent() used to. It does seem like getParent() should return a
Parent though, of type either Document or Element.
-jh-
bob mcwhirter wrote:
> Yah, fwiw, this broke jaxen and jxpath and their support of JDOM,
> according to gump. I haven't gotten jaxen fixed yet.
>
> -bob
>
>
> On Tue, 27 May 2003, Jason Hunter wrote:
>
>
>>>elementMatched(String path, Element e) {
>>> String parentName = e.getParent().getParent().getAttributeValue("name");
>>>}
>>>
>>>This no longer works because getParent() returns a Parent instead of an
>>>Element. Is there a way around this?
>>
>>Cast it?
>>
>>-jh-
>>
>>
>>_______________________________________________
>>To control your jdom-interest membership:
>>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>>
>
>
> --
> Bob McWhirter bob at werken.com
> The Werken Company http://werken.com/
>
>
More information about the jdom-interest
mailing list