Package org.cip4.jdflib.resource.process
Class JDFRunList
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.cip4.jdflib.core.KElement
org.cip4.jdflib.core.JDFElement
org.cip4.jdflib.resource.JDFResource
org.cip4.jdflib.auto.JDFAutoRunList
org.cip4.jdflib.resource.process.JDFRunList
- All Implemented Interfaces:
Serializable,Cloneable,IStreamWriter,Element,ElementTraversal,EventTarget,Node,NodeList,TypeInfo
Wrapper around a JDF RunList
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass that abstracts a RunList Partition so that you can efficiently access the File using RunIndex as a markerNested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoRunList
JDFAutoRunList.EnumAutomation, JDFAutoRunList.EnumComponentGranularity, JDFAutoRunList.EnumIgnoreContext, JDFAutoRunList.EnumSheetSidesNested classes/interfaces inherited from class org.cip4.jdflib.resource.JDFResource
JDFResource.EnumAmountMerge, JDFResource.EnumLotControl, JDFResource.EnumPartIDKey, JDFResource.EnumPartUsage, JDFResource.EnumResourceClass, JDFResource.EnumResStatus, JDFResource.EnumSpawnStatus, JDFResource.PartitionGetterNested classes/interfaces inherited from class org.cip4.jdflib.core.JDFElement
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation, JDFElement.eUnitNested classes/interfaces inherited from class org.cip4.jdflib.core.KElement
KElement.MultiAttributeComparator, KElement.SimpleElementNameComparator, KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator -
Field Summary
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURIFields inherited from class org.apache.xerces.dom.ElementImpl
attributes, nameFields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocumentFields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSiblingFields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODEFields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEFields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION -
Constructor Summary
ConstructorsConstructorDescriptionJDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) Constructor for JDFRunListJDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) Constructor for JDFRunListJDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) Constructor for JDFRunList -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.addPDF add a pdf file to this RunListDeprecated.Deprecated.addRunDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.add a run separationDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.060503 use the version with VString VStringaddSepRun(JDFResource fileSpec, String sepNames) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, boolean pageMajor) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, boolean pageMajor, String sep) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first, boolean pageMajor) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first, boolean pageMajor, String sep) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first, int n) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first, int n, boolean pageMajor, String sep) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first, int n, String sep) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, int first, String sep) Deprecated.addSepRun(JDFResource fileSpec, String sepNames, String sep) Deprecated.voidcollapse(boolean bCollapseToNode, boolean bCollapseElements) collapse all redundant attributes and elementsvoidexpand(boolean bDeleteFromNode) Expand so that each leaf is complete (except for ID)voidfixNPage()write NPage into all leaves with IsPage=true and write the appropriate value into the lower level nodesget a map of VJDFAttributeMap that are sorted by the fileSpec URL key
each url key maps the leaves that share the same URL(25) getCreateFileSpecget RunList/LayoutElement/FileSpec/@MimeTypeget RunList/LayoutElement/FileSpec or RunList/FileSpec in case of XJDFintget RunList/LayoutElement/FileSpec/@URL also evaluate RunList/@directory and concatinate Directory + URL in case URL is a relative URLintgets the first logical RunIndex for this partitionprotected intgets the first logical RunIndex for this partitionGets a list of all partition keys that this resource may be implicitly partitioned by, e.g.getIndexPartition(int index) get the Partition that corresponds to a given runIndexintgets the last logical RunIndex for this partitionprotected intgets the last logical RunIndex for this partitionintgetNPage()calculates nPage from the leaves if possible - else does the standard stuffintgetPageInFile(int runIndex) get the 0 based page number in the specified fileget the list of RunList Leaves with IsPage=trueget the pageListIndex with a reasonable def for number of pages
first try the pagelist, then do for local npagegetPages()(20) get JDFIntegerRangeList attribute Pagesprotected AttributeInfoget the first matching parent or this with IsPage==truebooleanget the first matching parent or this with IsPage==truebooleansetByteMapURL(String url) set RunList/ByteMap/FileSpec/@URLbooleansetFileSpecURL(String url) set RunList/FileSpec/@URL - only for 2.0booleansetFileURL(String url) set RunList/LayoutElement/FileSpec/@URLvoidsetPages(JDFIntegerRangeList value) (36) set attribute PagestoString()toStringMethods inherited from class org.cip4.jdflib.auto.JDFAutoRunList
appendByteMap, appendDisposition, appendDynamicInput, appendInsertSheet, appendInterpretedPDLData, appendLayoutElement, appendMetadataMap, appendPageList, getAllDynamicInput, getAllInsertSheet, getAllMetadataMap, getAutomation, getByteMap, getComponentGranularity, getCreateByteMap, getCreateDisposition, getCreateDynamicInput, getCreateDynamicInput, getCreateInsertSheet, getCreateInsertSheet, getCreateInterpretedPDLData, getCreateLayoutElement, getCreateMetadataMap, getCreateMetadataMap, getCreatePageList, getDirectory, getDisposition, getDocNames, getDocPages, getDocs, getDynamicInput, getDynamicInput, getEndOfBundleItem, getEndOfDocument, getEndOfSet, getFinishedPages, getFirstPage, getIgnoreContext, getInsertSheet, getInsertSheet, getInterpretedPDLData, getIsPage, getLayoutElement, getLogicalPage, getMetadataMap, getMetadataMap, getNDoc, getNSet, getPageCopies, getPageList, getPageNames, getRunTag, getSetCopies, getSetNames, getSets, getSheetSides, getSkipPage, getSorted, getTheElementInfo, getValidClass, init, refByteMap, refInsertSheet, refInterpretedPDLData, refLayoutElement, refPageList, setAutomation, setComponentGranularity, setDirectory, setDocNames, setDocPages, setDocs, setEndOfBundleItem, setEndOfDocument, setEndOfSet, setFinishedPages, setFirstPage, setIgnoreContext, setIsPage, setLogicalPage, setNDoc, setNPage, setNSet, setPageCopies, setPageListIndex, setPageNames, setRunTag, setSetCopies, setSetNames, setSets, setSheetSides, setSkipPage, setSortedMethods inherited from class org.cip4.jdflib.resource.JDFResource
addPartIDKey, addPartition, addPartition, addPartitions, addPipePartIDKey, appendContact, appendElement, appendIdentical, appendIdentificationField, appendLocationElement, appendQualityControlResult, appendSourceResource, appendSpawnIDs, appendUpdate, buildXPath, cleanResourceAttributes, clearPartitions, clonePartitions, collapse, consistentPartIDKeys, consistentPartIDKeys, consistentPipePartIDKeys, containsData, copyElement, copyInto, createPartitions, createSourceResource, deleteNode, deleteUnLinked, expandLeaf, fillSparse, getAgentName, getAgentVersion, getAlternateBrand, getAmount, getAmountProduced, getAmountRequired, getAttribute, getAttributeMap, getAttributePart, getAttributePartVector, getAttributeVector, getAttributeVector_JDFResource, getAuthor, getAutoAgent, getAutoSubElementClass, getBatchID, getBinderySignatureName, getBlockName, getBrand, getBundleItemIndex, getCatalogDetails, getCatalogID, getCellIndex, getChildArrayByClass, getChildElementVector, getChildrenByClass, getChildWithAttribute, getCondition, getContact, getCreateContact, getCreateElement_JDFResource, getCreateIdentical, getCreateIdentificationField, getCreateLocationElement, getCreatePartition, getCreatePartition, getCreateQualityControlResult, getCreator, getDeepPart, getDeepPart, getDeliveryUnit, getDirectPartition, getDirectPartitionArray, getDirectPartitionVector, getDocCopies, getDocIndex, getDocRunIndex, getDocSheetIndex, getElement, getFountainNumber, getGrossWeight, getIdentical, getIdenticalMap, getIdenticalTarget, getIdentificationField, getIDPrefix, getInvalidAttributes, getItemNames, getLayerIDs, getLeaf, getLeafArray, getLeaves, getLinks, getLinks, getLinksAndRefs, getLinksAndRefs, getLinkString, getLocalPartitionKey, getLocation, getLocationElement, getLock, getLocked, getLotControl, getManufacturer, getNodesWithSpawnID, getNoOp, getOption, getPageNumber, getParentPartition, getPartIDKeyList, getPartIDKeys, getPartition, getPartition, getPartition, getPartitionLeafVector, getPartitionMap, getPartitionVector, getPartitionVector, getPartitionVector, getPartitionVector, getPartMap, getPartMap, getPartMapVector, getPartUsage, getPartValues, getPartVersion, getPipeID, getPipePartIDKeys, getPipePartIDKeysEnum, getPipeProtocol, getPipeURL, getPool, getPreflightRule, getPreviewType, getProductID, getQualityControlResult, getResourceClass, getResourcePool, getResourceRoot, getResourceRoot, getResourceWeight, getResStatus, getRibbonName, getRootPartAtts, getRun, getRunIndex, getRunPage, getRunSet, getRunTags, getSectionIndex, getSeparation, getSetDocIndex, getSetIndex, getSetRunIndex, getSetSheetIndex, getSheetIndex, getSheetName, getSide, getSignatureName, getSortAmount, getSorting, getSourceResource, getSpawnIDs, getSpawnStatus, getStationName, getStatus, getStatusFromLeaves, getTileID, getUnit, getUnitEnum, getUpdate, getUpdate, getUpdateID, getUpdateName, getUpdateVector, getWebName, getWebProduct, getWebSetup, hasAttribute, hasPipePartIDKey, hasUpdate, insertBefore, isAvailable, isLeaf, isParameter, isPartitioningCompatible, isPartitioningCompatible, isPhysical, isQuantity, isResourceElement, isResourceRoot, isResourceRootRoot, isRootElement, isSpawnAllowed, isValid, lock, makeRootResource, makeRootResource, matchesString, mergeCloneResource, mergeElement, mergePartition, mergeSpawnIDs, moveElement, newModifiedID, numChildElements, numUpdates, reducePartitions, reduceParts, reducePartVector, removeAttribute, removeAttributeFromLeaves, removeFromSpawnIDs, removeInheritedAttributes, removeUpdate, removeUpdate, reorderPartitions, replaceElement, setAgentName, setAgentVersion, setAlternateBrand, setAmount, setAmountProduced, setAmountRequired, setAttribute, setAuthor, setAutoAgent, setAutoSubElementClass, setAvailable, setBatchID, setBinderySignatureName, setBlockName, setBrand, setBundleItemIndex, setCatalogDetails, setCatalogID, setCellIndex, setCondition, setDeliveryUnit, setDocCopies, setDocIndex, setDocRunIndex, setDocSheetIndex, setFountainNumber, setGrossWeight, setIdentical, setIdentical, setItemNames, setLayerIDs, setLocation, setLocked, setLotControl, setManufacturer, setNoOp, setOption, setPageNumber, setPartIDKey, setPartIDKeyList, setPartIDKeys, setPartUsage, setPartVersion, setPipeID, setPipePartIDKey, setPipeProtocol, setPipeURL, setPreflightRule, setPreviewType, setProductID, setResourceClass, setResourceWeight, setResStatus, setRibbonName, setRun, setRunIndex, setRunPage, setRunSet, setRunTags, setSectionIndex, setSeparation, setSetDocIndex, setSetIndex, setSetRunIndex, setSetSheetIndex, setSheetIndex, setSheetName, setSide, setSignatureName, setSortAmount, setSorting, setSpawnIDs, setSpawnIDs, setSpawnStatus, setStationName, setStatus, setStatus, setTileID, setUnit, setUnit, setUnpartitiondImplicit, setUpdateID, setWebName, setWebProduct, setWebSetup, spawnPart, unpartition, unSpawnPart, updateAmounts, updateAttributeFromLeaves, validClass, validResourceClassMethods inherited from class org.cip4.jdflib.core.JDFElement
appendAnchor, appendBestEffortExceptions, appendComment, appendGeneralID, appendGeneralID, appendGeneralID, appendHRef, appendHRef, appendMustHonorExceptions, appendOperatorInterventionExceptions, appendPreview, appendrRefs, attributeType, clearTargets, cloneNewDoc, copyChildren, createRoot, createRoot, deprecatedAttributes, eraseDefaultAttributes, exclusiveOneOfAttribute, exclusiveOneOfElement, fixVersion, getAllRefs, getAtrType, getAttributeInfo, getBestEffortExceptions, getChildElement, getChildElements, getChildElementVector_JDFElement, getChildIds, getChildrenByTagName, getChildrenByTagName, getChildWithAttribute, getChildWithMatchingAttribute, getComment, getComment, getCommentText, getCommentURL, getCreateComment, getCreateComment, getCreateElement_JDFElement, getCreatePreview, getCreateRefElement, getDeepElementByID, getDefaultAttributeMap, getDefaultJDFVersion, getDeprecatedAttributes, getDeprecatedElements, getDescriptiveName, getElement_JDFElement, getElementIDPrefix, getElementInfo, getElementNameVector, getEnumAttribute, getEnumerationsAttribute, getEnumerationsAttribute, getEnumforAttribute, getEnumNodeName, getEnumString, getFirstVersion, getGeneralID, getGeneralID, getGeneralID, getGeneralIDListMap, getGeneralIDMap, getGeneralIDVectorMap, getHRef, getHRefs, getHRefs, getInsertElements, getInsertElementVector, getInvalidElements, getInvalidElements_JDFElement, getJDFRoot, getJMFRoot, getLastVersion, getLinkFromUserData, getLinkRoot, getMaxVersion, getMissingAttributes, getMissingAttributeVector, getMissingElements, getMissingElementVector, getMustHonorExceptions, getNamesVector, getOperatorInterventionExceptions, getOwnerDocument_JDFElement, getParentJDF, getParentJDF, getPartMapArray, getPartMapVector, getPrereleaseAttributes, getPrereleaseElements, getPreview, getRefElement, getRefElements, getRefString, getrRefs, getSchemaURL, getSchemaURL, getSchemaURL, getSettingsPolicy, getStatus, getTarget, getTarget, getTarget_JDFElement, getTheAttributeInfo_JDFElement, getTheElementInfo_JDFElement, getTypeForAttribute, getUnknownAttributes, getUnknownAttributeVector, getUnknownElements, getUnknownElementVector, getUnknownPoolElements, getURLDoc, getURLInputStream, getValueForNewAttribute, getVersion, getVersion, getvHRefRes, getvHRefRes, getXMLDocUserData, hasMissingAttributes, hasMissingElements, hasPartMap, hasSettingsPolicy, hasUnknownAttributes, hasUnknownElements, idString, includesMatchingAttribute, inlineRefElements, insertBefore, isComment, isCommentStatic, isDeprecated, isDirty, isInAnyCIP4NameSpaceStatic, isInAnyCIP4NameSpaceStatic, isInAnyJDFNameSpaceStatic, isInAnyJDFNameSpaceStatic, isInJDFNameSpace, isInJDFNameSpaceStatic, isInJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isJDFNode, isRefElement, isRefElementStatic, isResource, isResourceLink, isResourceLinkStatic, isResourceStatic, isResourceUpdate, isValid_JDFElement, isXJDF, jdfVersion, knownAttributes, knownElements, matchesPath, newID, numChildElements_JDFElement, optionalAttributes, optionalElements, parseFile, parseFile, parseStream, parseString, prereleaseAttributes, prereleaseElements, refElement, removeBestEffortExceptions, removeChild, removeChild, removeChildren, removeExtensions, removeFromBestEffortExceptions, removeFromMustHonorExceptions, removeFromOperatorInterventionExceptions, removeFromrRefs, removeGeneralID, removePartMap, removeRefElement, removeSettingsPolicy, replaceChild, requiredAttributes, requiredElements, requiredLevel, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNameTimeStamp, setAttributes, setBestEffortExceptions, setCommentText, setCommentText, setCommentURL, setDefaultJDFVersion, setDescriptiveName, setDirty, setEnumerationsAttribute, setGeneralID, setLongID, setMustHonorExceptions, setOperatorInterventionExceptions, setPartMap, setPartMapVector, setSettingsPolicy, setStatus, setVersion, setvStringAttribute, stringToVersion, uniqueElements, upDaterRefs, validAttribute, validAttribute, validEnumAttribute, validEnumerationsAttribute, validResourcePosition, version, write2DirMethods inherited from class org.cip4.jdflib.core.KElement
addAttribute, addAttribute, addNameSpace, ancestorDistance, appendAttribute, appendAttribute, appendAttributes, appendCData, appendCData, appendChild, appendElement, appendElementN, appendElementRaw, appendEntityReference, appendText, appendTextElement, appendXMLComment, appendXMLComment, buildRelativeXPath, buildXPath, buildXPath, cleanup, clearNSMap, clone, copyAttribute, copyAttribute, copyAttribute, copyAttribute, copyElements, copyXPathValue, createRoot, ensureCase, eraseEmptyAttributes, eraseEmptyNodes, fillHashSet, fitsName, fitsName_KElement, flush, generateDotID, getAttribute, getAttribute, getAttribute_KElement, getAttribute_KElement, getAttributeArray_KElement, getAttributeIgnoreCase, getAttributeMap_KElement, getAttributeRaw, getAttributeVector_KElement, getBoolAttribute, getCData, getChildArray, getChildArray_KElement, getChildArrayByClass_KElement, getChildAttributeList, getChildByTagName, getChildElementArray, getChildElementVector, getChildElementVector, getChildElementVector_KElement, getChildFromList, getChildFromList, getChildList, getChildList, getChildNode, getChildNodes_KElement, getChildNodeVector, getChildrenByTagName, getChildrenByTagName_KElement, getChildrenFromList, getChildrenIgnoreList, getChildrenWithAttribute, getChildWithAttribute, getCreateChildWithAttribute, getCreateElement, getCreateElement, getCreateElement_KElement, getCreateXPathElement, getDeepElement, getDeepParent, getDeepParent, getDeepParentChild, getDeepParentNotName, getDocRoot, getDOMAttr, getElement, getElement_KElement, getElementByClass, getElementHashMap, getElementsByTagName_KElement, getFirstChildElement, getFirstChildElement, getFirstChildElement, getFirstElementNode, getID, getIgnoreCase, getIgnoreCase_KElement, getInheritedAttribute, getInheritedElement, getInheritedXPathAttribute, getIntAttribute, getLocalNameStatic, getLongAttribute, getMultipleIDs, getNamespaceURI, getNamespaceURIFromPrefix, getNextElementNode, getNextSiblingElement, getNextSiblingElement, getNextSiblingElement, getNonEmpty, getNonEmpty_KElement, getNumCDatas, getNumChildNodes, getNumChildText, getNumXMLComments, getOwnerDocument_KElement, getParentNode_KElement, getPreviousSiblingElement, getPreviousSiblingElement, getRealAttribute, getTarget_KElement, getText, getText, getTree, getTree, getTreeByClass, getTreeElement, getXMLComment, getXMLNSNameSpace, getXMLNSPrefix, getXPathAttribute, getXPathAttributeMap, getXPathElement, getXPathElementVector, getXPathValueMap, getXPathValueMap, getXSIType, hasAttribute, hasAttribute_KElement, hasAttributes, hasChildElement, hasChildElements, hasChildNodes, hasChildText, hasNonEmpty, hasNonEmpty_KElement, hasXPathNode, includesAttribute, includesAttributes, insertAt, isAncestor, isEqual, isEqual, isWildCard, matchesPath, matchesPathName, moveArray, moveAttribute, moveAttribute, moveElements, moveMe, normalize, numChildElements_KElement, numChildNodes, numChildNodes, numChildrenByClass, numSiblingElements, pushUp, removeAllText, removeAttribute, removeAttribute_KElement, removeAttributeNode, removeAttributeNS, removeAttributes, removeCData, removeChildNode, removeChildren, removeChildrenByClass, removeChildText, removeExtensions, removeFromAttribute, removeIgnoreCase, removeIgnoreCase_KElement, removeXMLComment, removeXPathAttribute, removeXPathElement, renameAttribute, renameAttribute, renameElement, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNSRaw, setAttributeRaw, setAttributes, setAttributes, setAttributes, setAttributesRaw, setBoolAttribute, setDirty, setID, setIntAttribute, setNamespaceURI, setNodeValue, setNonEmpty, setPrefix, setRealAttribute, setText, setvStringAttribute, setXMLComment, setXMLComment, setXPathAttribute, setXPathValue, setXPathValues, setXSIType, sortChild, sortChild, sortChildren, sortChildren, sortChildren, sortChildren, toDisplayXML, toValueString, toXML, toXML, uniqueID, uniqueID, write2File, write2File, write2Stream, writeStream, xmlNameSpace, xmlnsLocalName, xmlnsPrefixMethods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setTypeMethods inherited from class org.apache.xerces.dom.ElementImpl
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDataMethods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildrenMethods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSiblingMethods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserDataMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.Element
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface org.w3c.dom.Node
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData
-
Constructor Details
-
JDFRunList
public JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) throws DOMException Constructor for JDFRunList- Parameters:
myOwnerDocument-qualifiedName-- Throws:
DOMException
-
JDFRunList
public JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) throws DOMException Constructor for JDFRunList- Parameters:
myOwnerDocument-myNamespaceURI-qualifiedName-- Throws:
DOMException
-
JDFRunList
public JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) throws DOMException Constructor for JDFRunList- Parameters:
myOwnerDocument-myNamespaceURI-qualifiedName-myLocalName-- Throws:
DOMException
-
-
Method Details
-
getTheAttributeInfo
- Overrides:
getTheAttributeInfoin classJDFAutoRunList- Returns:
-
toString
toString -
addRun
Deprecated.addRun- Parameters:
fileName-- Returns:
- JDFRunList
-
addRun
Deprecated.addRun- Parameters:
fileName-first-- Returns:
- JDFRunList
-
addRun
addRun- Parameters:
fileName-first-last-- Returns:
- JDFRunList
-
addPDF
Deprecated.addPDF- Parameters:
fileName-- Returns:
- JDFRunList
-
addPDF
Deprecated.addPDF- Parameters:
fileName-first-- Returns:
- JDFRunList
-
addPDF
addPDF add a pdf file to this RunList- Parameters:
fileName- the URL (!) of the filefirst- 0 based first page in the filelast- 0 based last page in the file- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-n-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(Vector fileNames, Vector sepNames, int first, boolean pageMajor) Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-pageMajor-- Returns:
- JDFRunList
-
addSepRun
add a run separation- Parameters:
fileNames- vector of file names for the URL attribute of the FileSpec in the LayoutElementsepNames- parallel vector of separation names.first- index of the first page in the file - Sets the RunList FirstPage attributen- the number of logical pages in this runpageMajor- if true, separations are ordered as page Major, i.e CMYKCMYK
if false, ordering is CCMMYYKK- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-n-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(VElement fileSpec, Vector sepNames, int first, boolean pageMajor) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-pageMajor-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(VElement fileSpec, Vector sepNames, int first, int n, boolean pageMajor) Deprecated.060503 use the version with VString VStringaddSepRun- Parameters:
fileSpec-sepNames-first-n-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-n-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(JDFResource fileSpec, String sepNames, int first, boolean pageMajor) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileSpec-sepNames-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(JDFResource fileSpec, String sepNames, int first, String sep) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(JDFResource fileSpec, String sepNames, int first, int n, String sep) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-n-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(JDFResource fileSpec, String sepNames, int first, boolean pageMajor, String sep) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-pageMajor-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(JDFResource fileSpec, String sepNames, boolean pageMajor, String sep) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-pageMajor-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(JDFResource fileSpec, String sepNames, int first, int n, boolean pageMajor, String sep) Deprecated.addSepRun- Parameters:
fileSpec-sepNames-first-n-pageMajor-sep-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-n-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(String fileNames, String sepNames, int first, boolean pageMajor) Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-pageMajor-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-sep-- Returns:
- JDFRunList
-
addSepRun
Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(String fileNames, String sepNames, int first, int n, String sep) Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-n-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(String fileNames, String sepNames, int first, boolean pageMajor, String sep) Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-pageMajor-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(String fileNames, String sepNames, boolean pageMajor, String sep) Deprecated.addSepRun- Parameters:
fileNames-sepNames-pageMajor-sep-- Returns:
- JDFRunList
-
addSepRun
@Deprecated public JDFRunList addSepRun(String fileNames, String sepNames, int first, int n, boolean pageMajor, String sep) Deprecated.addSepRun- Parameters:
fileNames-sepNames-first-n-pageMajor-sep-- Returns:
- JDFRunList
-
setFileURL
set RunList/LayoutElement/FileSpec/@URL- Parameters:
url- the url to set- Returns:
- true if ok
-
setFileSpecURL
set RunList/FileSpec/@URL - only for 2.0- Parameters:
url- the url to set- Returns:
- true if ok
-
getCreateFileSpec
(25) getCreateFileSpec- Returns:
- JDFFileSpec the element
-
setByteMapURL
set RunList/ByteMap/FileSpec/@URL- Parameters:
url- the url to set- Returns:
- true if ok
-
getFileURL
get RunList/LayoutElement/FileSpec/@URL also evaluate RunList/@directory and concatinate Directory + URL in case URL is a relative URL- Returns:
- URL if a URL or Directory attribute exists, else null
-
setPages
(36) set attribute Pages- Overrides:
setPagesin classJDFAutoRunList- Parameters:
value- : the value to set the attribute to
-
getFileMimeType
get RunList/LayoutElement/FileSpec/@MimeType- Returns:
- MIMEType if it exists, else null
-
getFileSpec
get RunList/LayoutElement/FileSpec or RunList/FileSpec in case of XJDF- Returns:
- JDFFileSpec FileSpec if it exists, else null
-
getCommonURLFileSpecMap
get a map of VJDFAttributeMap that are sorted by the fileSpec URL key
each url key maps the leaves that share the same URL- Returns:
- fileSpecMap a map of VJDFAttributeMap
-
getImplicitPartitions
Description copied from class:JDFResourceGets a list of all partition keys that this resource may be implicitly partitioned by, e.g. RunIndex for RunList...
gets overridden in subclasses- Overrides:
getImplicitPartitionsin classJDFResource- Returns:
- Vector of EnumPartIDKey
- See Also:
-
getPageIterator
- Returns:
-
getFirstIndex
public int getFirstIndex()gets the first logical RunIndex for this partition- Returns:
- the first RunIndex that this RunList partition specifies
-
getFirstIndex
gets the first logical RunIndex for this partition- Parameters:
last-- Returns:
- the first RunIndex that this RunList partition specifies
-
getPageLeaves
get the list of RunList Leaves with IsPage=true- Returns:
-
getLastIndex
public int getLastIndex()gets the last logical RunIndex for this partition- Returns:
- the last RunIndex that this RunList partition specifies
-
getLastIndex
gets the last logical RunIndex for this partition- Parameters:
last-- Returns:
- the last RunIndex that this RunList partition specifies
-
getNPage
public int getNPage()calculates nPage from the leaves if possible - else does the standard stuff- Overrides:
getNPagein classJDFAutoRunList- Returns:
- int the value of the attribute
- See Also:
-
getIndexPartition
get the Partition that corresponds to a given runIndex- Parameters:
index- the runIndex to search for- Returns:
- JDFRunList the partition that contains this index. use @see getPageInFile to find the correct page warning blindly calling this from inside a loop may cause performance issues - use the getPageIterator if you need performance optimized access
-
getPageInFile
public int getPageInFile(int runIndex) get the 0 based page number in the specified file- Parameters:
runIndex-- Returns:
- the page number in the file; -1 if ot of range
-
collapse
public void collapse(boolean bCollapseToNode, boolean bCollapseElements) collapse all redundant attributes and elements- Overrides:
collapsein classJDFResource- Parameters:
bCollapseToNode- only collapse redundant attriutes and elements that pre-exist in the nodesbCollapseElements- if true, collapse elements, else only collapse attributes
-
expand
public void expand(boolean bDeleteFromNode) Description copied from class:JDFResourceExpand so that each leaf is complete (except for ID)- Overrides:
expandin classJDFResource- Parameters:
bDeleteFromNode- if true, removes all intermediate elements and attributes- See Also:
-
fixNPage
public void fixNPage()write NPage into all leaves with IsPage=true and write the appropriate value into the lower level nodes -
getTruePage
get the first matching parent or this with IsPage==true- Returns:
-
isPageLeaf
public boolean isPageLeaf()get the first matching parent or this with IsPage==true- Returns:
-
getPages
Description copied from class:JDFAutoRunList(20) get JDFIntegerRangeList attribute Pages- Overrides:
getPagesin classJDFAutoRunList- Returns:
- JDFIntegerRangeList the value of the attribute, null if a the attribute value is not a valid to create a JDFIntegerRangeList
- See Also:
-
getFileSpecNPage
public int getFileSpecNPage() -
getPageListIndex
get the pageListIndex with a reasonable def for number of pages
first try the pagelist, then do for local npage- Overrides:
getPageListIndexin classJDFAutoRunList- Returns:
- JDFIntegerRangeList the value of the attribute, null if a the attribute value is not a valid to create a JDFIntegerRangeList
- See Also:
-