Exemplo n.º 1
0
        ///
        ///     <summary> * Get all DevCap from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFDevCap> </returns>
        ///
        public virtual ICollection <JDFDevCap> getAllDevCap()
        {
            List <JDFDevCap> v = new List <JDFDevCap>();

            JDFDevCap kElem = (JDFDevCap)getFirstChildElement(ElementName.DEVCAP, null);

            while (kElem != null)
            {
                v.Add(kElem);

                kElem = (JDFDevCap)kElem.getNextSiblingElement(ElementName.DEVCAP, null);
            }

            return(v);
        }