(Meant to send this to the mailing list.) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org
mrgla...@ca.ibm.com wrote on 02/21/2009 11:00:51 AM: > gea...@ieee.org wrote on 02/20/2009 01:59:05 AM: > > > On Thu, Feb 19, 2009 at 6:34 PM, Michael Glavassevich > > <mrgla...@ca.ibm.com> wrote: > > > Hi Paul, > > > > > > setPattern() is an undocumented method of an implementation class. >From a > > > user perspective I wouldn't "expect" it to do anything. It's not > part of the > > > API and no guarantee that it will even be there from release to release > > > (though probably unlikely that we'd remove it). The only place Xerces ever > > > calls setPattern() is within the constructor of RegularExpression. That's > > > probably the only place where it was intended that it would be called. > > > > Ah, I see. Thank you. > > > > I didn't know where to look for documentation on this package, except > > in the Javadoc. I thought it was part of the API for this class, as > > it's a public method. > RegularExpression isn't part of the public API. It's an internal > class. See more discussion on this here [1]. > > > I'll use the constructor and let the JIT take care of allocating the > > new instances efficiently for me. Thanks. > > > > Regards, > > Paul > > [1] http://markmail.org/message/kbjnorykcn2kwcby > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org