Class SetDocumentMetadata

java.lang.Object
org.jpedal.manipulator.SetDocumentMetadata
All Implemented Interfaces:
org.jpedal.manipulator.Manipulation

public class SetDocumentMetadata extends Object implements org.jpedal.manipulator.Manipulation
Sets the document metadata.

See PdfManipulator.setDocumentMetadata(Document)

  • Constructor Details

    • SetDocumentMetadata

      public SetDocumentMetadata(Document documentMetadata)
      Set the document metadata. This will overwrite any existing metadata so you may want to query it first.

      This class performs input validation to ensure that the XML is a valid XMP metadata packet.

      Parameters:
      documentMetadata - a Document object containing the document metadata