Lines Matching defs:xmp
10 package com.adobe.xmp.impl;
17 import com.adobe.xmp.XMPConst;
18 import com.adobe.xmp.XMPDateTime;
19 import com.adobe.xmp.XMPError;
20 import com.adobe.xmp.XMPException;
21 import com.adobe.xmp.XMPMeta;
22 import com.adobe.xmp.XMPMetaFactory;
23 import com.adobe.xmp.XMPUtils;
24 import com.adobe.xmp.impl.xpath.XMPPath;
25 import com.adobe.xmp.impl.xpath.XMPPathParser;
26 import com.adobe.xmp.options.ParseOptions;
27 import com.adobe.xmp.options.PropertyOptions;
28 import com.adobe.xmp.properties.XMPAliasInfo;
55 * @param xmp the raw metadata object
60 static XMPMeta process(XMPMetaImpl xmp, ParseOptions options) throws XMPException
62 XMPNode tree = xmp.getRoot();
64 touchUpDataModel(xmp);
71 return xmp;
76 * Tweak old XMP: Move an instance ID from rdf:about to the
124 * @param xmp the metadata object implementation
127 private static void touchUpDataModel(XMPMetaImpl xmp) throws XMPException
131 XMPNodeUtils.findSchemaNode(xmp.getRoot(), XMPConst.NS_DC, true);
134 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();)
160 migrateAudioCopyright(xmp, dmCopyright);
177 * Undo the denormalization performed by the XMP used in Acrobat 5.<br>
288 * @throws XMPException Forwards XMP errors
415 * @throws XMPException Forwards XMP errors
519 * @throws XMPException Forwards XMP errors
587 * @param xmp the metadata object
590 private static void migrateAudioCopyright (XMPMeta xmp, XMPNode dmCopyright)
595 ((XMPMetaImpl) xmp).getRoot(), XMPConst.NS_DC, true);
606 xmp.setLocalizedText(XMPConst.NS_DC, "rights", "", XMPConst.X_DEFAULT, dmValue,
617 xmp.setLocalizedText (XMPConst.NS_DC, "rights", "", XMPConst.X_DEFAULT,