code: public void addTemplateRefGroup( String refGroupName, Map/*< String, String >*/ templateRefGroup )
      {
          if ( refGroupName == null || refGroupName.length() == 0 )
          {
              throw new IllegalArgumentException( "Template Reference Group name cannot be null or empty." );
          }
  
          if ( templateRefGroup == null || templateRefGroup.size() == 0 )
          {
              throw new IllegalArgumentException( "Template Reference Group cannot be null or empty." );
          }
  
          _templateRefGroups.put( refGroupName, templateRefGroup );
      }
docs: Add a template reference group from url-template-config by name.
  
  @param refGroupName the name of the template reference group.
  @param templateRefGroup the template reference group.