DynamicPDF by ceTe Software

com.cete.dynamicpdf.xmp
Class XmpMetadata

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by 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.

Returns:
Dublin core schema.
See Also:
DublinCoreSchema

getBasicSchema

public BasicSchema getBasicSchema()
Gets the BasicSchema object.

Returns:
Basic schema.
See Also:
BasicSchema

getRequiredPdfObjects

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

Overrides:
getRequiredPdfObjects in class Resource
Returns:
the number of PDF objects required by the xmp.

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 DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software