Debian Codegraph @

src/com/adobe/internal/xmp/XMPConst.java

raw symbols SCIP
1 // =================================================================================================
2 // ADOBE SYSTEMS INCORPORATED
3 // Copyright 2006 Adobe Systems Incorporated
4 // All Rights Reserved
5 //
6 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
7 // of the Adobe license agreement accompanying it.
8 // =================================================================================================
9
10 package com.adobe.internal.xmp;
11
12
13 /**
14 * Common constants for the XMP Toolkit.
15 *
16 * @author Stefan Makswit
17 * @version $Revision$
18 * @since 20.01.2006
19 */
20 public interface XMPConst
21 {
22 // ---------------------------------------------------------------------------------------------
23 // Standard namespace URI constants
24
25
26 // Standard namespaces
27
28 /** The XML namespace for XML. */
29 String NS_XML = "http://www.w3.org/XML/1998/namespace";
30 /** The XML namespace for RDF. */
31 String NS_RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
32 /** The XML namespace for the Dublin Core schema. */
33 String NS_DC = "http://purl.org/dc/elements/1.1/";
34 /** The XML namespace for the IPTC Core schema. */
35 String NS_IPTCCORE = "http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/";
36 /** The XML namespace for the IPTC Extension schema. */
37 String NS_IPTCEXT = "http://iptc.org/std/Iptc4xmpExt/2008-02-29/";
38 /** The XML namespace for the DICOM medical schema. */
39 String NS_DICOM = "http://ns.adobe.com/DICOM/";
40 /** The XML namespace for the PLUS (Picture Licensing Universal System, http://www.useplus.org) */
41 String NS_PLUS = "http://ns.useplus.org/ldf/xmp/1.0/";
42
43 // Adobe standard namespaces
44
45 /** The XML namespace Adobe XMP Metadata. */
46 String NS_X = "adobe:ns:meta/";
47 /** */
48 String NS_IX = "http://ns.adobe.com/iX/1.0/";
49 /** The XML namespace for the XMP "basic" schema. */
50 String NS_XMP = "http://ns.adobe.com/xap/1.0/";
51 /** The XML namespace for the XMP copyright schema. */
52 String NS_XMP_RIGHTS = "http://ns.adobe.com/xap/1.0/rights/";
53 /** The XML namespace for the XMP digital asset management schema. */
54 String NS_XMP_MM = "http://ns.adobe.com/xap/1.0/mm/";
55 /** The XML namespace for the job management schema. */
56 String NS_XMP_BJ = "http://ns.adobe.com/xap/1.0/bj/";
57 /** The XML namespace for the job management schema. */
58 String NS_XMP_NOTE = "http://ns.adobe.com/xmp/note/";
59
60 /** The XML namespace for the PDF schema. */
61 String NS_PDF = "http://ns.adobe.com/pdf/1.3/";
62 /** The XML namespace for the PDF schema. */
63 String NS_PDFX = "http://ns.adobe.com/pdfx/1.3/";
64 /** */
65 String NS_PDFX_ID = "http://www.npes.org/pdfx/ns/id/";
66 /** */
67 String NS_PDFA_SCHEMA = "http://www.aiim.org/pdfa/ns/schema#";
68 /** */
69 String NS_PDFA_PROPERTY = "http://www.aiim.org/pdfa/ns/property#";
70 /** */
71 String NS_PDFA_TYPE = "http://www.aiim.org/pdfa/ns/type#";
72 /** */
73 String NS_PDFA_FIELD = "http://www.aiim.org/pdfa/ns/field#";
74 /** */
75 String NS_PDFA_ID = "http://www.aiim.org/pdfa/ns/id/";
76 /** */
77 String NS_PDFA_EXTENSION = "http://www.aiim.org/pdfa/ns/extension/";
78 /** The XML namespace for the Photoshop custom schema. */
79 String NS_PHOTOSHOP = "http://ns.adobe.com/photoshop/1.0/";
80 /** The XML namespace for the Photoshop Album schema. */
81 String NS_PSALBUM = "http://ns.adobe.com/album/1.0/";
82 /** The XML namespace for Adobe's EXIF schema. */
83 String NS_EXIF = "http://ns.adobe.com/exif/1.0/";
84 /** NS for the CIPA XMP for Exif document v1.1 */
85 String NS_EXIFX = "http://cipa.jp/exif/1.0/";
86 /** */
87 String NS_EXIF_AUX = "http://ns.adobe.com/exif/1.0/aux/";
88 /** The XML namespace for Adobe's TIFF schema. */
89 String NS_TIFF = "http://ns.adobe.com/tiff/1.0/";
90 /** */
91 String NS_PNG = "http://ns.adobe.com/png/1.0/";
92 /** */
93 String NS_JPEG = "http://ns.adobe.com/jpeg/1.0/";
94 /** */
95 String NS_JP2K = "http://ns.adobe.com/jp2k/1.0/";
96 /** */
97 String NS_CAMERARAW = "http://ns.adobe.com/camera-raw-settings/1.0/";
98 /** */
99 String NS_ADOBESTOCKPHOTO = "http://ns.adobe.com/StockPhoto/1.0/";
100 /** */
101 String NS_CREATOR_ATOM = "http://ns.adobe.com/creatorAtom/1.0/";
102 /** */
103 String NS_ASF = "http://ns.adobe.com/asf/1.0/";
104 /** */
105 String NS_WAV = "http://ns.adobe.com/xmp/wav/1.0/";
106 /** BExt Schema */
107 String NS_BWF = "http://ns.adobe.com/bwf/bext/1.0/";
108 /** RIFF Info Schema */
109 String NS_RIFFINFO = "http://ns.adobe.com/riff/info/";
110 /** */
111 String NS_SCRIPT = "http://ns.adobe.com/xmp/1.0/Script/";
112 /** Transform XMP */
113 String NS_TXMP = "http://ns.adobe.com/TransformXMP/";
114 /** Adobe Flash SWF */
115 String NS_SWF = "http://ns.adobe.com/swf/1.0/";
116
117 /** Adobe Creative Cloud Video */
118 String NS_CCV = "http://ns.adobe.com/ccv/1.0/";
119
120 // XMP namespaces that are Adobe private
121
122 /** */
123 String NS_DM = "http://ns.adobe.com/xmp/1.0/DynamicMedia/";
124 // <#AdobePrivate>
125 /** */
126 // The Plain XMP format is disabled
127 // String NS_PXMP = "http://ns.adobe.com/plain-xmp/1.0/";
128 // </#AdobePrivate>
129 /** */
130 String NS_TRANSIENT = "http://ns.adobe.com/xmp/transient/1.0/";
131 /** legacy Dublin Core NS, will be converted to NS_DC */
132 String NS_DC_DEPRECATED = "http://purl.org/dc/1.1/";
133
134
135 // XML namespace constants for qualifiers and structured property fields.
136
137 /** The XML namespace for qualifiers of the xmp:Identifier property. */
138 String TYPE_IDENTIFIERQUAL = "http://ns.adobe.com/xmp/Identifier/qual/1.0/";
139 /** The XML namespace for fields of the Dimensions type. */
140 String TYPE_DIMENSIONS = "http://ns.adobe.com/xap/1.0/sType/Dimensions#";
141 /** */
142 String TYPE_TEXT = "http://ns.adobe.com/xap/1.0/t/";
143 /** */
144 String TYPE_PAGEDFILE = "http://ns.adobe.com/xap/1.0/t/pg/";
145 /** */
146 String TYPE_GRAPHICS = "http://ns.adobe.com/xap/1.0/g/";
147 /** The XML namespace for fields of a graphical image. Used for the Thumbnail type. */
148 String TYPE_IMAGE = "http://ns.adobe.com/xap/1.0/g/img/";
149 /** */
150 String TYPE_FONT = "http://ns.adobe.com/xap/1.0/sType/Font#";
151 /** The XML namespace for fields of the ResourceEvent type. */
152 String TYPE_RESOURCEEVENT = "http://ns.adobe.com/xap/1.0/sType/ResourceEvent#";
153 /** The XML namespace for fields of the ResourceRef type. */
154 String TYPE_RESOURCEREF = "http://ns.adobe.com/xap/1.0/sType/ResourceRef#";
155 /** The XML namespace for fields of the Version type. */
156 String TYPE_ST_VERSION = "http://ns.adobe.com/xap/1.0/sType/Version#";
157 /** The XML namespace for fields of the JobRef type. */
158 String TYPE_ST_JOB = "http://ns.adobe.com/xap/1.0/sType/Job#";
159 /** */
160 String TYPE_MANIFESTITEM = "http://ns.adobe.com/xap/1.0/sType/ManifestItem#";
161
162
163
164 // ---------------------------------------------------------------------------------------------
165 // Basic types and constants
166
167 /**
168 * The canonical true string value for Booleans in serialized XMP. Code that converts from the
169 * string to a bool should be case insensitive, and even allow "1".
170 */
171 String TRUESTR = "True";
172 /**
173 * The canonical false string value for Booleans in serialized XMP. Code that converts from the
174 * string to a bool should be case insensitive, and even allow "0".
175 */
176 String FALSESTR = "False";
177 /** Index that has the meaning to be always the last item in an array. */
178 int ARRAY_LAST_ITEM = -1;
179 /** Node name of an array item. */
180 String ARRAY_ITEM_NAME = "[]";
181 /** The x-default string for localized properties */
182 String X_DEFAULT = "x-default";
183 /** xml:lang qualfifier */
184 String XML_LANG = "xml:lang";
185 /** rdf:type qualfifier */
186 String RDF_TYPE = "rdf:type";
187
188 /** Processing Instruction (PI) for xmp packet */
189 String XMP_PI = "xpacket";
190 /** XMP meta tag version new */
191 String TAG_XMPMETA = "xmpmeta";
192 /** XMP meta tag version old */
193 String TAG_XAPMETA = "xapmeta";
194 }