|
fop 2.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.PDFEmbeddedFileAttachment
public class PDFEmbeddedFileAttachment
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, PREFIX |
Constructor Summary | |
---|---|
PDFEmbeddedFileAttachment()
No-argument contructor. |
|
PDFEmbeddedFileAttachment(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 |
---|
getPrefix |
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 PDFEmbeddedFileAttachment()
public PDFEmbeddedFileAttachment(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 fileMethod 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 ExtensionAttachment
getCategory
in class PDFExtensionAttachment
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String getElement()
public void toSAX(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |