Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Subclassing and check methods

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Subclassing and check methods
  • Date: Fri, 12 Mar 2004 21:04:18 -0600

Elliotte Rusty Harold writes:

> I've started implementing this and I did find one hitch. The
> replaceChild and removeChildren methods are no longer guaranteedly
> atomic because I can't check whether one will succeed without
> actually calling it as I could with checkRemoveChild and
> checkInsertChild. So far I don't see an easy way around this.

I'd say leave checkInsertChild, checkRemoveChild, remove the other
check* methods, and leave appenChild, insertChild, replaceChild, and
removeChild final.

Brad




Archive powered by MHonArc 2.6.24.

Top of Page