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

Add streaming support Parser api

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 2.1 RC1
    • 2.0.3
    • {Unused} Rendering 2.0
    • None
    • Unit
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: