/** @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; } } }
/** * Gets child RNodes. * * @return IRNode[] */ public IRNode[] getRNodes() { java.util.List classNodes = new java.util.ArrayList(); IRNode[] nodes = new IRNode[classNodes.size()]; return ((IRNode[]) classNodes.toArray(nodes)); }
/** * Gets the IFtContentMixMixed property <b>content</b> by index. * * @param index * @return IFtContentMixMixed */ public IFtContentMixMixed getContent(int index) { return ((IFtContentMixMixed) content_.get(index)); }
/** * Gets number of the IFtContentMixMixed property <b>content</b>. * * @return int */ public int sizeContent() { return (content_.size()); }
/** * Gets the IFtContentMixMixed property <b>content</b>. * * @return IFtContentMixMixed[] */ public IFtContentMixMixed[] getContent() { IFtContentMixMixed[] array = new IFtContentMixMixed[content_.size()]; return ((IFtContentMixMixed[]) content_.toArray(array)); }
/** * Gets the FtNotice property <b>notice</b> by index. * * @param index * @return FtNotice */ public FtNotice getNotice(int index) { return ((FtNotice) notice_.get(index)); }
/** * Gets number of the FtNotice property <b>notice</b>. * * @return int */ public int sizeNotice() { return (notice_.size()); }
/** * Gets the FtNotice property <b>notice</b>. * * @return FtNotice[] */ public FtNotice[] getNotice() { FtNotice[] array = new FtNotice[notice_.size()]; return ((FtNotice[]) notice_.toArray(array)); }
/** * Gets the FtPerson property <b>person</b> by index. * * @param index * @return FtPerson */ public FtPerson getPerson(int index) { return ((FtPerson) person_.get(index)); }
/** * Gets number of the FtPerson property <b>person</b>. * * @return int */ public int sizePerson() { return (person_.size()); }
/** * Gets the FtPerson property <b>person</b>. * * @return FtPerson[] */ public FtPerson[] getPerson() { FtPerson[] array = new FtPerson[person_.size()]; return ((FtPerson[]) person_.toArray(array)); }
/** * Gets the FcTr property <b>tr</b> by index. * * @param index * @return FcTr */ public FcTr getTr(int index) { return ((FcTr) tr_.get(index)); }
/** * Gets number of the FcTr property <b>tr</b>. * * @return int */ public int sizeTr() { return (tr_.size()); }
/** * Gets the FcTr property <b>tr</b>. * * @return FcTr[] */ public FcTr[] getTr() { FcTr[] array = new FcTr[tr_.size()]; return ((FcTr[]) tr_.toArray(array)); }