|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.pdf.PDFObject | +--org.apache.fop.pdf.PDFAnnotList
class representing an object which is a list of annotations. This PDF object is a list of references to /Annot objects. So far we are dealing only with links.
Field Summary | |
protected int |
count
the number of /Annot objects |
protected java.util.ArrayList |
links
the /Annot objects |
Fields inherited from class org.apache.fop.pdf.PDFObject |
generation, number |
Constructor Summary | |
PDFAnnotList(int number)
create a /Annots object. |
Method Summary | |
void |
addLink(PDFLink link)
add an /Annot object of /Subtype /Link. |
int |
getCount()
get the count of /Annot objects |
byte[] |
toPDF()
represent the object in PDF |
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, output, referencePDF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.ArrayList links
protected int count
Constructor Detail |
public PDFAnnotList(int number)
number
- the object's numberMethod Detail |
public void addLink(PDFLink link)
link
- the PDFLink to add.public int getCount()
public byte[] toPDF()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |