XStream
  1. XStream
  2. XSTR-163

HierarchicalStreamWriter - addElement

    Details

    • Type: Wish Wish
    • Status: Closed 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

        People

        • Assignee:
          Unassigned
          Reporter:
          Randy Secrist
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: