[From nobody Fri Aug 6 17:04:55 2004 Return-Path: jdom-interest-admin@jdom.org Received: from proxy5.ba.best.com (root@proxy5.ba.best.com [206.184.139.16]) by shell6.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id LAA12024 for <kwre-jasonh@pplus.shell6.ba.best.com>; Wed, 21 Jun 2000 11:32:02 -0700 (PDT) Received: from mail.acm.org (mail.acm.org [199.222.69.4]) by proxy5.ba.best.com (8.9.3/8.9.2/best.in) with ESMTP id LAA08097 for <jasonh@kasoftware.com>; Wed, 21 Jun 2000 11:30:10 -0700 (PDT) Received: from dorothy.denveronline.net (dorothy.denveronline.net [206.168.141.2]) by mail.acm.org (8.9.3/8.9.3) with ESMTP id OAA100254; Wed, 21 Jun 2000 14:29:43 -0400 Received: from dorothy (localhost [127.0.0.1]) by dorothy.denveronline.net (8.9.3/8.9.3) with ESMTP id MAA21705; Wed, 21 Jun 2000 12:16:09 -0600 (MDT) Received: from netmagik.lutris.com (mail.lutris.com [207.111.214.67]) by dorothy.denveronline.net (8.9.3/8.9.3) with ESMTP id MAA21695 for <jdom-interest@jdom.org>; Wed, 21 Jun 2000 12:16:05 -0600 (MDT) Received: from lutris.com ([207.111.214.51]) by netmagik.lutris.com (Netscape Messaging Server 3.6) with ESMTP id 410; Wed, 21 Jun 2000 11:39:52 -0700 Message-ID: <3951085F.36695160@lutris.com> Date: Wed, 21 Jun 2000 13:24:31 -0500 From: Brett McLaughlin <brett.mclaughlin@lutris.com> Organization: Lutris Technologies X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Elliotte Rusty Harold <elharo@metalab.unc.edu> CC: "jdom-interest@jdom.org" <jdom-interest@jdom.org> Subject: Re: [jdom-interest] Entity IDs References: <3951281E.6EFD076D@metalab.unc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: jdom-interest-admin@jdom.org Errors-To: jdom-interest-admin@jdom.org X-BeenThere: jdom-interest@jdom.org X-Mailman-Version: 2.0beta2 Precedence: bulk List-Id: JDOM Mailing List for General Issues and Updates <jdom-interest.jdom.org> X-Mozilla-Status2: 00000000 Elliotte Rusty Harold wrote: > > I'm looking at the Entity class and it occurs to me that it shoudl have > methods to get the public and system IDs, much as the DocType class > does. I'm also thinking that these should possibly be set in the > constructor rather than in setter methods, but I'm not sure. I tend to think you're right, at least on having the IDs. I am unsure about the constructor thing... anyone else have an opinion? I can see creating an entity, maybe with one or the other - makes having it overloaded in the constructor sort of tricky... > > I'm also wondering if it makes sense to provide SAXEntityBuilder and > DOMEntityBuilder classes that build Entity objects instead of Document > objects, though this may be across the 20% divide of the 80/20 split. > Thoughts? Feels like a good idea and abstraction, but I'm not sure if its worth it - if you have the bandwidth, I'd say go for it - it allows an easy extension for people wanting to provide non-standard behavior in those areas. -Brett > > -- > +-----------------------+------------------------+-------------------+ > | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | > +-----------------------+------------------------+-------------------+ > | Java I/O (O'Reilly & Associates, 1999) | > | http://metalab.unc.edu/javafaq/books/javaio/ | > | http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ | > +----------------------------------+---------------------------------+ > | Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ | > | Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ | > +----------------------------------+---------------------------------+ > _______________________________________________ > To control your jdom-interest membership: > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com -- Brett McLaughlin, Enhydra Strategist Lutris Technologies, Inc. 1200 Pacific Avenue, Suite 300 Santa Cruz, CA 95060 USA http://www.lutris.com http://www.enhydra.org _______________________________________________ To control your jdom-interest membership: http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com ]