Class DocumentType


  • public class DocumentType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">A document element that describes the content and properties of the PDF document as metadata.</p>
     

    Java class for document element declaration

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <element name="document">
       <complexType>
         <complexContent>
           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             <sequence>
               <element name="information" type="{http://schema.webpdf.de/1.0/extraction/info}InformationType"/>
               <element name="security" type="{http://schema.webpdf.de/1.0/extraction/info}SecurityType"/>
               <element name="attachments" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="attachment" type="{http://schema.webpdf.de/1.0/extraction/info}AttachmentType" maxOccurs="unbounded" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="pages" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="page" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <extension base="{http://schema.webpdf.de/1.0/extraction/info}PageType">
                                 <sequence>
                                   <element name="boxes" type="{http://schema.webpdf.de/1.0/extraction/info}BoxesType"/>
                                 </sequence>
                               </extension>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="form" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="field" type="{http://schema.webpdf.de/1.0/extraction/info}FieldType" maxOccurs="unbounded" minOccurs="0"/>
                       </sequence>
                       <attribute name="objectKey" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                       <attribute name="formType" type="{http://schema.webpdf.de/1.0/extraction/info}FormsFormatType" default="none" />
                       <attribute name="defaultAppearance" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                       <attribute name="needAppearances" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="annotations" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <choice maxOccurs="unbounded" minOccurs="0">
                         <element name="annotation" type="{http://schema.webpdf.de/1.0/extraction/info}AnnotationType"/>
                       </choice>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="signatures" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <choice maxOccurs="unbounded" minOccurs="0">
                         <element name="signature" type="{http://schema.webpdf.de/1.0/extraction/info}SignatureType"/>
                       </choice>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="backgrounds" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <choice maxOccurs="unbounded" minOccurs="0">
                         <element name="background" type="{http://schema.webpdf.de/1.0/extraction/info}BackgroundContentType"/>
                       </choice>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="headersFooters" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <choice maxOccurs="unbounded" minOccurs="0">
                         <element name="headerFooter" type="{http://schema.webpdf.de/1.0/extraction/info}HeaderFooterType"/>
                       </choice>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="transitions" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <choice maxOccurs="unbounded" minOccurs="0">
                         <element name="transition" type="{http://schema.webpdf.de/1.0/extraction/info}TransitionType"/>
                       </choice>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="images" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <choice maxOccurs="unbounded" minOccurs="0">
                         <element name="image" type="{http://schema.webpdf.de/1.0/extraction/info}ImageType"/>
                       </choice>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="folders" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence maxOccurs="unbounded" minOccurs="0">
                         <element name="folder" type="{http://schema.webpdf.de/1.0/extraction/info}FolderType"/>
                       </sequence>
                       <attribute name="initialFile" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </sequence>
           </restriction>
         </complexContent>
       </complexType>
     </element>
     
    • Field Detail

      • attachments

        protected DocumentType.Attachments attachments
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the attachments embedded into this document.</p>
         
      • pages

        protected DocumentType.Pages pages
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists and describes the properties of the document's pages.</p>
         
      • form

        protected DocumentType.Form form
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Describes the properties of the document's form. (Should the document contain a form.)</p>
         
      • annotations

        protected DocumentType.Annotations annotations
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the annotations, that have been found in the document.</p>
         
      • signatures

        protected DocumentType.Signatures signatures
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists a document's signatures.</p>
         
      • backgrounds

        protected DocumentType.Backgrounds backgrounds
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the background definitions for pages of the document.</p>
         
      • headersFooters

        protected DocumentType.HeadersFooters headersFooters
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the header/footer definitions for pages of the document.</p>
         
      • transitions

        protected DocumentType.Transitions transitions
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the page transitions for the full screen mode of the document.</p>
         
      • images

        protected DocumentType.Images images
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the image resources used in the document.</p>
         
      • folders

        protected DocumentType.Folders folders
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the folders contained in a PDF collection (portfolio), that are used to structure the embedded attachments.</p>
         
    • Constructor Detail

      • DocumentType

        public DocumentType()
    • Method Detail

      • setInformation

        public void setInformation​(InformationType value)
        Sets the value of the information property.
        Parameters:
        value - allowed object is InformationType
      • isSetInformation

        public boolean isSetInformation()
      • getSecurity

        public SecurityType getSecurity()
        Gets the value of the security property.
        Returns:
        possible object is SecurityType
      • setSecurity

        public void setSecurity​(SecurityType value)
        Sets the value of the security property.
        Parameters:
        value - allowed object is SecurityType
      • isSetSecurity

        public boolean isSetSecurity()
      • getAttachments

        public DocumentType.Attachments getAttachments()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the attachments embedded into this document.</p>
         
        Returns:
        possible object is DocumentType.Attachments
      • isSetAttachments

        public boolean isSetAttachments()
      • getPages

        public DocumentType.Pages getPages()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists and describes the properties of the document's pages.</p>
         
        Returns:
        possible object is DocumentType.Pages
      • isSetPages

        public boolean isSetPages()
      • getForm

        public DocumentType.Form getForm()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Describes the properties of the document's form. (Should the document contain a form.)</p>
         
        Returns:
        possible object is DocumentType.Form
      • isSetForm

        public boolean isSetForm()
      • getAnnotations

        public DocumentType.Annotations getAnnotations()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the annotations, that have been found in the document.</p>
         
        Returns:
        possible object is DocumentType.Annotations
      • isSetAnnotations

        public boolean isSetAnnotations()
      • getSignatures

        public DocumentType.Signatures getSignatures()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists a document's signatures.</p>
         
        Returns:
        possible object is DocumentType.Signatures
      • isSetSignatures

        public boolean isSetSignatures()
      • getBackgrounds

        public DocumentType.Backgrounds getBackgrounds()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the background definitions for pages of the document.</p>
         
        Returns:
        possible object is DocumentType.Backgrounds
      • isSetBackgrounds

        public boolean isSetBackgrounds()
      • getHeadersFooters

        public DocumentType.HeadersFooters getHeadersFooters()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the header/footer definitions for pages of the document.</p>
         
        Returns:
        possible object is DocumentType.HeadersFooters
      • isSetHeadersFooters

        public boolean isSetHeadersFooters()
      • getTransitions

        public DocumentType.Transitions getTransitions()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the page transitions for the full screen mode of the document.</p>
         
        Returns:
        possible object is DocumentType.Transitions
      • isSetTransitions

        public boolean isSetTransitions()
      • getImages

        public DocumentType.Images getImages()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the image resources used in the document.</p>
         
        Returns:
        possible object is DocumentType.Images
      • isSetImages

        public boolean isSetImages()
      • getFolders

        public DocumentType.Folders getFolders()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists the folders contained in a PDF collection (portfolio), that are used to structure the embedded attachments.</p>
         
        Returns:
        possible object is DocumentType.Folders
      • isSetFolders

        public boolean isSetFolders()