|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDestination
public class PDFDestination
class representing a named destination
Field Summary |
---|
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
log |
Constructor Summary | |
---|---|
PDFDestination(java.lang.String idRef,
java.lang.Object goToRef)
Create a named destination |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Check if this equals another object. |
java.lang.Object |
getGoToReference()
Returns the GoToReference from the associated DestinationData object. |
java.lang.String |
getIDRef()
Returns the RefID from the associated DestinationData object. |
int |
hashCode()
|
int |
output(java.io.OutputStream stream)
Write the PDF represention of this object |
void |
setGoToReference(java.lang.Object goToReference)
Sets the GoToReference in the associated DestinationData object. |
void |
setGoToReference(java.lang.String goToReference)
Deprecated. use setGoToReference(Object) instead |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFDestination(java.lang.String idRef, java.lang.Object goToRef)
idRef
- ID Reference for this destination (the name of the destination)goToRef
- Object reference to the GoTo ActionMethod Detail |
---|
public int output(java.io.OutputStream stream) throws java.io.IOException
PDFObject
output
in class PDFObject
stream
- the stream to write the PDF to
java.io.IOException
- if there is an error writing to the stream@Deprecated public void setGoToReference(java.lang.String goToReference)
goToReference
- the reference to set in the associated DestinationData object.public void setGoToReference(java.lang.Object goToReference)
goToReference
- the reference to set in the associated DestinationData object.public java.lang.Object getGoToReference()
public java.lang.String getIDRef()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare
public int hashCode()
hashCode
in class java.lang.Object
|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |