Пример #1
0
        ///
        ///	 <summary> * append a <code>Value</code> element and set Value/@Value to value
        ///	 *  </summary>
        ///	 * <param name="value">
        ///	 *            the value string to set
        ///	 *  </param>
        ///	 * <returns> JDFValue - the newly created element </returns>
        ///
        public virtual JDFValue appendValueValue(string @value)
        {
            JDFValue v = (JDFValue)appendElement(ElementName.VALUE, null);

            v.setValue(@value);
            return(v);
        }
Пример #2
0
        //
        //	 * // Subelement attribute and element Getter / Setter
        //

        ///
        ///	 <summary> * Sets the <code>Value</code> attribute of the iSkip'th subelement
        ///	 * <code>Value</code>
        ///	 *  </summary>
        ///	 * <param name="iSkip">
        ///	 *            the number of <code>Value</code> elements to skip </param>
        ///	 * <param name="value">
        ///	 *            value to set the attribute to </param>
        ///
        public virtual void setValueValue(int iSkip, string @value)
        {
            JDFValue e = (JDFValue)getCreateElement(ElementName.VALUE, null, iSkip);

            e.setValue(@value);
        }
Пример #3
0
        //
        //	 * // Subelement attribute and element Getter / Setter
        //

        //
        //	 * // Subelement attribute and element Getter / Setter
        //

        ///
        ///	 <summary> * Sets the <code>Value</code> attribute of the i-th subelement Value
        ///	 *  </summary>
        ///	 * <param name="iSkip">
        ///	 *            the number of Value elements to skip </param>
        ///	 * <param name="value">
        ///	 *            value to set the attribute to </param>
        ///
        public virtual void setValueValue(int iSkip, JDFMatrix @value)
        {
            JDFValue e = (JDFValue)getElement(ElementName.VALUE, null, iSkip);

            e.setValue(@value.ToString());
        }