Hi again,
Right you are Sandeep ... at the risk of overtaxing committer
patience, here's another (current) patch that clips off a few
more finals and package visibilities. I'm leaving two printText
methods in BaseMarkupSerializer final though -- can't see that
they hurt much, and they may help performance a tiny bit.
I also included a little tweak in XMLSerializer -- it's a waste to
construct a new AttributesImpl on each startElement, since most of
the time no change is made. So I changed extractNamespaces to copy
the Attributes lazily, once we know that we need to remove an
attribute.
Agreed?
Cheers,
- Gulli
-----Original Message-----
From: Sandeep Randhawa [mailto:[EMAIL PROTECTED]]
Sent: 23. j�l� 2001 17:20
To: [EMAIL PROTECTED]
Subject: Fw: [PATCH] org.apache.xml.serialize extensibility changes
------------------------------
I Second the request.
------------------------------
Also, for Encodings to be of any use publically, static EncodingInfo
getEncodingInfo(String encoding) should also be public.
For ElementState similarly, to be of any use the fields should be
accessible.
For Neil Graham,
Shoudn't xxxSerializer in general be non final?
Sandeep Randhawa
serialize.patch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]