/// /// <summary> * Gets 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> /// * <returns> String: the attribute value, <code>null</code> if no matching /// * value element exists </returns> /// public string getValueValue(int iSkip) { JDFValue e = (JDFValue)getElement(ElementName.VALUE, null, iSkip); if (e == null) { return(null); } return(e.getValue()); }
/// /// <summary> * Gets the <code>Value</code> attribute of the i-th subelement Value /// * </summary> /// * <param name="iSkipthe"> /// * number of Value elements to skip </param> /// * <returns> JDFMatrix: the attribute value </returns> /// public JDFMatrix getValueValue(int iSkip) { JDFValue e = (JDFValue)getElement(ElementName.VALUE, null, iSkip); try { return(new JDFMatrix(e.getValue())); } catch (FormatException) { throw new JDFException("JDFMatrixState.getValueValue: AttributeValue not capable to create JDFMatrix"); } }