Esempio n. 1
0
 public virtual void tearDown()
 {
     JDFElement.setLongID(true);
     JDFElement.setDefaultJDFVersion(EnumVersion.Version_1_3);
     JDFAudit.setStaticAgentName(agentName);
     JDFAudit.setStaticAgentVersion(agentVersion);
     JDFAudit.setStaticAuthor(author);
     JDFNodeInfo.setDefaultWorkStepID(false);
 }
Esempio n. 2
0
        /// <summary>
        /// All the setUp calls except for base.setUp.
        /// Use when you want to redo a setup without doign a teardown.
        /// </summary>
        public void reSetUp()
        {
            JDFElement.setLongID(false);
            JDFAudit.setStaticAgentName(null);
            JDFAudit.setStaticAgentVersion(null);
            JDFAudit.setStaticAuthor(null);

            doc = new JDFDoc("JDF");
            n   = doc.getJDFRoot();
            n.setJobID("JobID");
            rl = (JDFRunList)n.addResource(ElementName.RUNLIST, null, EnumUsage.Input, null, null, null, null);
        }
Esempio n. 3
0
        /// <summary>
        /// All the setUp calls except for base.setUp.
        /// Use when you want to redo a setup without doign a teardown.
        /// </summary>
        public void reSetUp()
        {
            JDFElement.setLongID(false);
            JDFAudit.setStaticAgentName(null);
            JDFAudit.setStaticAgentVersion(null);
            JDFAudit.setStaticAuthor(null);

            doc = new JDFDoc("JDF");
            n   = doc.getJDFRoot();
            n.setJobID("JobID");
            n.setType(EnumType.Combined);
            n.setTypes(new VString("Interpreting Rendering DigitalPrinting Stitching", " "));
            comp       = (JDFComponent)n.addResource(ElementName.COMPONENT, null, EnumUsage.Output, null, null, null, null);
            rlComp     = n.getLink(comp, null);
            digiParams = (JDFDigitalPrintingParams)n.addResource(ElementName.DIGITALPRINTINGPARAMS, null, EnumUsage.Input, null, null, null, null);
            med        = (JDFMedia)n.appendMatchingResource(ElementName.MEDIA, EnumProcessUsage.AnyInput, null);
            med.setResStatus(EnumResStatus.Available, false);
            rlMedia = n.getLink(med, null);
            ruli    = (JDFRunList)n.appendMatchingResource(ElementName.RUNLIST, EnumProcessUsage.AnyInput, null);
        }