XStream
  1. XStream
  2. XSTR-675

Extend StreamReader interface with peekNextChild method

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.2
    • Component/s: Core, IO
    • Labels:
      None

      Description

      It would be great to have methods, that peeks the tag name of the child in situations where StreamReader#hasMoreChildren() returns true. I have attached patch with complete implementation of my proposal.
      May be there is a workaround, which can help to do the same without applying this patch
      Thanks for help.

        Issue Links

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Nikita Levyankov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: