XStream
  1. XStream
  2. XSTR-164

HierarchicalStreamReader - getElement()

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In conjuction with addElement on the HierarchicalStreamWriter - we would like to add a getElement method on the Reader interface:

      Object getElement();

      Proposed (dom4j) implementation would be:

      public Object getElement() {
      return currentElement.selectObject("*");
      }

      Again, this is more dom specifxic code, and the implementation would fall under the com.thoughtworks.xstream.io.xml packages...

      Randy Secrist

        People

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

          Dates

          • Created:
            Updated:
            Resolved: