Package org.apache.padaf.xmpbox.schema

Examples of org.apache.padaf.xmpbox.schema.XMPRightsManagementSchema


     * return the created schema to enter information
     *
     * @return schema added in order to work on it
     */
    public XMPRightsManagementSchema createAndAddXMPRightsManagementSchema() {
        XMPRightsManagementSchema rights = new XMPRightsManagementSchema(this);
        rights.setAboutAsSimple("");
        addSchema(rights);
        return rights;
    }
View Full Code Here


        "CopyRights is missing from the XMP information (dc:rights) of the Font File Stream."));
        return false;
      }
    }

    XMPRightsManagementSchema rights = metadata.getXMPRightsManagementSchema();
    if (rights != null) {
      BooleanType marked = rights.getMarked();
      if (marked != null && !marked.getValue()) {
        ve
        .add(new ValidationError(
            ValidationConstants.ERROR_METADATA_PROPERTY_MISSING,
        "the XMP information (xmpRights:Marked) is invalid for the Font File Stream."));
View Full Code Here

TOP

Related Classes of org.apache.padaf.xmpbox.schema.XMPRightsManagementSchema

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.