Package org.apache.pdfbox.pdmodel.fdf
Class FDFAnnotationStamp
java.lang.Object
org.apache.pdfbox.pdmodel.fdf.FDFAnnotation
org.apache.pdfbox.pdmodel.fdf.FDFAnnotationStamp
- All Implemented Interfaces:
COSObjectable
This represents a Stamp FDF annotation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.commons.logging.Log
static final String
COS Model value for SubType entry.Fields inherited from class org.apache.pdfbox.pdmodel.fdf.FDFAnnotation
annot
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor.FDFAnnotationStamp
(Element element) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate COSArray
parseArrayElement
(Element arrayEl) private COSDictionary
parseDictElement
(Element dictEl) private COSDictionary
parseStampAnnotationAppearanceXML
(Element appearanceXML) This will create an Appearance dictionary from an appearance XML element.private COSStream
parseStreamElement
(Element streamEl) Methods inherited from class org.apache.pdfbox.pdmodel.fdf.FDFAnnotation
create, getBorderEffect, getBorderStyle, getColor, getContents, getCOSObject, getCreationDate, getDate, getIntent, getName, getOpacity, getPage, getRectangle, getRichContents, getStringOrStream, getSubject, getTitle, isHidden, isInvisible, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setBorderEffect, setBorderStyle, setColor, setContents, setCreationDate, setDate, setHidden, setIntent, setInvisible, setLocked, setLockedContents, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPage, setPrinted, setReadOnly, setRectangle, setRichContents, setSubject, setTitle, setToggleNoView
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
SUBTYPE
COS Model value for SubType entry.- See Also:
-
-
Constructor Details
-
FDFAnnotationStamp
public FDFAnnotationStamp()Default constructor. -
FDFAnnotationStamp
Constructor.- Parameters:
a
- An existing FDF Annotation.
-
FDFAnnotationStamp
Constructor.- Parameters:
element
- An XFDF element.- Throws:
IOException
- If there is an error extracting information from the element.
-
-
Method Details
-
parseStampAnnotationAppearanceXML
This will create an Appearance dictionary from an appearance XML element.- Parameters:
appearanceXML
- The XML element that contains the appearance data.- Throws:
IOException
-
parseStreamElement
- Throws:
IOException
-
parseArrayElement
- Throws:
IOException
-
parseDictElement
- Throws:
IOException
-