Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4594

Add streaming support Parser api

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.1 RC1
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Basically something like

      public interface StreamParser
      {
          Syntax getSyntax();
      
          /**
           * @param listener receive event for each element
           * @param source the content to parse
           * @throws ParseException if the source cannot be read or an unexpected error happens during the parsing. Parsers
           *             should be written to not generate any error as much as possible.
           */
          void parse(Reader source, Listener listener) throws ParseException;
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: