code: @Override
      public void addRuleInstances (Digester digester)
      {
          // this creates the appropriate instance when we encounter a
          // <tileset> tag
          digester.addObjectCreate(_path, getTileSetClass().getName());
  
          // grab the name attribute from the <tileset> tag
          digester.addSetProperties(_path);
  
          // grab the image path from an element
          digester.addCallMethod(_path + "/imagePath", "setImagePath", 0);
      }
docs: Adds the necessary rules to the digester to parse our tilesets.
  Derived classes should override this method, being sure to call the
  superclass method and then adding their own rule instances (which
  should register themselves relative to the <code>_prefix</code>
  member).