com.adobe.epubcheck.ctc.epubpackage.PackageSpine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epubcheck Show documentation
Show all versions of epubcheck Show documentation
EPUBCheck is a tool to validate the conformance of EPUB publications against
the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used
as a Java library.
package com.adobe.epubcheck.ctc.epubpackage;
import java.util.Vector;
/**
* === WARNING ==========================================
* This class is scheduled to be refactored and integrated
* in another package.
* Please keep changes minimal (bug fixes only) until then.
* ========================================================
*/
public class PackageSpine
{
private String toc;
private String id;
private String pageProgressionDirection;
private final Vector items = new Vector();
public Vector getItems()
{
return items;
}
public int itemsLength()
{
return items.size();
}
public void addItem(SpineItem mi)
{
items.add(mi);
}
public SpineItem getItem(int i)
{
return items.get(i);
}
public String getToc()
{
return toc;
}
public void setToc(String toc)
{
this.toc = toc;
}
public String getId()
{
return id;
}
public void setId(String id)
{
this.id = id;
}
public String getPageProgressionDirection()
{
return pageProgressionDirection;
}
public void setPageProgressionDirection(String pageProgressionDirection)
{
this.pageProgressionDirection = pageProgressionDirection;
}
}