## Uses of Class
org.apache.pdfbox.cos.COSDocument

Packages that use COSDocument
org.apache.pdfbox.cos: These are the low level objects that make up a PDF document.
org.apache.pdfbox.pdfparser: The pdfparser package contains classes to parse PDF documents and objects within the document.
org.apache.pdfbox.pdfwriter: This is the persistence layer used to write the PDFBox documents to a stream.
org.apache.pdfbox.pdmodel: The PDModel package represents a high level API for creating and manipulating PDF documents.
org.apache.pdfbox.pdmodel.common: High level PD classes that are used throughout several packages are placed in the PDModel common package.
org.apache.pdfbox.pdmodel.fdf: The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.
org.apache.pdfbox.pdmodel.interactive.digitalsignature: The digital signature library will manage signatures that are stored in the PDF document.
org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible: This is the visual signature part that help creating the visual representation for the digital signature.

### Uses of COSDocument in org.apache.pdfbox.cos

Methods in org.apache.pdfbox.cos with parameters of type COSDocument
`void` ICOSVisitor.`visitFromDocument(COSDocument obj)` Notification of visit to document object.

### Uses of COSDocument in org.apache.pdfbox.pdfparser

Fields in org.apache.pdfbox.pdfparser declared as COSDocument
`protected COSDocument` BaseParser.`document` This is the document that will be parsed.

Constructors in org.apache.pdfbox.pdfparser with parameters of type COSDocument
Constructor and Description
`BruteForceParser(org.apache.pdfbox.io.RandomAccessRead source, COSDocument document)` Constructor.
`PDFObjectStreamParser(COSStream stream, COSDocument document)` Constructor.
`PDFXRefStream(COSDocument cosDocument)` Create a fresh XRef stream like for a fresh file or an incremental update.
`PDFXrefStreamParser(COSStream stream, COSDocument document)` Constructor.

### Uses of COSDocument in org.apache.pdfbox.pdfwriter

Methods in org.apache.pdfbox.pdfwriter with parameters of type COSDocument
`protected void` COSWriter.`doWriteBody(COSDocument doc)` This will write the body of the document.
`protected void` COSWriter.`doWriteHeader(COSDocument doc)` This will write the header to the PDF document.
`protected void` COSWriter.`doWriteTrailer(COSDocument doc)` This will write the trailer to the PDF document.
`void` COSWriter.`visitFromDocument(COSDocument doc)`
`void` COSWriter.`write(COSDocument doc)` This will write the pdf document.

### Uses of COSDocument in org.apache.pdfbox.pdmodel

Methods in org.apache.pdfbox.pdmodel that return COSDocument
`COSDocument` PDDocument.`getDocument()` This will get the low level document.

Constructors in org.apache.pdfbox.pdmodel with parameters of type COSDocument
Constructor and Description
`PDDocument(COSDocument doc)` Constructor that uses an existing document.
`PDDocument(COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source)` Constructor that uses an existing document.
`PDDocument(COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source, AccessPermission permission)` Constructor that uses an existing document.

### Uses of COSDocument in org.apache.pdfbox.pdmodel.common

Constructors in org.apache.pdfbox.pdmodel.common with parameters of type COSDocument
Constructor and Description
`PDStream(COSDocument document)` Creates a new empty PDStream object.

### Uses of COSDocument in org.apache.pdfbox.pdmodel.fdf

Methods in org.apache.pdfbox.pdmodel.fdf that return COSDocument
`COSDocument` FDFDocument.`getDocument()` This will get the low level document.

Constructors in org.apache.pdfbox.pdmodel.fdf with parameters of type COSDocument
Constructor and Description
`FDFDocument(COSDocument doc)` Deprecated. Use `FDFDocument(COSDocument, RandomAccessRead)`
`FDFDocument(COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source)` Constructor that uses an existing document.

### Uses of COSDocument in org.apache.pdfbox.pdmodel.interactive.digitalsignature

Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature that return COSDocument
`COSDocument` SignatureOptions.`getVisualSignature()` Get the visual signature.

### Uses of COSDocument in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible

Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible that return COSDocument
`COSDocument` PDFTemplateStructure.`getVisualSignature()` Gets COSDocument of visible Signature.

Methods in org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible with parameters of type COSDocument
`void` PDFTemplateStructure.`setVisualSignature(COSDocument visualSignature)` Sets COSDocument of visible Signature.