COSDocument
COSDocumentは、Apache PDFBoxにおける基礎的なクラスであり、 ( Citation: N.A., 2020 (N.A.). (2020). Document management — Portable document format — Part 2: PDF 2.0 . International Organization for Standardization Retrieved from https://www.iso.org/standard/75839.html ) で定義されているCarousel Object Structure(COS)モデルを使用してPDFファイルの低レベル構造を表現します。このクラスは、辞書、配列、ストリーム、プリミティブ型を含むすべてのPDFオブジェクトを、未加工かつ未処理の形式でルートコンテナとして保持します。高レベルの解釈やセマンティック分析が行われる前の、内部PDF構造への直接アクセスを提供します。
COSDocumentは、 ( Citation: N.A., 2020 (N.A.). (2020). Document management — Portable document format — Part 2: PDF 2.0 . International Organization for Standardization Retrieved from https://www.iso.org/standard/75839.html ) で規定されているPDFファイルの基盤となるオブジェクトベースアーキテクチャであるCOS(Carousel Object Structure)レイヤーのApache PDFBoxにおけるJava実装です。PDDocument(PDFコンテンツのセマンティックでアプリケーション指向のビューを提供する)などの高レベルPDFBoxクラスとは異なり、COSDocumentは構文レベルで動作し、ファイル構造に現れる通りの生のPDFオブジェクトを扱います。
