void completeTemplateInitialization(final Map<String,Template> templates) throws DecodeException {
  subTemplates=new ArrayList<>();
  for (  final String subordinateName : subTemplateNames) {
    final Template template=templates.get(subordinateName.toLowerCase());
    if (template == null) {
      throw DecodeException.fatalError(ERR_ENTRY_GENERATOR_UNDEFINED_TEMPLATE_SUBORDINATE.get(this.name,subordinateName));
    }
    subTemplates.add(template);
  }
  ensureAllRDNAttributesAreDefined();
}

void completeTemplateInitialization ( final Map < String , Template > templates ) throws DecodeException { subTemplates = new ArrayList < > ( ) ; for ( final String subordinateName : subTemplateNames ) { final Template template = templates . get ( subordinateName . toLowerCase ( ) ) ; if ( template == null ) { throw DecodeException . fatalError ( ERR_ENTRY_GENERATOR_UNDEFINED_TEMPLATE_SUBORDINATE . get ( this . name , subordinateName ) ) ; } subTemplates . add ( template ) ; } ensureAllRDNAttributesAreDefined ( ) ; }
performs any necessary processing to ensure that the template initialization is completed . in particular , it should make sure that all referenced subordinate templates actually exist in the template file , and that all of the rdn attributes are contained in the template lines .
