Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-46

Minor error in digester java-doc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: All
      Platform: Other

    • 6524

    Description

      Under commons-digester-1.1.1/docs/api/index.html you can read:

      SetNextRule - When the begin() method is called, the digester analyzes the next-
      to-top element on the stack, looking for a property setter method for a
      specified property. It then calls this method, passing the object at the top of
      the stack as an argument. This rule is commonly used to establish one-to-many
      relationships between the two objects, with the method name commonly being
      something like "addChild".

      It seams, that it must read like:

      SetNextRule - When the end() method is called,...

      which by the way (it works) and is the better behaviour, because the child
      should be initalized (== properties set) before it is hooked into the parent.
      (The SetNextRule-class overrides the end() methode.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jan.schute@ewetel.de Jan Schute
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: