Lines Matching defs:value

478 	 * properties written with rdf:Description and rdf:value.
610 * Add a leaf node with the text value and qualifiers for the attributes.
721 continue; // The caller ensured the value is "Resource".
776 * <ns:Prop1/> <!-- a simple property with an empty value -->
777 * <ns:Prop2 rdf:resource="http: *www.adobe.com/"/> <!-- a URI value -->
778 * <ns:Prop3 rdf:value="..." ns:Qual="..."/> <!-- a simple qualified property -->
783 * simple property with an empty value (ns:Prop1), a simple property whose value is a URI
788 * It is an error to use both rdf:value and rdf:resource - that can lead to invalid RDF in the
794 * <li> If there is an rdf:value attribute then this is a simple property
795 * with a text value.
798 * with a URI value.
802 * property with an empty value.
821 Node valueNode = null; // ! Can come from rdf:value or rdf:resource.
830 // First figure out what XMP this maps to and remember the XML node for a simple value.
858 "Empty property element can't have both rdf:value and rdf:resource",
880 if ("value".equals(attribute.getLocalName())
886 "Empty property element can't have both rdf:value and rdf:resource",
918 // ! Might have both rdf:value and rdf:resource.
935 continue; // Skip the rdf:value or rdf:resource attribute holding the value.
981 * @param value Node value
987 String value, boolean isTopLevel) throws XMPException
1041 boolean isValueNode = "rdf:value".equals(childName);
1045 childName, value, childOptions);
1048 // Add the new child to the XMP parent node, a value node first.
1063 throw new XMPException("Misplaced rdf:value element", BADRDF);
1087 * @param value the value of the qualifier
1091 private static XMPNode addQualifierNode(XMPNode xmpParent, String name, String value)
1098 // normalize value of language qualifiers
1099 newQual = new XMPNode(name, isLang ? Utils.normalizeLangValue(value) : value, null);
1107 * The parent is an RDF pseudo-struct containing an rdf:value field. Fix the
1108 * XMP data model. The rdf:value node must be the first child, the other
1109 * children are qualifiers. The form, value, and children of the rdf:value
1110 * node are the real ones. The rdf:value node's qualifiers must be added to
1121 assert "rdf:value".equals(valueNode.getName());
1123 // Move the qualifiers on the value node to the parent.
1125 // Check for duplicate names between the value node's qualifiers and the parent's children.
1132 throw new XMPException("Redundant xml:lang for rdf:value element",
1149 // This loop starts at 1, child 0 is the rdf:value node.
1156 // Move the options and value last, other checks need the parent's original options.
1157 // Move the value node's children to be the parent's children.
1187 String value = node.getNodeValue();
1188 for (int i = 0; i < value.length(); i++)
1190 if (!Character.isWhitespace(value.charAt(i)))