xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: John Cowan <jcowan AT reutershealth.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Canonicalizer API
- Date: Fri, 11 Feb 2005 05:04:07 -0500
John Cowan wrote:
You're right that the current 1.1 API is a mess. I'd go to a simple
constructor that only specifies the OutputStream, and then have methods
to set various features and properties: setExclusiveMode(boolean b),
getExclusiveMode(), setCommentsMode(boolean b), getCommentsMode(),
setAlgorithm(String algorithm), getAlgorithm().
I like this idea. However, I'm a little restricted by the fact that Canonicalizer(OutputStream out, boolean withComments) is already part of the 1.0 API. In hindsight, I should have had one constructor and used a setter method for withComments as you suggest.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] Canonicalizer API,
Elliotte Harold, 02/06/2005
-
Re: [XOM-interest] Canonicalizer API,
John Cowan, 02/07/2005
-
Re: [XOM-interest] Canonicalizer API,
Elliotte Harold, 02/11/2005
- Re: [XOM-interest] Canonicalizer API, John Cowan, 02/11/2005
-
Re: [XOM-interest] Canonicalizer API,
Elliotte Harold, 02/11/2005
- Re: [XOM-interest] Canonicalizer API, Elliotte Harold, 02/16/2005
-
Re: [XOM-interest] Canonicalizer API,
John Cowan, 02/07/2005
Archive powered by MHonArc 2.6.24.