Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1259

Utility code for filtering and packaging trees

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • jackrabbit-jcr-commons
    • None

    Description

      The attached zip contains new utility code for filtering and packaging trees in the repository.

      A tree can be traversed by the provided tree walker. During the traversal configurable filters can be applied. The filters have influence on the traversal, like skipping nodes or properties.
      Included filters test the node name, node type etc. Custom filters are possible as well.
      A tree walker notifies a tree walker listener (interface) whenever it traverses an item.

      The second utility code is able to package a whole tree (through a description) and export this in some way - the exporter is an interface and could e.g. be an exporter serializing the tree into a zip archiv etc.

      Attachments

        1. jcr-commons-filtering.zip
          32 kB
          Carsten Ziegeler
        2. jcr-commons-filtering2.zip
          27 kB
          Carsten Ziegeler
        3. patch.txt
          52 kB
          Carsten Ziegeler

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: