public class Chapter extends Object implements Comparable<Chapter>
| Constructor and Description |
|---|
Chapter() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Chapter o) |
Link |
getHref()
A link providing additional information for this chapter.
|
Image |
getImage()
An image associated with this chapter.
|
long |
getStart()
The number of milliseconds into the media this chapter starts.
|
String |
getTitle()
The title of this chaper.
|
void |
setHref(Link href) |
void |
setImage(Image image) |
void |
setStart(long start) |
void |
setTitle(String title) |
String |
toString() |
public long getStart()
The number of milliseconds into the media this chapter starts.
Required in Simple Chapters namespaces specification.
longpublic void setStart(long start)
public String getTitle()
The title of this chaper.
Required in Simple Chapters namespaces specification.
String, or nullpublic void setTitle(String title)
public Link getHref()
A link providing additional information for this chapter.
Optional in Simple Chapters namespaces specification.
Link, or nullpublic void setHref(Link href)
public Image getImage()
An image associated with this chapter.
Optional in Simple Chapters namespaces specification.
Image, or nullpublic void setImage(Image image)
public int compareTo(Chapter o)
compareTo in interface Comparable<Chapter>Copyright © 2018. All rights reserved.