Hello,
I noticed the javadoc for CharacterFilter is inconsistent: It
says in the class comment:
This class creates a Filter object. The default characters filtered are:
" ' & < >
Then later, the initializer comment is:
Private initializer. " ' are the default filters.
Neither comment appears to be correct (& ' " are all filtered). I
think, however, the former comment *ought* to be correct, so that > <
are filtered as well.
----
I found the interface for ElementContainer confusing and possibly
semantically wrong. It extends ConcreteElement, so one assumes you
can use ConcreteElement's elements() method to get the elements in
the ElementContainer. But this is not the case, as ElementContainer
stores its elements in a private vector. If you call elements()
on a ElementContainer, you get an empty enumeration, as it is returning
the elements in a object ElementContainer does not use (but ConcreteElement
does).
A simple fix would be to add the following method to ElementContainer:
public Enumeration elements() {
return ec.elements();
}
That of course, is assuming there isn't some deep semantic reason why
the 'elements' in an ElementContainer should be distinct from the
'elements' returned by ConcreteElement.elements().
---
Finally, as a relatively new user, let me say ecs a very useful tool.
Greg Barnes
Computing and Communications, University of Washington
[EMAIL PROTECTED]
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]