docs: public void forAllIndices(String template, Properties attributes) throws XDocletException
      {
          boolean processUnique = TypeConversionUtil.stringToBoolean(attributes.getProperty(ATTRIBUTE_UNIQUE), false);
  
          // first the default index
          _curIndexDef = _curTableDef.getIndex(null);
          if ((_curIndexDef != null) && (processUnique == _curIndexDef.isUnique()))
          {
              generate(template);
          }
          for (Iterator it = _curTableDef.getIndices(); it.hasNext(); )
          {
              _curIndexDef = (IndexDef)it.next();
              if (!_curIndexDef.isDefault() && (processUnique == _curIndexDef.isUnique()))
              {    
                  generate(template);
              }
          }
          _curIndexDef = null;
      }