Lines Matching defs:value

319 	 * This is setting the value of a leaf node.
322 * @param value a value
324 static void setNodeValue(XMPNode node, Object value)
326 String strValue = serializeNodeValue(value);
343 * @param itemValue the node value to set
385 * Converts the node value to String, apply special conversions for defined
388 * @param value
389 * the node value to set
390 * @return Returns the String representation of the node value.
392 static String serializeNodeValue(Object value)
395 if (value == null)
399 else if (value instanceof Boolean)
401 strValue = XMPUtils.convertFromBoolean(((Boolean) value).booleanValue());
403 else if (value instanceof Integer)
405 strValue = XMPUtils.convertFromInteger(((Integer) value).intValue());
407 else if (value instanceof Long)
409 strValue = XMPUtils.convertFromLong(((Long) value).longValue());
411 else if (value instanceof Double)
413 strValue = XMPUtils.convertFromDouble(((Double) value).doubleValue());
415 else if (value instanceof XMPDateTime)
417 strValue = XMPUtils.convertFromDate((XMPDateTime) value);
419 else if (value instanceof GregorianCalendar)
421 XMPDateTime dt = XMPDateTimeFactory.createFromCalendar((GregorianCalendar) value);
424 else if (value instanceof byte[])
426 strValue = XMPUtils.encodeBase64((byte[]) value);
430 strValue = value.toString();
443 * <li>[qualName="value"] - An element in an array of structs, chosen by a field value.
444 * <li>[?qualName="value"] - An element in an array, chosen by a qualifier value.
595 * [fieldName="value] - an element in an array of structs, chosen by a field value.
640 * [?qualName="value"] - an element in an array, chosen by a qualifier value.
646 * @param qualValue the qualifier value
694 * Make sure the x-default item is first. Touch up &quot;single value&quot;
696 * the same value for both items. Older Adobe apps were hardwired to only
697 * use the &quot;x-default&quot; item, so we copy that value to the other