/** * Initializes the <code>FtAuthors</code> by the FtAuthors <code>source</code>. * * @param source */ public void setup(FtAuthors source) { int size; setId(source.getId()); setXmlLang(source.getXmlLang()); this.person_.clear(); size = source.person_.size(); for (int i = 0; i < size; i++) { addPerson((FtPerson) source.getPerson(i).clone()); } }
/** @param element */ private void init(Element element) { RStack stack = new RStack(element); id_ = URelaxer.getAttributePropertyAsString(element, "id"); xmlLang_ = URelaxer.getAttributePropertyAsString(element, "xml:lang"); person_.clear(); while (true) { if (FtPerson.isMatch(stack)) { addPerson(new FtPerson(stack)); } else { break; } } }
/** * Adds the FtPerson property <b>person</b>. * * @param person */ public void addPerson(FtPerson[] person) { for (int i = 0; i < person.length; i++) { addPerson(person[i]); } }
/** * Sets the FtPerson property <b>person</b>. * * @param person */ public void setPerson(FtPerson person) { this.person_.clear(); addPerson(person); }
/** * Sets the FtPerson property <b>person</b>. * * @param person */ public void setPerson(FtPerson[] person) { this.person_.clear(); for (int i = 0; i < person.length; i++) { addPerson(person[i]); } }