Package org.apache.xmlgraphics.xmp

Examples of org.apache.xmlgraphics.xmp.PropertyAccess


     * As qualifier, <code>xmpidq:Scheme</code> is used.
     * @param value the identifier value
     * @param qualifier the qualifier value (for xmpidq:Scheme)
     */
    public void setIdentifier(String value, String qualifier) {
        PropertyAccess pa = findQualifiedStructure(IDENTIFIER,
                XMPBasicSchema.SCHEME_QUALIFIER, qualifier);
        if (pa != null) {
            pa.setProperty(new XMPProperty(XMPConstants.RDF_VALUE, value));
        } else {
            XMPStructure struct = new XMPStructure();
            struct.setProperty(new XMPProperty(XMPConstants.RDF_VALUE, value));
            struct.setProperty(new XMPProperty(XMPBasicSchema.SCHEME_QUALIFIER, qualifier));
            addObjectToArray(IDENTIFIER, struct, XMPArrayType.BAG);
View Full Code Here

TOP

Related Classes of org.apache.xmlgraphics.xmp.PropertyAccess

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.