public class FDFAnnotationStamp extends FDFAnnotation
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
static java.lang.String |
SUBTYPE
COS Model value for SubType entry.
|
annot
Constructor and Description |
---|
FDFAnnotationStamp()
Default constructor.
|
FDFAnnotationStamp(COSDictionary a)
Constructor.
|
FDFAnnotationStamp(org.w3c.dom.Element element)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private COSArray |
parseArrayElement(org.w3c.dom.Element arrayEl) |
private COSDictionary |
parseDictElement(org.w3c.dom.Element dictEl) |
private COSDictionary |
parseStampAnnotationAppearanceXML(org.w3c.dom.Element appearanceXML)
This will create an Appearance dictionary from an appearance XML document.
|
private COSStream |
parseStreamElement(org.w3c.dom.Element streamEl) |
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
private static final org.apache.commons.logging.Log LOG
public static final java.lang.String SUBTYPE
public FDFAnnotationStamp()
public FDFAnnotationStamp(COSDictionary a)
a
- An existing FDF Annotation.public FDFAnnotationStamp(org.w3c.dom.Element element) throws java.io.IOException
element
- An XFDF element.java.io.IOException
- If there is an error extracting information from the element.private COSDictionary parseStampAnnotationAppearanceXML(org.w3c.dom.Element appearanceXML) throws java.io.IOException
fdfXML
- The XML document that contains the appearance data.java.io.IOException
private COSStream parseStreamElement(org.w3c.dom.Element streamEl) throws java.io.IOException
java.io.IOException
private COSArray parseArrayElement(org.w3c.dom.Element arrayEl) throws java.io.IOException
java.io.IOException
private COSDictionary parseDictElement(org.w3c.dom.Element dictEl) throws java.io.IOException
java.io.IOException