public class PDFEmbeddedFileAttachment extends PDFExtensionAttachment
Modifier and Type | Field and Description |
---|---|
protected static String |
ELEMENT
element name
|
CATEGORY, PREFIX
Constructor and Description |
---|
PDFEmbeddedFileAttachment()
No-argument contructor.
|
PDFEmbeddedFileAttachment(String filename,
String src,
String desc)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
This method returns a category URI that allows a processor (layout manager or renderer)
to determine if it supports this object.
|
String |
getDesc()
Returns the file description.
|
protected String |
getElement() |
String |
getFilename()
Returns the file name.
|
String |
getSrc()
Returns the source URI of the file.
|
String |
getUnicodeFilename()
Returns the unicode file name.
|
void |
setDesc(String desc)
Sets the description of the file.
|
void |
setFilename(String name)
Sets the file name.
|
void |
setSrc(String src)
Sets the source URI of the file.
|
void |
toSAX(ContentHandler handler) |
String |
toString() |
getPrefix
protected static final String ELEMENT
public PDFEmbeddedFileAttachment()
public String getFilename()
public String getUnicodeFilename()
public void setFilename(String name)
name
- The file name to set.public String getDesc()
public void setDesc(String desc)
desc
- the description to setpublic String getSrc()
public void setSrc(String src)
src
- the source URIpublic String getCategory()
getCategory
in interface ExtensionAttachment
getCategory
in class PDFExtensionAttachment
protected String getElement()
public void toSAX(ContentHandler handler) throws SAXException
SAXException
Copyright © 2025 Apache Software Foundation. All rights reserved.