示例#1
0
 /**
  * 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));
 }
示例#3
0
 /**
  * Gets number of the IFtContentMixMixed property <b>content</b>.
  *
  * @return int
  */
 public int sizeContent() {
   return (content_.size());
 }
示例#4
0
 /**
  * Gets the IFtContentMixMixed property <b>content</b>.
  *
  * @return IFtContentMixMixed[]
  */
 public IFtContentMixMixed[] getContent() {
   IFtContentMixMixed[] array = new IFtContentMixMixed[content_.size()];
   return ((IFtContentMixMixed[]) content_.toArray(array));
 }
示例#5
0
 /**
  * Gets number of the FtNotice property <b>notice</b>.
  *
  * @return int
  */
 public int sizeNotice() {
   return (notice_.size());
 }
示例#6
0
 /**
  * Gets the FtNotice property <b>notice</b>.
  *
  * @return FtNotice[]
  */
 public FtNotice[] getNotice() {
   FtNotice[] array = new FtNotice[notice_.size()];
   return ((FtNotice[]) notice_.toArray(array));
 }
示例#7
0
 /**
  * Gets number of the FtPerson property <b>person</b>.
  *
  * @return int
  */
 public int sizePerson() {
   return (person_.size());
 }
示例#8
0
 /**
  * Gets the FtPerson property <b>person</b>.
  *
  * @return FtPerson[]
  */
 public FtPerson[] getPerson() {
   FtPerson[] array = new FtPerson[person_.size()];
   return ((FtPerson[]) person_.toArray(array));
 }
示例#9
0
 /**
  * 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));
 }
示例#10
0
 /**
  * Gets number of the XParamListParam property <b>paramListParam</b>.
  *
  * @return int
  */
 public int sizeParamListParam() {
   return (paramListParam_.size());
 }
示例#11
0
 /**
  * Gets the XParamListParam property <b>paramListParam</b>.
  *
  * @return XParamListParam[]
  */
 public XParamListParam[] getParamListParam() {
   XParamListParam[] array = new XParamListParam[paramListParam_.size()];
   return ((XParamListParam[]) paramListParam_.toArray(array));
 }
示例#12
0
 /**
  * Gets the IMSetContent property <b>content</b>.
  *
  * @return IMSetContent[]
  */
 public final IMSetContent[] getContent() {
   IMSetContent[] array = new IMSetContent[content.size()];
   return ((IMSetContent[]) content.toArray(array));
 }
示例#13
0
 /**
  * Gets number of the FcTr property <b>tr</b>.
  *
  * @return int
  */
 public int sizeTr() {
   return (tr_.size());
 }
示例#14
0
 /**
  * Gets the FcTr property <b>tr</b>.
  *
  * @return FcTr[]
  */
 public FcTr[] getTr() {
   FcTr[] array = new FcTr[tr_.size()];
   return ((FcTr[]) tr_.toArray(array));
 }