Package org.apache.padaf.xmpbox.schema

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


     * @throws XmpSchemaException
     *             If namespaces list not contains PDF/A Extension namespace URI
     */
    public PDFAExtensionSchema createAndAddPDFAExtensionSchemaWithNS(
           Map<String, String> namespaces) throws XmpSchemaException {
        PDFAExtensionSchema pdfAExt = new PDFAExtensionSchema(this, namespaces);
        pdfAExt.setAboutAsSimple("");
        addSchema(pdfAExt);
        return pdfAExt;
    }
View Full Code Here


          && namespaces.containsKey(PDFAExtensionSchema.PDFASCHEMA)) {

        if (namespaces.containsValue(PDFAExtensionSchema.PDFAEXTENSIONURI)
            && namespaces.containsValue(PDFAExtensionSchema.PDFAPROPERTYURI)
            && namespaces.containsValue(PDFAExtensionSchema.PDFASCHEMAURI)) {
          PDFAExtensionSchema schema = metadata.createAndAddPDFAExtensionSchemaWithNS(namespaces);
          treatDescriptionAttributes(metadata, schema);
          parseExtensionSchema(schema, metadata);
        } else {
          throw new XmpUnexpectedNamespaceURIException("Unexpected namespaceURI in PDFA Extension Schema encountered");
        }
View Full Code Here

TOP

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

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.