org.jempbox.xmp.pdfa

Class XMPMetadataPDFA


public class XMPMetadataPDFA
extends XMPMetadata

PDFA Metadata.
Version:
$Revision: 1.2 $
Author:
Ben Litchfield

Field Summary

Fields inherited from class org.jempbox.xmp.XMPMetadata

ENCODING_UTF16BE, ENCODING_UTF16LE, ENCODING_UTF8, encoding, nsMappings, xmpDocument

Constructor Summary

XMPMetadataPDFA()
Constructor.
XMPMetadataPDFA(Document doc)
Constructor.

Method Summary

XMPSchemaPDFAField
addPDFAFieldSchema()
Add a new PDFAField schema.
XMPSchemaPDFAId
addPDFAIdSchema()
Add a PDFA Id schema and return the result.
XMPSchemaPDFAProperty
addPDFAPropertySchema()
Create a PDFA property schema.
XMPSchemaPDFASchema
addPDFASchema()
Add a PDFA schema.
XMPSchemaPDFAType
addPDFATypeSchema()
Add a new PDFA type schema.
XMPSchemaPDFAField
getPDFAFieldSchema()
Get the PDFAField schema.
XMPSchemaPDFAId
getPDFAIdSchema()
Get the PDFA ID schema.
XMPSchemaPDFAProperty
getPDFAPropertySchema()
Get the PDFA property schema.
XMPSchemaPDFASchema
getPDFASchema()
Get the PDFA schema.
XMPSchemaPDFAType
getPDFATypeSchema()
Get the PDFA type schema.
static XMPMetadata
load(InputSource is)
Load a a PDFA metadata.

Methods inherited from class org.jempbox.xmp.XMPMetadata

addBasicJobTicketSchema, addBasicSchema, addDublinCoreSchema, addDynamicMediaSchema, addIptc4xmpCoreSchema, addMediaManagementSchema, addPDFSchema, addPagedTextSchema, addPhotoshopSchema, addRightsManagementSchema, addSchema, addXMLNSMapping, asByteArray, basicAddSchema, getBasicJobTicketSchema, getBasicSchema, getDublinCoreSchema, getDynamicMediaSchema, getEncoding, getMediaManagementSchema, getPDFSchema, getPagedTextSchema, getRightsManagementSchema, getSchemaByClass, getSchemas, getSchemasByNamespaceURI, getXMPDocument, hasUnknownSchema, load, load, load, main, merge, save, save, setEncoding

Constructor Details

XMPMetadataPDFA

public XMPMetadataPDFA()
            throws IOException
Constructor.

XMPMetadataPDFA

public XMPMetadataPDFA(Document doc)
Constructor.
Parameters:
doc - The XML document that maps to the metadata.

Method Details

addPDFAFieldSchema

public XMPSchemaPDFAField addPDFAFieldSchema()
Add a new PDFAField schema.
Returns:
The newly added PDFA schema.

addPDFAIdSchema

public XMPSchemaPDFAId addPDFAIdSchema()
Add a PDFA Id schema and return the result.
Returns:
The newly created PDFA Id schema.

addPDFAPropertySchema

public XMPSchemaPDFAProperty addPDFAPropertySchema()
Create a PDFA property schema.
Returns:
The newly created property schema.

addPDFASchema

public XMPSchemaPDFASchema addPDFASchema()
Add a PDFA schema.
Returns:
The newly created PDFA schema.

addPDFATypeSchema

public XMPSchemaPDFAType addPDFATypeSchema()
Add a new PDFA type schema.
Returns:
The newly created PDFA type schema.

getPDFAFieldSchema

public XMPSchemaPDFAField getPDFAFieldSchema()
            throws IOException
Get the PDFAField schema.
Returns:
A PDFAField schema.

getPDFAIdSchema

public XMPSchemaPDFAId getPDFAIdSchema()
            throws IOException
Get the PDFA ID schema.
Returns:
The PDFA ID schema.

getPDFAPropertySchema

public XMPSchemaPDFAProperty getPDFAPropertySchema()
            throws IOException
Get the PDFA property schema.
Returns:
The PDFA property schema.

getPDFASchema

public XMPSchemaPDFASchema getPDFASchema()
            throws IOException
Get the PDFA schema.
Returns:
The PDFA schema.

getPDFATypeSchema

public XMPSchemaPDFAType getPDFATypeSchema()
            throws IOException
Get the PDFA type schema.
Returns:
The PDFA type schema.

load

public static XMPMetadata load(InputSource is)
            throws IOException
Load a a PDFA metadata.
Overrides:
load in interface XMPMetadata
Parameters:
is - An XML input stream
Returns:
A PDFA metadata.