예제 #1
0
        ///
        ///     <summary> * Get all DigitalMedia from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFDigitalMedia> </returns>
        ///
        public virtual ICollection <JDFDigitalMedia> getAllDigitalMedia()
        {
            List <JDFDigitalMedia> v = new List <JDFDigitalMedia>();

            JDFDigitalMedia kElem = (JDFDigitalMedia)getFirstChildElement(ElementName.DIGITALMEDIA, null);

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

                kElem = (JDFDigitalMedia)kElem.getNextSiblingElement(ElementName.DIGITALMEDIA, null);
            }

            return(v);
        }
예제 #2
0
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refDigitalMedia(JDFDigitalMedia refTarget)
 {
     refElement(refTarget);
 }