org.cip4.jdflib.resource.process
Class JDFRunList.JDFRunData

java.lang.Object
  extended by org.cip4.jdflib.resource.process.JDFRunList.JDFRunData
Enclosing class:
JDFRunList

public class JDFRunList.JDFRunData
extends Object

class that abstracts a RunList Partition so that you can efficiently access the File using RunIndex as a marker


Field Summary
protected  int firstIndex
           
protected  int lastIndex
           
protected  int runIndex
           
protected  JDFRunList runList
           
 
Constructor Summary
protected JDFRunList.JDFRunData()
          null constructor
  JDFRunList.JDFRunData(JDFRunList.JDFRunData other)
          copy constructor
 
Method Summary
 int getFirstIndex()
           
 int getLastIndex()
           
 int getPageInFile()
          get the 0 based page number in the file specified by RunList/@URL
 int getRunIndex()
           
 JDFRunList getRunList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runList

protected JDFRunList runList

runIndex

protected int runIndex

firstIndex

protected int firstIndex

lastIndex

protected int lastIndex
Constructor Detail

JDFRunList.JDFRunData

public JDFRunList.JDFRunData(JDFRunList.JDFRunData other)
copy constructor

Parameters:
other - the JDFRunIndex object to clone

JDFRunList.JDFRunData

protected JDFRunList.JDFRunData()
null constructor

Method Detail

getPageInFile

public int getPageInFile()
get the 0 based page number in the file specified by RunList/@URL

Returns:
the page number in the file; -1 if out of range

getLastIndex

public int getLastIndex()
Returns:
the lastIndex

getRunIndex

public int getRunIndex()
Returns:
the runIndex

getRunList

public JDFRunList getRunList()
Returns:
the runList

getFirstIndex

public int getFirstIndex()
Returns:
the firstIndex


Copyright © 2013. All Rights Reserved.