|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class JDFRunList
Wrapper around a JDF RunList
| Nested Class Summary | |
|---|---|
class |
JDFRunList.JDFRunData
class that abstracts a RunList Partition so that you can efficiently access the File using RunIndex as a marker |
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoRunList |
|---|
JDFAutoRunList.EnumComponentGranularity, JDFAutoRunList.EnumSheetSides |
| Nested 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.PartitionGetter |
| Nested 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 |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.KElement |
|---|
KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator |
| Field Summary |
|---|
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields 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_NODE |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFRunList |
|
JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFRunList |
|
JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFRunList |
|
| Method Summary | |
|---|---|
JDFRunList |
addPDF(String fileName)
Deprecated. |
JDFRunList |
addPDF(String fileName,
int first)
Deprecated. |
JDFRunList |
addPDF(String fileName,
int first,
int last)
addPDF add a pdf file to this RunList |
JDFRunList |
addRun(String fileName)
Deprecated. |
JDFRunList |
addRun(String fileName,
int first)
Deprecated. |
JDFRunList |
addRun(String fileName,
int first,
int last)
addRun |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
boolean pageMajor,
String sep)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first,
boolean pageMajor,
String sep)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first,
int n)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first,
int n,
boolean pageMajor,
String sep)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first,
int n,
String sep)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
int first,
String sep)
Deprecated. |
JDFRunList |
addSepRun(JDFResource fileSpec,
String sepNames,
String sep)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
boolean pageMajor,
String sep)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first,
boolean pageMajor,
String sep)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first,
int n)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first,
int n,
boolean pageMajor,
String sep)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first,
int n,
String sep)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
int first,
String sep)
Deprecated. |
JDFRunList |
addSepRun(String fileNames,
String sepNames,
String sep)
Deprecated. |
JDFRunList |
addSepRun(Vector fileNames,
Vector sepNames)
Deprecated. |
JDFRunList |
addSepRun(Vector fileNames,
Vector sepNames,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(Vector fileNames,
Vector sepNames,
int first)
Deprecated. |
JDFRunList |
addSepRun(Vector fileNames,
Vector sepNames,
int first,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(Vector fileNames,
Vector sepNames,
int first,
int n)
Deprecated. |
JDFRunList |
addSepRun(Vector fileNames,
Vector sepNames,
int first,
int n,
boolean pageMajor)
add a run separation |
JDFRunList |
addSepRun(VElement fileSpec,
Vector sepNames)
Deprecated. |
JDFRunList |
addSepRun(VElement fileSpec,
Vector sepNames,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(VElement fileSpec,
Vector sepNames,
int first)
Deprecated. |
JDFRunList |
addSepRun(VElement fileSpec,
Vector sepNames,
int first,
boolean pageMajor)
Deprecated. |
JDFRunList |
addSepRun(VElement fileSpec,
Vector sepNames,
int first,
int n)
Deprecated. |
JDFRunList |
addSepRun(VElement fileSpec,
Vector sepNames,
int first,
int n,
boolean pageMajor)
Deprecated. 060503 use the version with VString VString |
void |
collapse(boolean bCollapseToNode,
boolean bCollapseElements)
collapse all redundant attributes and elements |
void |
expand(boolean bDeleteFromNode)
Expand so that each leaf is complete (except for ID) |
void |
fixNPage()
write NPage into all leaves with IsPage=true and write the appropriate value into the lower level nodes |
HashMap<String,VJDFAttributeMap> |
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 |
String |
getFileMimeType()
get RunList/LayoutElement/FileSpec/@MimeType |
JDFFileSpec |
getFileSpec()
get RunList/LayoutElement/FileSpec |
String |
getFileURL()
get RunList/LayoutElement/FileSpec/@URL also evaluate RunList/@directory and concatinate Directory + URL in case URL is a relative URL |
int |
getFirstIndex()
gets the first logical RunIndex for this partition |
protected int |
getFirstIndex(JDFRunList.JDFRunData last)
gets the first logical RunIndex for this partition |
Vector<JDFResource.EnumPartIDKey> |
getImplicitPartitions()
get a list of all partition keys that this resource may be implicitly partitioned by e.g. |
JDFRunList |
getIndexPartition(int index)
get the Partition that corresponds to a given runIndex |
int |
getLastIndex()
gets the last logical RunIndex for this partition |
protected int |
getLastIndex(JDFRunList.JDFRunData last)
gets the last logical RunIndex for this partition |
int |
getNPage()
(15) get int attribute NPage |
int |
getPageInFile(int runIndex)
get the 0 based page number in the specified file |
Iterator<JDFRunList.JDFRunData> |
getPageIterator()
|
VElement |
getPageLeaves()
get the list of RunList Leaves with IsPage=true |
JDFIntegerRangeList |
getPageListIndex()
get the pageListIndex with a reasonable def for number of pages first try the pagelist, then do for local npage |
JDFIntegerRangeList |
getPages()
(20) get JDFIntegerRangeList attribute Pages |
protected AttributeInfo |
getTheAttributeInfo()
|
JDFRunList |
getTruePage()
get the first matching parent or this with IsPage==true |
boolean |
isPageLeaf()
get the first matching parent or this with IsPage==true |
boolean |
setFileURL(String url)
set RunList/LayoutElement/FileSpec/@URL |
void |
setPages(JDFIntegerRangeList value)
(36) set attribute Pages |
String |
toString()
toString |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
|---|
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods 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, setUserData |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods 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 Detail |
|---|
public JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
throws DOMException
myOwnerDocument - qualifiedName -
DOMException
public JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
throws DOMException
myOwnerDocument - myNamespaceURI - qualifiedName -
DOMException
public JDFRunList(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
throws DOMException
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName -
DOMException| Method Detail |
|---|
protected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo in class JDFAutoRunListpublic String toString()
toString in class JDFAutoRunListObject.toString()@Deprecated public JDFRunList addRun(String fileName)
fileName -
@Deprecated
public JDFRunList addRun(String fileName,
int first)
fileName - first -
public JDFRunList addRun(String fileName,
int first,
int last)
fileName - first - last -
@Deprecated public JDFRunList addPDF(String fileName)
fileName -
@Deprecated
public JDFRunList addPDF(String fileName,
int first)
fileName - first -
public JDFRunList addPDF(String fileName,
int first,
int last)
fileName - the URL (!) of the filefirst - 0 based first page in the filelast - 0 based last page in the file
@Deprecated
public JDFRunList addSepRun(Vector fileNames,
Vector sepNames)
fileNames - sepNames -
@Deprecated
public JDFRunList addSepRun(Vector fileNames,
Vector sepNames,
int first)
fileNames - sepNames - first -
@Deprecated
public JDFRunList addSepRun(Vector fileNames,
Vector sepNames,
int first,
int n)
fileNames - sepNames - first - n -
@Deprecated
public JDFRunList addSepRun(Vector fileNames,
Vector sepNames,
int first,
boolean pageMajor)
fileNames - sepNames - first - pageMajor -
@Deprecated
public JDFRunList addSepRun(Vector fileNames,
Vector sepNames,
boolean pageMajor)
fileNames - sepNames - pageMajor -
public JDFRunList addSepRun(Vector fileNames,
Vector sepNames,
int first,
int n,
boolean pageMajor)
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
@Deprecated
public JDFRunList addSepRun(VElement fileSpec,
Vector sepNames)
fileSpec - sepNames -
@Deprecated
public JDFRunList addSepRun(VElement fileSpec,
Vector sepNames,
int first)
fileSpec - sepNames - first -
@Deprecated
public JDFRunList addSepRun(VElement fileSpec,
Vector sepNames,
int first,
int n)
fileSpec - sepNames - first - n -
@Deprecated
public JDFRunList addSepRun(VElement fileSpec,
Vector sepNames,
int first,
boolean pageMajor)
fileSpec - sepNames - first - pageMajor -
@Deprecated
public JDFRunList addSepRun(VElement fileSpec,
Vector sepNames,
boolean pageMajor)
fileSpec - sepNames - pageMajor -
@Deprecated
public JDFRunList addSepRun(VElement fileSpec,
Vector sepNames,
int first,
int n,
boolean pageMajor)
fileSpec - sepNames - first - n - pageMajor -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames)
fileSpec - sepNames -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first)
fileSpec - sepNames - first -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first,
int n)
fileSpec - sepNames - first - n -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first,
boolean pageMajor)
fileSpec - sepNames - first - pageMajor -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
boolean pageMajor)
fileSpec - sepNames - pageMajor -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
String sep)
fileSpec - sepNames - sep -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first,
String sep)
fileSpec - sepNames - first - sep -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first,
int n,
String sep)
fileSpec - sepNames - first - n - sep -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first,
boolean pageMajor,
String sep)
fileSpec - sepNames - first - pageMajor - sep -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
boolean pageMajor,
String sep)
fileSpec - sepNames - pageMajor - sep -
@Deprecated
public JDFRunList addSepRun(JDFResource fileSpec,
String sepNames,
int first,
int n,
boolean pageMajor,
String sep)
fileSpec - sepNames - first - n - pageMajor - sep -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames)
fileNames - sepNames -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first)
fileNames - sepNames - first -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first,
int n)
fileNames - sepNames - first - n -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first,
boolean pageMajor)
fileNames - sepNames - first - pageMajor -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
boolean pageMajor)
fileNames - sepNames - pageMajor -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
String sep)
fileNames - sepNames - sep -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first,
String sep)
fileNames - sepNames - first - sep -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first,
int n,
String sep)
fileNames - sepNames - first - n - sep -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first,
boolean pageMajor,
String sep)
fileNames - sepNames - first - pageMajor - sep -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
boolean pageMajor,
String sep)
fileNames - sepNames - pageMajor - sep -
@Deprecated
public JDFRunList addSepRun(String fileNames,
String sepNames,
int first,
int n,
boolean pageMajor,
String sep)
fileNames - sepNames - first - n - pageMajor - sep -
public boolean setFileURL(String url)
url - the url to set
public String getFileURL()
public void setPages(JDFIntegerRangeList value)
setPages in class JDFAutoRunListvalue - : the value to set the attribute topublic String getFileMimeType()
public JDFFileSpec getFileSpec()
public HashMap<String,VJDFAttributeMap> getCommonURLFileSpecMap()
public Vector<JDFResource.EnumPartIDKey> getImplicitPartitions()
getImplicitPartitions in class JDFResourcepublic Iterator<JDFRunList.JDFRunData> getPageIterator()
public int getFirstIndex()
protected int getFirstIndex(JDFRunList.JDFRunData last)
last -
public VElement getPageLeaves()
public int getLastIndex()
protected int getLastIndex(JDFRunList.JDFRunData last)
last -
public int getNPage()
JDFAutoRunList
getNPage in class JDFAutoRunListJDFAutoRunList.getNPage()public JDFRunList getIndexPartition(int index)
index - the runIndex to search for
public int getPageInFile(int runIndex)
runIndex -
public void collapse(boolean bCollapseToNode,
boolean bCollapseElements)
collapse in class JDFResourcebCollapseToNode - only collapse redundant attriutes and elements that pre-exist in the nodesbCollapseElements - if true, collapse elements, else only collapse attributespublic void expand(boolean bDeleteFromNode)
JDFResource
expand in class JDFResourcebDeleteFromNode - if true, removes all intermediate elements and attributesJDFResource.expand(boolean)public void fixNPage()
public JDFRunList getTruePage()
public boolean isPageLeaf()
public JDFIntegerRangeList getPages()
JDFAutoRunList
getPages in class JDFAutoRunListJDFAutoRunList.getPages()public JDFIntegerRangeList getPageListIndex()
getPageListIndex in class JDFAutoRunListJDFAutoRunList.getPageListIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||