Ejemplo n.º 1
0
        //
        //	 * // Subelement attribute and element Getter / Setter
        //

        ///
        ///	 <summary> * Gets the jSkip'th element <code>Loc</code> of the iSkip'th element
        ///	 * <code>Value</code>
        ///	 *  </summary>
        ///	 * <param name="iSkip">
        ///	 *            number of <code>Value</code> elements to skip (iSkip=0 ->
        ///	 *            first <code>Value</code> element) </param>
        ///	 * <param name="jSkip">
        ///	 *            number of <code>Loc</code> subelements of iSkip'th
        ///	 *            <code>Value</code> element to skip (jSkip=0 -> first
        ///	 *            <code>Loc</code> element) </param>
        ///	 * <returns> JDFLoc: the matching Loc element </returns>
        ///
        public override JDFLoc getValueLocLoc(int iSkip, int jSkip)
        {
            JDFValue val = (JDFValue)getElement(ElementName.VALUE, null, iSkip);
            JDFLoc   loc = (JDFLoc)val.getElement(ElementName.LOC, null, jSkip);

            return(loc);
        }
Ejemplo n.º 2
0
        ///
        ///	 <summary> * Gets the iSkip-th element Loc
        ///	 * <p>
        ///	 * default: getCreateLoc(0)
        ///	 *  </summary>
        ///	 * <param name="iSkip">
        ///	 *            number of elements to skip </param>
        ///	 * <returns> JDFLoc: the matching element </returns>
        ///
        public virtual JDFLoc getLoc(int iSkip)
        {
            JDFLoc e = (JDFLoc)getElement(ElementName.LOC, JDFConstants.EMPTYSTRING, iSkip);

            return(e);
        }