/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPNormalizer.java | 62 XMPNode tree = xmp.getRoot(); in process() 88 private static void tweakOldXMP(XMPNode tree) throws XMPException in tweakOldXMP() 102 XMPNode idNode = XMPNodeUtils.findNode (tree, path, true, null); in tweakOldXMP() 136 XMPNode currSchema = (XMPNode) it.next(); in touchUpDataModel() 145 XMPNode arrayNode = XMPNodeUtils.findChildNode(currSchema, "exif:UserComment", in touchUpDataModel() 156 XMPNode dmCopyright = XMPNodeUtils.findChildNode(currSchema, "xmpDM:copyright", in touchUpDataModel() 165 XMPNode arrayNode = XMPNodeUtils.findChildNode(currSchema, "xmpRights:UsageTerms", in touchUpDataModel() 186 private static void normalizeDCArrays(XMPNode dcSchema) throws XMPException in normalizeDCArrays() 190 XMPNode currProp = dcSchema.getChild(i); in normalizeDCArrays() 201 XMPNode newArray = new XMPNode(currProp.getName(), arrayForm); in normalizeDCArrays() [all …]
|
D | XMPNode.java | 38 class XMPNode implements Comparable class 45 private XMPNode parent; 73 public XMPNode(String name, String value, PropertyOptions options) in XMPNode() method in XMPNode 87 public XMPNode(String name, PropertyOptions options) in XMPNode() method in XMPNode 109 public XMPNode getParent() in getParent() 119 public XMPNode getChild(int index) in getChild() 121 return (XMPNode) getChildren().get(index - 1); in getChild() 130 public void addChild(XMPNode node) throws XMPException in addChild() 147 public void addChild(int index, XMPNode node) throws XMPException in addChild() 161 public void replaceChild(int index, XMPNode node) in replaceChild() [all …]
|
D | XMPNodeUtils.java | 72 static XMPNode findSchemaNode(XMPNode tree, String namespaceURI, in findSchemaNode() 95 static XMPNode findSchemaNode(XMPNode tree, String namespaceURI, String suggestedPrefix, in findSchemaNode() 100 XMPNode schemaNode = tree.findChildByName(namespaceURI); in findSchemaNode() 104 schemaNode = new XMPNode(namespaceURI, in findSchemaNode() 147 static XMPNode findChildNode(XMPNode parent, String childName, boolean createNodes) in findChildNode() 168 XMPNode childNode = parent.findChildByName(childName); in findChildNode() 173 childNode = new XMPNode(childName, options); in findChildNode() 197 static XMPNode findNode(XMPNode xmpTree, XMPPath xpath, boolean createNodes, in findNode() 208 XMPNode rootImplicitNode = null; in findNode() 209 XMPNode currNode = null; in findNode() [all …]
|
D | XMPSerializerRDF.java | 316 XMPNode currSchema = (XMPNode) it.next(); in serializePrettyRDFSchemas() 365 XMPNode schema = (XMPNode) it.next(); in serializeCompactRDFSchemas() 373 XMPNode schema = (XMPNode) it.next(); in serializeCompactRDFSchemas() 392 XMPNode schema = (XMPNode) it.next(); in serializeCompactRDFSchemas() 413 private boolean serializeCompactRDFAttrProps(XMPNode parentNode, int indent) throws IOException in serializeCompactRDFAttrProps() 419 XMPNode prop = (XMPNode) it.next(); in serializeCompactRDFAttrProps() 488 private void serializeCompactRDFElementProps(XMPNode parentNode, int indent) in serializeCompactRDFElementProps() 493 XMPNode node = (XMPNode) it.next(); in serializeCompactRDFElementProps() 520 XMPNode qualifier = (XMPNode) iq.next(); in serializeCompactRDFElementProps() 587 private Object[] serializeCompactRDFSimpleProp(XMPNode node) throws IOException in serializeCompactRDFSimpleProp() [all …]
|
D | XMPUtilsImpl.java | 99 XMPNode arrayNode = null; in catenateArrayItems() 100 XMPNode currItem = null; in catenateArrayItems() 128 currItem = (XMPNode) it.next(); in catenateArrayItems() 183 XMPNode arrayNode = separateFindCreateArray(schemaNS, arrayName, arrayOptions, xmpImpl); in separateArrayItems() 324 XMPNode newItem = null; in separateArrayItems() 327 newItem = new XMPNode(ARRAY_ITEM_NAME, itemValue, null); in separateArrayItems() 343 private static XMPNode separateFindCreateArray(String schemaNS, String arrayName, in separateFindCreateArray() 355 XMPNode arrayNode = XMPNodeUtils.findNode(xmp.getRoot(), arrayPath, false, null); in separateFindCreateArray() 428 XMPNode propNode = XMPNodeUtils.findNode(xmpImpl.getRoot(), expPath, false, null); in removeProperties() 435 XMPNode parent = propNode.getParent(); in removeProperties() [all …]
|
D | ParseRDF.java | 127 private static void rdf_NodeElementList(XMPMetaImpl xmp, XMPNode xmpParent, Node rdfRdfNode) in rdf_NodeElementList() 161 private static void rdf_NodeElement(XMPMetaImpl xmp, XMPNode xmpParent, Node xmlNode, in rdf_NodeElement() 204 private static void rdf_NodeElementAttrs(XMPMetaImpl xmp, XMPNode xmpParent, Node xmlNode, in rdf_NodeElementAttrs() 280 private static void rdf_PropertyElementList(XMPMetaImpl xmp, XMPNode xmpParent, Node xmlParent, in rdf_PropertyElementList() 361 private static void rdf_PropertyElement(XMPMetaImpl xmp, XMPNode xmpParent, Node xmlNode, in rdf_PropertyElement() 486 private static void rdf_ResourcePropertyElement(XMPMetaImpl xmp, XMPNode xmpParent, in rdf_ResourcePropertyElement() 495 XMPNode newCompound = addChildNode(xmp, xmpParent, xmlNode, "", isTopLevel); in rdf_ResourcePropertyElement() 617 private static void rdf_LiteralPropertyElement(XMPMetaImpl xmp, XMPNode xmpParent, in rdf_LiteralPropertyElement() 620 XMPNode newChild = addChildNode (xmp, xmpParent, xmlNode, null, isTopLevel); in rdf_LiteralPropertyElement() 696 private static void rdf_ParseTypeResourcePropertyElement(XMPMetaImpl xmp, XMPNode xmpParent, in rdf_ParseTypeResourcePropertyElement() [all …]
|
D | XMPMetaImpl.java | 56 private XMPNode tree; 67 tree = new XMPNode(null, null, null); in XMPMetaImpl() 78 public XMPMetaImpl(XMPNode tree) in XMPMetaImpl() 115 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, false, null); in appendArrayItem() 173 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, false, null); in countArrayItems() 223 XMPNode propNode = XMPNodeUtils.findNode(tree, expPath, false, null); in deleteProperty() 291 final XMPNode propNode = XMPNodeUtils.findNode(tree, expPath, false, null); in doesPropertyExist() 394 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, false, null); in getLocalizedText() 402 final XMPNode itemNode = (XMPNode) result[1]; in getLocalizedText() 456 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, true, new PropertyOptions( [all …]
|
D | XMPIteratorImpl.java | 64 XMPNode startNode = null; in XMPIteratorImpl() 217 private XMPNode visitedNode; 245 public NodeIterator(XMPNode visitedNode, String parentPath, int index) in NodeIterator() 344 XMPNode child = (XMPNode) iterator.next(); in iterateChildren() 399 protected String accumulatePath(XMPNode currNode, String parentPath, int currentIndex) in accumulatePath() 443 protected XMPPropertyInfo createPropertyInfo(final XMPNode node, final String baseNS, in createPropertyInfo() 537 public NodeIteratorChildren(XMPNode parentNode, String parentPath) 567 XMPNode child = (XMPNode) childrenIterator.next();
|