org.apache.jempbox.xmp.pdfa

Class XMPMetadataPDFA

public class XMPMetadataPDFA extends XMPMetadata

PDFA Metadata.

Version: $Revision: 1.2 $

Author: Ben Litchfield

Constructor Summary
XMPMetadataPDFA()
Constructor.
XMPMetadataPDFA(Document doc)
Constructor.
Method Summary
XMPSchemaPDFAFieldaddPDFAFieldSchema()
Add a new PDFAField schema.
XMPSchemaPDFAIdaddPDFAIdSchema()
Add a PDFA Id schema and return the result.
XMPSchemaPDFAPropertyaddPDFAPropertySchema()
Create a PDFA property schema.
XMPSchemaPDFASchemaaddPDFASchema()
Add a PDFA schema.
XMPSchemaPDFATypeaddPDFATypeSchema()
Add a new PDFA type schema.
XMPSchemaPDFAFieldgetPDFAFieldSchema()
Get the PDFAField schema.
XMPSchemaPDFAIdgetPDFAIdSchema()
Get the PDFA ID schema.
XMPSchemaPDFAPropertygetPDFAPropertySchema()
Get the PDFA property schema.
XMPSchemaPDFASchemagetPDFASchema()
Get the PDFA schema.
XMPSchemaPDFATypegetPDFATypeSchema()
Get the PDFA type schema.
static XMPMetadataload(InputSource is)
Load a a PDFA metadata.

Constructor Detail

XMPMetadataPDFA

public XMPMetadataPDFA()
Constructor.

Throws: IOException If there is an error creating this metadata.

XMPMetadataPDFA

public XMPMetadataPDFA(Document doc)
Constructor.

Parameters: doc The XML document that maps to the metadata.

Method Detail

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()
Get the PDFAField schema.

Returns: A PDFAField schema.

Throws: IOException If there is an error finding the scheam.

getPDFAIdSchema

public XMPSchemaPDFAId getPDFAIdSchema()
Get the PDFA ID schema.

Returns: The PDFA ID schema.

Throws: IOException If there is an error accessing the PDFA id schema.

getPDFAPropertySchema

public XMPSchemaPDFAProperty getPDFAPropertySchema()
Get the PDFA property schema.

Returns: The PDFA property schema.

Throws: IOException If there is an error accessing the PDFA property schema.

getPDFASchema

public XMPSchemaPDFASchema getPDFASchema()
Get the PDFA schema.

Returns: The PDFA schema.

Throws: IOException If there is an error getting the PDFA schema.

getPDFATypeSchema

public XMPSchemaPDFAType getPDFATypeSchema()
Get the PDFA type schema.

Returns: The PDFA type schema.

Throws: IOException If there is an error accessing the PDFA type schema.

load

public static XMPMetadata load(InputSource is)
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.

Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.