Home
last modified time | relevance | path

Searched refs:arrayNode (Results 1 – 15 of 15) sorted by relevance

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPNodeUtils.java561 private static int findIndexedItem(XMPNode arrayNode, String segment, boolean createNodes) in findIndexedItem() argument
581 if (createNodes && index == arrayNode.getChildrenLength() + 1) in findIndexedItem()
586 arrayNode.addChild(newItem); in findIndexedItem()
604 private static int lookupFieldSelector(XMPNode arrayNode, String fieldName, String fieldValue) in lookupFieldSelector() argument
609 for (int index = 1; index <= arrayNode.getChildrenLength() && result < 0; index++) in lookupFieldSelector()
611 XMPNode currItem = arrayNode.getChild(index); in lookupFieldSelector()
652 private static int lookupQualSelector(XMPNode arrayNode, String qualName, in lookupQualSelector() argument
658 int index = XMPNodeUtils.lookupLanguageItem(arrayNode, qualValue); in lookupQualSelector()
664 arrayNode.addChild(1, langNode); in lookupQualSelector()
674 for (int index = 1; index < arrayNode.getChildrenLength(); index++) in lookupQualSelector()
[all …]
DXMPMetaImpl.java115 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, false, null); in appendArrayItem() local
117 if (arrayNode != null) in appendArrayItem()
121 if (!arrayNode.getOptions().isArray()) in appendArrayItem()
135 arrayNode = XMPNodeUtils.findNode(tree, arrayPath, true, arrayOptions); in appendArrayItem()
136 if (arrayNode == null) in appendArrayItem()
149 doSetArrayItem(arrayNode, ARRAY_LAST_ITEM, itemValue, itemOptions, true); in appendArrayItem()
173 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, false, null); in countArrayItems() local
175 if (arrayNode == null) in countArrayItems()
180 if (arrayNode.getOptions().isArray()) in countArrayItems()
182 return arrayNode.getChildrenLength(); in countArrayItems()
[all …]
DXMPUtilsImpl.java99 XMPNode arrayNode = null; in catenateArrayItems() local
105 arrayNode = XMPNodeUtils.findNode(xmpImpl.getRoot(), arrayPath, false, null); in catenateArrayItems()
106 if (arrayNode == null) in catenateArrayItems()
110 else if (!arrayNode.getOptions().isArray() || arrayNode.getOptions().isArrayAlternate()) in catenateArrayItems()
126 for (Iterator it = arrayNode.iterateChildren(); it.hasNext();) in catenateArrayItems()
183 XMPNode arrayNode = separateFindCreateArray(schemaNS, arrayName, arrayOptions, xmpImpl); in separateArrayItems() local
315 for (int oldChild = 1; oldChild <= arrayNode.getChildrenLength(); oldChild++) in separateArrayItems()
317 if (itemValue.equals(arrayNode.getChild(oldChild).getValue())) in separateArrayItems()
328 arrayNode.addChild(newItem); in separateArrayItems()
355 XMPNode arrayNode = XMPNodeUtils.findNode(xmp.getRoot(), arrayPath, false, null); in separateFindCreateArray() local
[all …]
DXMPNormalizer.java145 XMPNode arrayNode = XMPNodeUtils.findChildNode(currSchema, "exif:UserComment", in touchUpDataModel() local
147 if (arrayNode != null) in touchUpDataModel()
149 repairAltText(arrayNode); in touchUpDataModel()
165 XMPNode arrayNode = XMPNodeUtils.findChildNode(currSchema, "xmpRights:UsageTerms", in touchUpDataModel() local
167 if (arrayNode != null) in touchUpDataModel()
169 repairAltText(arrayNode); in touchUpDataModel()
242 private static void repairAltText(XMPNode arrayNode) throws XMPException in repairAltText() argument
244 if (arrayNode == null || in repairAltText()
245 !arrayNode.getOptions().isArray()) in repairAltText()
252 arrayNode.getOptions().setArrayOrdered(true).setArrayAlternate(true).setArrayAltText(true); in repairAltText()
[all …]
DXMPSerializerRDF.java1143 private void emitRDFArrayTag(XMPNode arrayNode, boolean isStartTag, int indent) in emitRDFArrayTag() argument
1146 if (isStartTag || arrayNode.hasChildren()) in emitRDFArrayTag()
1151 if (arrayNode.getOptions().isArrayAlternate()) in emitRDFArrayTag()
1155 else if (arrayNode.getOptions().isArrayOrdered()) in emitRDFArrayTag()
1164 if (isStartTag && !arrayNode.hasChildren()) in emitRDFArrayTag()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DContainerNode.java84 public final ArrayNode arrayNode() { return _nodeFactory.arrayNode(); } in arrayNode() method in ContainerNode
92 public final ArrayNode arrayNode(int capacity) { return _nodeFactory.arrayNode(capacity); } in arrayNode() method in ContainerNode
DJsonNodeCreator.java68 public ArrayNode arrayNode(); in arrayNode() method
75 public ArrayNode arrayNode(int capacity); in arrayNode() method
DJsonNodeFactory.java324 public ArrayNode arrayNode() { return new ArrayNode(this); } in arrayNode() method in JsonNodeFactory
332 public ArrayNode arrayNode(int capacity) { return new ArrayNode(this, capacity); } in arrayNode() method in JsonNodeFactory
DArrayNode.java385 ArrayNode n = arrayNode(); in addArray()
612 ArrayNode n = arrayNode(); in insertArray()
DObjectNode.java180 ArrayNode result = arrayNode(); in withArray()
634 ArrayNode n = arrayNode(); in putArray()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DArrayNodeTest.java170 ArrayNode array = f.arrayNode(14); in testNullAdds()
193 final ArrayNode array = JsonNodeFactory.instance.arrayNode(); in testAddAllWithNullInCollection()
210 ArrayNode array = f.arrayNode(3); in testNullInserts()
234 ArrayNode a1 = JsonNodeFactory.instance.arrayNode(); in testNullChecking()
235 ArrayNode a2 = JsonNodeFactory.instance.arrayNode(); in testNullChecking()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java246 ArrayNode arr = nodeFactory.arrayNode(); in _handleDuplicateField()
451 ArrayNode node = nodeFactory.arrayNode(); in deserializeArray()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectReader.java1348 return _config.getNodeFactory().arrayNode(); in createArrayNode()
DObjectMapper.java3148 return _deserializationConfig.getNodeFactory().arrayNode();
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...