@Override public void visitName(Name name) { this.contextStack.push(name); visitConclusion(name); List<NameForm> forms = name.getNameForms(); if (forms != null) { for (NameForm form : forms) { if (form != null) { form.accept(this); } } } this.contextStack.pop(); }
String name = null; if (person.getNames() != null && person.getNames().size() > 0 && person.getNames().get(0).getNameForms() != null && person.getNames().get(0).getNameForms().size() > 0) { name = person.getNames().get(0).getNameForms().get(0).getFullText();
if (name.getNameForms() != null) { for (NameForm nameForm : name.getNameForms()) { addFields(nameForm.getFields(), person, personFieldsMap); if (nameForm.getParts() != null) {