Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-526

Support loading from and saving to DOM nodes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0, 1.10
    • None

    Description

      I'm loading a complex XML document, where properties are are nested using the Java 1.5 properties XML format. This is in contrast of the issue CONFIGURATION-209, where an XML-based format has been introduced. I require following signatures:

      void load(Element element) throws ConfigurationException
      void save(Document document, Node parent)

      Please find attached a patch implementing this requirement.

      Attachments

        1. add-DOM-load-and-save-to-XMLPropertiesConfiguration.txt
          9 kB
          Oliver Kopp
        2. pom.xml.patch
          0.5 kB
          Oliver Kopp

        Activity

          People

            Unassigned Unassigned
            koppor Oliver Kopp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: