|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.pdf.extensions.PDFExtensionAttachment
org.apache.fop.render.pdf.extensions.PDFEmbeddedFileExtensionAttachment
public class PDFEmbeddedFileExtensionAttachment
This is the pass-through value object for the PDF extension.
| Field Summary | |
|---|---|
protected static java.lang.String |
ELEMENT
element name |
| Fields inherited from class org.apache.fop.render.pdf.extensions.PDFExtensionAttachment |
|---|
CATEGORY |
| Constructor Summary | |
|---|---|
PDFEmbeddedFileExtensionAttachment()
No-argument contructor. |
|
PDFEmbeddedFileExtensionAttachment(java.lang.String filename,
java.lang.String src,
java.lang.String desc)
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCategory()
This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object. |
java.lang.String |
getDesc()
Returns the file description. |
protected java.lang.String |
getElement()
|
java.lang.String |
getFilename()
Returns the file name. |
java.lang.String |
getSrc()
Returns the source URI of the file. |
void |
setDesc(java.lang.String desc)
Sets the description of the file. |
void |
setFilename(java.lang.String name)
Sets the file name. |
void |
setSrc(java.lang.String src)
Sets the source URI of the file. |
void |
toSAX(org.xml.sax.ContentHandler handler)
|
java.lang.String |
toString()
|
| Methods inherited from class org.apache.fop.render.pdf.extensions.PDFExtensionAttachment |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String ELEMENT
| Constructor Detail |
|---|
public PDFEmbeddedFileExtensionAttachment()
public PDFEmbeddedFileExtensionAttachment(java.lang.String filename,
java.lang.String src,
java.lang.String desc)
filename - the name of the filesrc - the location of the filedesc - the description of the file| Method Detail |
|---|
public java.lang.String getFilename()
public void setFilename(java.lang.String name)
name - The file name to set.public java.lang.String getDesc()
public void setDesc(java.lang.String desc)
desc - the description to setpublic java.lang.String getSrc()
public void setSrc(java.lang.String src)
src - the source URIpublic java.lang.String getCategory()
getCategory in interface ExtensionAttachmentgetCategory in class PDFExtensionAttachmentExtensionAttachment.getCategory()public java.lang.String toString()
toString in class PDFExtensionAttachmentObject.toString()protected java.lang.String getElement()
getElement in class PDFExtensionAttachment
public void toSAX(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||