/** @param element */ private void init(Element element) { RStack stack = new RStack(element); id_ = URelaxer.getAttributePropertyAsString(element, "id"); xmlLang_ = URelaxer.getAttributePropertyAsString(element, "xml:lang"); setTitle(new FtTitle(stack)); if (FtSubtitle.isMatch(stack)) { setSubtitle(new FtSubtitle(stack)); } if (FtVersion.isMatch(stack)) { setVersion(new FtVersion(stack)); } if (FtType.isMatch(stack)) { setType(new FtType(stack)); } if (FtAuthors.isMatch(stack)) { setAuthors(new FtAuthors(stack)); } notice_.clear(); while (true) { if (FtNotice.isMatch(stack)) { addNotice(new FtNotice(stack)); } else { break; } } if (FtAbstract.isMatch(stack)) { setAbstract(new FtAbstract(stack)); } }
/** @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; } } }