|
fop 0.94 | |||||||||
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 |
---|
DATE_FORMAT, 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()
|
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 |
java.lang.String |
toKeyValuePair()
Creates the key/value pair for this destination entry for the name tree. |
protected java.lang.String |
toPDFString()
This method returns a String representation of the PDF object. |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF |
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 java.lang.String toKeyValuePair()
protected java.lang.String toPDFString()
PDFObject
toPDFString
in class PDFObject
PDFObject.toPDFString()
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
Object.hashCode()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |