1 | <?php |
||
41 | class Document |
||
42 | { |
||
43 | /** |
||
44 | * Original XMP XML data. |
||
45 | * |
||
46 | * @var DOMDocument $dom |
||
47 | */ |
||
48 | private $dom; |
||
49 | |||
50 | /** |
||
51 | * DublinCore schema properties found in the XMP document. |
||
52 | * |
||
53 | * @var DublinCoreProperties |
||
54 | */ |
||
55 | private $dublinCoreProperties; |
||
56 | |||
57 | /** |
||
58 | * Exif schema properties found in the XMP document. |
||
59 | * |
||
60 | * @var ExifProperties |
||
61 | */ |
||
62 | private $exifProperties; |
||
63 | |||
64 | /** |
||
65 | * Initializes the instance. |
||
66 | * |
||
67 | * @param DOMDocument $dom XMP document |
||
68 | */ |
||
69 | 1 | public function __construct(DOMDocument $dom) |
|
91 | |||
92 | /** |
||
93 | * Returns Dublin Core (DC) schema properties found in the document. |
||
94 | * |
||
95 | * @return DublinCoreProperties |
||
96 | */ |
||
97 | 1 | public function getDublinCoreProperties() |
|
101 | |||
102 | /** |
||
103 | * Returns EXIF schema properties found in the document. |
||
104 | * |
||
105 | * @return ExifProperties |
||
106 | */ |
||
107 | 1 | public function getExifProperties() |
|
111 | } |
||
112 |