DynamicPDF by ceTe Software

com.cete.dynamicpdf.xmp
Class XmpMetadata

java.lang.Object
  |
  +--com.cete.dynamicpdf.Resource
        |
        +--com.cete.dynamicpdf.xmp.XmpMetadata

public class XmpMetadata
extends Resource

Class represents the xmp metadata for a PDF document.

Licensing:
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Constructor Summary
XmpMetadata()
          Initializes a new instance of the XmpMetadata class.
 
Method Summary
 void addSchema(XmpSchema schema)
          Adds a given Xmp Schema to the schema list.
 void draw(DocumentWriter writer)
          Draws the xmp metadata to the DocumentWriter object.
 BasicSchema getBasicSchema()
          Gets the BasicSchema object.
 DublinCoreSchema getDublinCore()
          Gets the DublinCoreSchema object.
 int getRequiredPdfObjects()
          Gets the number of PDF objects required by the xmp.
 
Methods inherited from class com.cete.dynamicpdf.Resource
getResourceType, getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmpMetadata

public XmpMetadata()
Initializes a new instance of the XmpMetadata class.

See Also:
XmpMetadata
Method Detail

addSchema

public void addSchema(XmpSchema schema)
Adds a given Xmp Schema to the schema list.

Parameters:
schema - XmpSchema object to add to the schema list.
See Also:
XmpSchema

getDublinCore

public DublinCoreSchema getDublinCore()
Gets the DublinCoreSchema object.

See Also:
DublinCoreSchema

getBasicSchema

public BasicSchema getBasicSchema()
Gets the BasicSchema object.

See Also:
BasicSchema

getRequiredPdfObjects

public int getRequiredPdfObjects()
Gets the number of PDF objects required by the xmp.

Overrides:
getRequiredPdfObjects in class Resource

draw

public void draw(DocumentWriter writer)
Draws the xmp metadata to the DocumentWriter object.

Specified by:
draw in class Resource
Parameters:
writer - DocumentWriter object to write xmp output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.1 for Java generated on October 06, 2006
© Copyright 2006, ceTe Software