-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionuse String.formatuse standard java writersuse standard java writersuse Scanneruse VElement instead- simply use the jave intern methodwe are using xsd insteaduse
ResourceHelperuse Vector instead- use LayoutIntent instead- use the local file type- what is this for???defines the data type dependent parts of a ranged Span resource- use StatusCounteruse org.cip4.jdflib.util.thread.MyMutexuse the local classuse the real classuse the real classuse ListMap
-
Deprecated Exceptions
-
Deprecated FieldsFieldDescriptionCOLORSPACECONVERSIONuse COMBINE EnumType.xxx.getName()COMBINED use EnumType.xxx.getName()CONTACTCOPYING use EnumType.xxx.getName()CONVENTIONALPRINTINGCOVERAPPLICATIONDIGITALDELIVERY use EnumType.Delivery.getName();DIGITALPRINTING use EnumType.DigitalPrinting.getName();use EnumType.xxx.getName()use EnumType.xxx.getName()typo use SPINEFIBERROUGHINGuse nulluse null for no namespace checkuse null (not "null")use JDFColor.getCMYKSeparations()use null for wildcarduse XMLParse to parse pure XMLDoc instancesgrab your own... this is a potential leak, since it can be modifieduse EnumActivation.Activeuse EnumActivation.Helduse EnumActivation.Inactiveuse EnumActivation.EnumActivation.Informativeuse EnumActivation.TestRunuse EnumActivation.TestRunAndGouse null insteaduse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumProcessUsage.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.Type_xxx xuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse EnumType.xxxuse
UrlUtil.m_URIEscape
-
Deprecated MethodsMethodDescription2005-08-26use JDFPhaseTime.getStatus()- only valid in the respective subclasses- use getTimeStamp2005-09-01 use setAuthor()- only valid in the respective subclasses2005-10-20 - use setPartMap() in the various subclasses instead- only valid in the respective subclasses2005-12-02 use setTimeStamp(null)use JDFNode.eraseUnlinkedResourcessimply use constructoruse getRoot().getTarget(id, AttributeName.ID) and cast.rRefs was deprecated in JDF 1.2use getElement(null, null ,n)use
KElement.getChildElementArray()
not typesafe in case of elements in foreign namespaces note that this method previously returned JDFElement[]use EnumXYZ.getEnum(getAttribute(key, namespaceURI, def)use getEnumerationsAttribute(key, nameSpaceURI, EnumXYZ.getEnum(0), bInherit)use EnumXYZ.getEnum(int)use getrRef of the coresponding sub classes insteaduse getHRefs(VString vDoneRefs, boolean bRecurse, boolean bExpand)rRefs was deprecated in JDF 1.2use the respective subclasses getTarget functions060505 use getVersion(boolean);use getvHRefRes(true,false);use hasAttribute060307 internal legacy methoduse instanceof JDFResourceLink insteaduse instanceof JDFComment instead- use isInJDFNameSpaceStatic(kElem)use instanceof JDFNode insteaduse instanceof JDFRefElementuse instanceof JDFRefElementuse instanceof JDFResource insteaduse instanceof JDFResourceLink.IsResourceLink insteaduse instanceof JDFResourceLink insteaduse instanceof JDFResource insteaduse removeAttributeuse RemovePrivaterRefs was deprecated in JDF 1.2use removeAttributeuse EnumValidationLevel.isRequired()use EnumVersion.getEnumuse KElement.fillHashSet(ElementName.RREF,null,hashSet)clean up attributeInfo tables instead use KElement public boolean validAttribute(String key,String nameSpaceURI, EnumValidationLevel level)use getTheAttributeInfo insteaduse getTheAttributeInfo insteaduse getDefaultJDFVersion()set the parser members insteadset the parser members instead060310 not more than one is allowed - use getPartMap060310 use inline hasChildElement(ElementName.PART, null);in JDF 1.2never used060601 use getAmountPoolAttribute(attrib,nameSpaceURI,mPart,0)!=null;use setPipePartIDKeys(Vector enum)use JDFElement.getDefaultJDFVersion()use JDFElement.setDefaultJDFVersion(v);use appendXMLComment(commentText, null);use buildXPath(null,true);use buildXPath(relativeTo,true);060302 - use 6 parameter versionuse getChildFromList(Vector nodeNames, int iSkip, JDFAttributeMap map)use getChildElementVector(null, null, null, true, 0)use getChildArrayByClassuse getChildrenByTagName(nodeName, nameSpaceURI, new JDFAttributeMap(attName, attVal), bDirect, true, 0);use getChildByTagName(nodeName, nameSpaceURI, iSkip, null, false, true);- loop over the single node methoduse elem.getFirstChildElementuse getLocalName- use elem.getNextSiblingElement();use xmlnsPrefixuse matchesPath(String path, boolean bFollowRefs)use moveArrayuse 2-parameter version numChildNodes(nodeType, false);use setAttributes(JDFAttributeMap)use setAttribute insteaduse setAttribute insteaduse setAttribute insteaduse setAttribute insteaduse xmlnsPrefix()simply use appendUniquesimply use appendUnique060216 use containsElementuse getString(JDFConstants.BLANK,null,null)use getString(strSep,null,null)2005-02-14 use contains ...use removeStrings(s, Integer.MAX_VALUE);use removeStrings(v, Integer.MAX_VALUE);use getString- simply use get060419 use write2File(oFilePath, indent, true);060306060306use getKeyListuse keyset().iterator()- usa addAll- use addAll()use createIntegerListuse createIntegerRangeListuse clone()060418 - use toString060418 use toStringuse getY - attention height and width were accidentally exchangeduse getZuse getX - attention height and width were accidentally exchangedattention height and width were accidentally exchangedattention height and width were accidentally exchangeduse addAll- use thisuse containsuse reduceMapuse the enumuse getMessageHelpesuse list / booleanuse getExternalIDuse getCreateSet- all sets are now resource setsuse SetHelper.isSetuse numChildElements(ElementName.JOBPHASE,null)use appendMessageElement (family, null);use getMessageElement or appendMessageElementuse getMessageElement or getCreateMessageElementuse getCreateMessageElement(family, null, i);since 060619, use getMessageElement (JDFMessage.EnumFamily family, JDFMessage.EnumType typ, int i)use getMessageVector (null, null)use getMessageVector (family, null)use getMessageElement or getCreateMessageElementuse getMessageElement or getCreateMessageElementuse getMessageElementuse appendValidElement(elementName, null);- use the 0 parameter versionuse null parameter version- use 0 parameter versionuse instanceof JDFMessageuse setType()use EnumType to get stringsuse getCommanduse getQueryuse getResourceLink()use 3 parameter methoduse getQueueEntryVector(map, partmapvector)use getQueueEntry(int)use getQueueEntry(id)use QueueFilter.matchescall JDFQueue.sortChildren()- use copyTo modifies queue to match this filter by removing all non-matching entries make sure that this is a copy of any original queue as the incoming queue itself is not cloneduse the 2 parameter versionuse 3 parameter versionuse getIdentifieruse public JDFNotification setErrorText(String errorText, EnumClass errorClass)use the two parameter variantuse standard addResourceuse addResource(name, null, true, null, true)use addResource(name, null, true, null, true)use addResource(strName, JDFResource.EnumClass.Parameter, bInput, resRoot, bLink, null)use addJDFNode(EnumType typ) or addJDFNode(String typ)use addResource(String strName, JDFResource.EnumResourceClass resClass, EnumUsage usage, EnumProcessUsage processUsage, JDFNode resRoot, String nameSpaceURI)use addJDFNodeuse addJDFNode060406 use getActivation(false)use getParentJDF()- use getCategory() insteaduse getTypes() or getEnumTypes()06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)06�221 use getInheritedCustomerInfo(String attName)only for backward compatibility !!!use getExecutablePartitions(link, minStatus);06�221 use getInheritedCustomerInfo(String xPath)060221 use getInheritedNodeInfo(String xPath)use getJobPartID(false);use getLink(resource, EnumUsage)this routine does not belong here at all!- use getResourceLinksuse getMatchingResource(String resName, EnumProcessUsage processUsage, JDFAttributeMap partMap, int pos))- actually does more harm than gooduse getMissingLinkVector06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)06�221 use getInheritedNodeInfo(String attName)use getParentJDF()us 2 parameter methoduse getPredecessors(bPre,false);use getvJDFNode(null,null,false) and skip intermediate nodesuse getPartStatus()use getProjectID(boolean bInherit)use getResourceLinks(null)use getSpawnID(boolean)- use getStatusDetails() instead- Use @see UnlinkFinderuse public Vector getvJDFNode(task, JDFNode.EnumActivation.Unknown, false)use numChildElements(ElementName.ANCESTORPOOL, null) > 0;use getCustomerInfo()!=nulluse getNodeInfo()!=nulluse inline hasAttributeuse fitsActivationuse fitsActivationuse linkResource(enum)use JDFMerge classmust never be more than one...must never be more than one...060220 use removeCustomerInfouse the 3-parameter versionremoves only 1 NodeInfo. In Version 1.3 the cardinality of NodeInfouse setMaxVersion(EnumVersion)use 3 parameter versionuse 3 parameter versionuse the version with deviceIDuse JDFElement.setVersion(EnumVersion.getEnum(value))- use JDFSpawn class ( see code below)use JDFSpawn.spawnInformative()use new JDFSpawn(this).unSpawn(spawnID);use 4 parameter versionuse updatePartStatus(VJDFAttributeMAP)use either getPartAmount or getCreatePartAmountuse getMatchingPartAmountVector default: GetPartAmountVector(VJDFAttributeMap vmPart, false)use public void copyNodeData (JDFNode parentNode, false, false) insteaduse addProcessRun(JDFElement.EnumNodeStatus s, JDFConstants.EMPTYSTRING, new VJDFAttributeMap())use JDFMerge.cleanUpMergeuse 4 parameter versionuse getAudits(null, null, null)use getLastPhase(VJDFAttributeMap)use getLastPhase(vPartMap, null)060216 - this seams to have accidentally been added default: getLinks(null)use the 4 parameter versionuse getInOutLinks with EnumUsage signature- use namespace enabled version getLinkedResources(resName, mLinkAtt, mResAtt, bFollowRefs, null);use getPoolChildren()use getPoolChildren()use JDFNode.copySpawnedResourcesuse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse method with parameter (string) insteaduse getNamePathVectoruse appendBasicPreflightTest(name)use getBasicPreflightTest()use getCreateBasicPreflightTest()use getTermVector(null)use 4 parameter versionuse 3 parameter versionupdates never really took off in JDF- use 2 parameter version[BLD009] just for compiling PrintReady, to be removed afterwardsuse getChildArrayByClassuse the partUsage dependent version instead[BLD009] use getLinks(linkName, null)use getLinksAndRefs(true,true);[BLD009] use getLockeduse getPartition(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage)use getPartition(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage)use getPartitionVector(JDFAttributeMap m, EnumPartUsage partUsage)use getPartitionVector(JDFAttributeMap m, EnumPartUsage partUsage)[BLD009] use GetResourcePool insteaduse getResStatus(bRecurseRefs)updates never really took off in JDFupdates never really took off in JDFupdates never really took off in JDFupdates never really took off in JDFupdates never really took off in JDFuse getStatus default: IsAvailable(false)[BLD009] use setLocked()used only by merge - moved thereuse JDFMerge.mergeSpawnIDSupdates never really took off in JDF[BLD009] not in C++ anymore, not used internally hereupdates never really took off in JDFupdates never really took off in JDFuse SetStatus(EnumResStatus) default: setAvailable(true)use setResStatus(value, false)use setResStatus(value, bCleanLeaves)use JDFSpawn.spawnPartuse addNewOldLink(true,...)use addNewOldLink(bNew, r, bInput ? EnumUsage.Input : EnumUsage.Output);use addNewOldLink(false,...)use getChildElementVector() insteaduse getChildElementVector() insteaduse getChildElementVector() insteaduse EnumValueUsage.getEnum(enumName);use getDuplicateColors()==nulluse setContactTypesuse getContactTypesuse @see UrlUtil.getMimeTypeFromURL(url)use URLUTil.moveToDir(this)060907use setMimeURL060503 use the version with VString VStringuse getSurface(EnumSide side)use getSurface(EnumSide side)use getChildElementVector() insteaduse specialized routines060301 use getNodeName or getLocalName060302 was never correctly implemented and is unnecessary...- use 2 parameter version; default= newFile(header,null);use the 3 parameter versionusePlatformUtiluse isLateruse isEarlieruse @seeJDFDate.getDateISO()use addOffsetuse 3 parameter versionuse UrlUtil.getMimeTypeFromURL(fileName);defaultValue==true is kind of stupid...defaultValue==true is kind of stupid...use URLUtil.extensionuse UrlUtil.fileToUrl(f, b);use @se EnumUtil.getEnumsVectoruse @see EnumUtil.getNamesVectoruse URLUtil.getRelativePath(f, fCWD);use getRelativeURL(File f, File fCWD, boolean bEscape128)use URLUtil.getRelativeURLuse the 4 parameter versionuse URLUtil.isUNC(pathName)use UrlUtil.isWindowsLocalPath(pathName);use MimeUtil.getMimeTypeFromExt(strWork);use UrlUtil.newExtensionuse UrlUtil.prefix(strWork);use getUTF8Bytes insteaduse vs.getString(" ",null,null)060314 use KElement.xmlnsprefixuse FileUtil.getCreateDirectory(newDir);use moveToDir(parent, dir, null, overWrite);use prefix(pathName)- use either processSingleDoc, processSingleStream or processSinglFile(String) this will be made private
-
Deprecated ConstructorsConstructorDescriptionprint the stack trace in the application- use default constructor- use default constructoruse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructorsuse typesafe constructors- use the 3 parameter version