Details
-
Type: Wish
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
JDK version and platform:SUN - 1.4.2_06 for Linux & IBM 1.4.1 for AIX.
Description
Adding the method:
void addElement(Object element);
to the HierarchicalStreamWriter would greatly simply our lives:
Here is my proposed implementation:
public void addElement(Object element) {
if(element instanceof Element)
top().add((Element)element);
}
Is this something you will do?
Thanks,
Randy Secrist
Randy,
Could you give me more details on what you are trying to do, so maybe we could come up with a solution that doesn't add implementation specific details to the interface.
thanks
-Joe