Example #1
0
 public virtual void setUp()
 {
     doc = new JDFDoc("JDF");
     n   = doc.getJDFRoot();
     n.setType("Stripping", true);
     @as = (JDFAssembly)n.appendMatchingResource(ElementName.ASSEMBLY, EnumProcessUsage.AnyInput, null);
 }
Example #2
0
        ///
        ///     <summary> * Get all Assembly from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFAssembly> </returns>
        ///
        public virtual ICollection <JDFAssembly> getAllAssembly()
        {
            List <JDFAssembly> v = new List <JDFAssembly>();

            JDFAssembly kElem = (JDFAssembly)getFirstChildElement(ElementName.ASSEMBLY, null);

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

                kElem = (JDFAssembly)kElem.getNextSiblingElement(ElementName.ASSEMBLY, null);
            }

            return(v);
        }
Example #3
0
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refAssembly(JDFAssembly refTarget)
 {
     refElement(refTarget);
 }
Example #4
0
        ///
        ///	 <summary> *  </summary>
        ///
        private void initAssembly()
        {
            JDFAssembly assem = (JDFAssembly)theNode.getCreateResource(ElementName.ASSEMBLY, EnumUsage.Input, 0);

            assem.setOrder(EnumOrder.Collecting);
        }