Class DocumentType
- java.lang.Object
-
- net.webpdf.parameter.schema.extraction.info.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentType.AnnotationsJava class for anonymous complex typestatic classDocumentType.AttachmentsJava class for anonymous complex typestatic classDocumentType.BackgroundsJava class for anonymous complex typestatic classDocumentType.FoldersJava class for anonymous complex typestatic classDocumentType.FormJava class for anonymous complex typestatic classDocumentType.HeadersFootersJava class for anonymous complex typestatic classDocumentType.ImagesJava class for anonymous complex typestatic classDocumentType.PagesJava class for anonymous complex typestatic classDocumentType.SignaturesJava class for anonymous complex typestatic classDocumentType.TransitionsJava class for anonymous complex type
-
Field Summary
Fields Modifier and Type Field Description protected DocumentType.Annotationsannotations<?protected DocumentType.Attachmentsattachments<?protected DocumentType.Backgroundsbackgrounds<?protected DocumentType.Foldersfolders<?protected DocumentType.Formform<?protected DocumentType.HeadersFootersheadersFooters<?protected DocumentType.Imagesimages<?protected InformationTypeinformationprotected DocumentType.Pagespages<?protected SecurityTypesecurityprotected DocumentType.Signaturessignatures<?protected DocumentType.Transitionstransitions<?
-
Constructor Summary
Constructors Constructor Description DocumentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentType.AnnotationsgetAnnotations()<?DocumentType.AttachmentsgetAttachments()<?DocumentType.BackgroundsgetBackgrounds()<?DocumentType.FoldersgetFolders()<?DocumentType.FormgetForm()<?DocumentType.HeadersFootersgetHeadersFooters()<?DocumentType.ImagesgetImages()<?InformationTypegetInformation()Gets the value of the information property.DocumentType.PagesgetPages()<?SecurityTypegetSecurity()Gets the value of the security property.DocumentType.SignaturesgetSignatures()<?DocumentType.TransitionsgetTransitions()<?voidsetAnnotations(DocumentType.Annotations value)Sets the value of the annotations property.voidsetAttachments(DocumentType.Attachments value)Sets the value of the attachments property.voidsetBackgrounds(DocumentType.Backgrounds value)Sets the value of the backgrounds property.voidsetFolders(DocumentType.Folders value)Sets the value of the folders property.voidsetForm(DocumentType.Form value)Sets the value of the form property.voidsetHeadersFooters(DocumentType.HeadersFooters value)Sets the value of the headersFooters property.voidsetImages(DocumentType.Images value)Sets the value of the images property.voidsetInformation(InformationType value)Sets the value of the information property.voidsetPages(DocumentType.Pages value)Sets the value of the pages property.voidsetSecurity(SecurityType value)Sets the value of the security property.voidsetSignatures(DocumentType.Signatures value)Sets the value of the signatures property.voidsetTransitions(DocumentType.Transitions value)Sets the value of the transitions property.
-
-
-
Field Detail
-
information
protected InformationType information
-
security
protected SecurityType security
-
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>
-
-
Method Detail
-
getInformation
public InformationType getInformation()
Gets the value of the information property.- Returns:
- possible object is
InformationType
-
setInformation
public void setInformation(InformationType value)
Sets the value of the information property.- Parameters:
value- allowed object isInformationType
-
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 isSecurityType
-
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
-
setAttachments
public void setAttachments(DocumentType.Attachments value)
Sets the value of the attachments property.- Parameters:
value- allowed object isDocumentType.Attachments- See Also:
getAttachments()
-
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
-
setPages
public void setPages(DocumentType.Pages value)
Sets the value of the pages property.- Parameters:
value- allowed object isDocumentType.Pages- See Also:
getPages()
-
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
-
setForm
public void setForm(DocumentType.Form value)
Sets the value of the form property.- Parameters:
value- allowed object isDocumentType.Form- See Also:
getForm()
-
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
-
setAnnotations
public void setAnnotations(DocumentType.Annotations value)
Sets the value of the annotations property.- Parameters:
value- allowed object isDocumentType.Annotations- See Also:
getAnnotations()
-
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
-
setSignatures
public void setSignatures(DocumentType.Signatures value)
Sets the value of the signatures property.- Parameters:
value- allowed object isDocumentType.Signatures- See Also:
getSignatures()
-
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
-
setBackgrounds
public void setBackgrounds(DocumentType.Backgrounds value)
Sets the value of the backgrounds property.- Parameters:
value- allowed object isDocumentType.Backgrounds- See Also:
getBackgrounds()
-
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
-
setHeadersFooters
public void setHeadersFooters(DocumentType.HeadersFooters value)
Sets the value of the headersFooters property.- Parameters:
value- allowed object isDocumentType.HeadersFooters- See Also:
getHeadersFooters()
-
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
-
setTransitions
public void setTransitions(DocumentType.Transitions value)
Sets the value of the transitions property.- Parameters:
value- allowed object isDocumentType.Transitions- See Also:
getTransitions()
-
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
-
setImages
public void setImages(DocumentType.Images value)
Sets the value of the images property.- Parameters:
value- allowed object isDocumentType.Images- See Also:
getImages()
-
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
-
setFolders
public void setFolders(DocumentType.Folders value)
Sets the value of the folders property.- Parameters:
value- allowed object isDocumentType.Folders- See Also:
getFolders()
-
-