Class FDFAnnotationStamp

  • All Implemented Interfaces:
    COSObjectable

    public class FDFAnnotationStamp
    extends FDFAnnotation
    This represents a Stamp FDF annotation.
    • Field Detail

      • LOG

        private static final org.apache.commons.logging.Log LOG
      • SUBTYPE

        public static final java.lang.String SUBTYPE
        COS Model value for SubType entry.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FDFAnnotationStamp

        public FDFAnnotationStamp()
        Default constructor.
      • FDFAnnotationStamp

        public FDFAnnotationStamp​(COSDictionary a)
        Constructor.
        Parameters:
        a - An existing FDF Annotation.
      • FDFAnnotationStamp

        public FDFAnnotationStamp​(org.w3c.dom.Element element)
                           throws java.io.IOException
        Constructor.
        Parameters:
        element - An XFDF element.
        Throws:
        java.io.IOException - If there is an error extracting information from the element.
    • Method Detail

      • parseStampAnnotationAppearanceXML

        private COSDictionary parseStampAnnotationAppearanceXML​(org.w3c.dom.Element appearanceXML)
                                                         throws java.io.IOException
        This will create an Appearance dictionary from an appearance XML element.
        Parameters:
        appearanceXML - The XML element that contains the appearance data.
        Throws:
        java.io.IOException
      • parseStreamElement

        private COSStream parseStreamElement​(org.w3c.dom.Element streamEl)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseArrayElement

        private COSArray parseArrayElement​(org.w3c.dom.Element arrayEl)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDictElement

        private COSDictionary parseDictElement​(org.w3c.dom.Element dictEl)
                                        throws java.io.IOException
        Throws:
        java.io.IOException