Package org.apache.jempbox.xmp.pdfa
Class XMPMetadataPDFA
java.lang.Object
org.apache.jempbox.xmp.XMPMetadata
org.apache.jempbox.xmp.pdfa.XMPMetadataPDFA
PDFA Metadata.
- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
-
Field Summary
Fields inherited from class org.apache.jempbox.xmp.XMPMetadata
encoding, ENCODING_UTF16BE, ENCODING_UTF16LE, ENCODING_UTF8, nsMappings, xmpDocument
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a new PDFAField schema.Add a PDFA Id schema and return the result.Create a PDFA property schema.Add a PDFA schema.Add a new PDFA type schema.Get the PDFAField schema.Get the PDFA ID schema.Get the PDFA property schema.Get the PDFA schema.Get the PDFA type schema.static XMPMetadata
load
(InputSource is) Load a a PDFA metadata.Methods inherited from class org.apache.jempbox.xmp.XMPMetadata
addBasicJobTicketSchema, addBasicSchema, addDublinCoreSchema, addDynamicMediaSchema, addIptc4xmpCoreSchema, addMediaManagementSchema, addPagedTextSchema, addPDFSchema, addPhotoshopSchema, addRightsManagementSchema, addSchema, addXMLNSMapping, asByteArray, basicAddSchema, getBasicJobTicketSchema, getBasicSchema, getDublinCoreSchema, getDynamicMediaSchema, getEncoding, getMediaManagementSchema, getPagedTextSchema, getPDFSchema, getRightsManagementSchema, getSchemaByClass, getSchemas, getSchemasByNamespaceURI, getXMPDocument, hasUnknownSchema, load, load, main, merge, save, save, setEncoding
-
Constructor Details
-
XMPMetadataPDFA
Constructor.- Throws:
IOException
- If there is an error creating this metadata.
-
XMPMetadataPDFA
Constructor.- Parameters:
doc
- The XML document that maps to the metadata.
-
-
Method Details
-
load
Load a a PDFA metadata.- Parameters:
is
- An XML input stream- Returns:
- A PDFA metadata.
- Throws:
IOException
- If there is an error loading the XML document.
-
getPDFAFieldSchema
Get the PDFAField schema.- Returns:
- A PDFAField schema.
- Throws:
IOException
- If there is an error finding the scheam.
-
addPDFAFieldSchema
Add a new PDFAField schema.- Returns:
- The newly added PDFA schema.
-
getPDFAIdSchema
Get the PDFA ID schema.- Returns:
- The PDFA ID schema.
- Throws:
IOException
- If there is an error accessing the PDFA id schema.
-
addPDFAIdSchema
Add a PDFA Id schema and return the result.- Returns:
- The newly created PDFA Id schema.
-
getPDFAPropertySchema
Get the PDFA property schema.- Returns:
- The PDFA property schema.
- Throws:
IOException
- If there is an error accessing the PDFA property schema.
-
addPDFAPropertySchema
Create a PDFA property schema.- Returns:
- The newly created property schema.
-
getPDFASchema
Get the PDFA schema.- Returns:
- The PDFA schema.
- Throws:
IOException
- If there is an error getting the PDFA schema.
-
addPDFASchema
Add a PDFA schema.- Returns:
- The newly created PDFA schema.
-
getPDFATypeSchema
Get the PDFA type schema.- Returns:
- The PDFA type schema.
- Throws:
IOException
- If there is an error accessing the PDFA type schema.
-
addPDFATypeSchema
Add a new PDFA type schema.- Returns:
- The newly created PDFA type schema.
-