/** * Creates a DOM representation of the object. Result is appended to the Node <code>parent</code>. * * @param parent */ public void makeElement(Node parent) { Document doc; if (parent instanceof Document) { doc = (Document) parent; } else { doc = parent.getOwnerDocument(); } Element element = doc.createElement("set"); int size; if (classValue != null) { URelaxer2.setAttributePropertyByString( element, "http://www.w3.org/1998/Math/MathML", "class", classValue); } if (style != null) { URelaxer2.setAttributePropertyByString( element, "http://www.w3.org/1998/Math/MathML", "style", style); } if (id != null) { URelaxer2.setAttributePropertyByString( element, "http://www.w3.org/1998/Math/MathML", "id", id); } if (other != null) { URelaxer2.setAttributePropertyByString( element, "http://www.w3.org/1998/Math/MathML", "other", other); } size = content.size(); for (int i = 0; i < size; i++) { IMSetContent value = (IMSetContent) this.content.get(i); value.makeElement(element); } parent.appendChild(element); }
/** * 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 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 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 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 child RNodes. * * @return IRNode[] */ public IRNode[] rGetRNodes() { java.util.List<IRNode> classNodes = new java.util.ArrayList<>(); classNodes.addAll(paramListParam_); IRNode[] nodes = new IRNode[classNodes.size()]; return ((IRNode[]) classNodes.toArray(nodes)); }
/** * Gets number of the XParamListParam property <b>paramListParam</b>. * * @return int */ public int sizeParamListParam() { return (paramListParam_.size()); }
/** * Gets the XParamListParam property <b>paramListParam</b>. * * @return XParamListParam[] */ public XParamListParam[] getParamListParam() { XParamListParam[] array = new XParamListParam[paramListParam_.size()]; return ((XParamListParam[]) paramListParam_.toArray(array)); }
/** * Gets the IMSetContent property <b>content</b>. * * @return IMSetContent[] */ public final IMSetContent[] getContent() { IMSetContent[] array = new IMSetContent[content.size()]; return ((IMSetContent[]) content.toArray(array)); }
/** * 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)); }