Class PDFAIdentificationSchema


public class PDFAIdentificationSchema extends XMPSchema
Representation of PDF/A Identification Schema
Author:
a183132
  • Field Details

  • Constructor Details

    • PDFAIdentificationSchema

      public PDFAIdentificationSchema(XMPMetadata metadata)
      Constructor of a PDF/A Identification schema
      Parameters:
      metadata - The metadata to attach this schema
    • PDFAIdentificationSchema

      public PDFAIdentificationSchema(XMPMetadata metadata, String prefix)
  • Method Details

    • setPartValueWithString

      public void setPartValueWithString(String value)
      Set the PDFA Version identifier (with string)
      Parameters:
      value - The version Id value to set
    • setPartValueWithInt

      public void setPartValueWithInt(int value)
      Set the PDFA Version identifier (with an int)
      Parameters:
      value - The version Id value to set
    • setPart

      public void setPart(Integer value)
      Set the PDF/A Version identifier (with an int)
      Parameters:
      value - The version Id property to set
    • setPartProperty

      public void setPartProperty(IntegerType part)
      Set the PDF/A Version identifier
      Parameters:
      part - set the PDF/A Version id property
    • setAmd

      public void setAmd(String value)
      Set the PDF/A amendment identifier
      Parameters:
      value - The amendment identifier value to set
    • setAmdProperty

      public void setAmdProperty(TextType amd)
      Set the PDF/A amendment identifier
      Parameters:
      amd - The amendment identifier property to set
    • setConformance

      public void setConformance(String value) throws BadFieldValueException
      Set the PDF/A conformance level
      Parameters:
      value - The conformance level value to set
      Throws:
      BadFieldValueException - If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3)
    • setConformanceProperty

      public void setConformanceProperty(TextType conf) throws BadFieldValueException
      Set the PDF/A conformance level
      Parameters:
      conf - The conformance level property to set
      Throws:
      BadFieldValueException - If Conformance Value not 'A', 'B' or 'U' (PDF/A-2 and PDF/A-3)
    • getPart

      public Integer getPart()
      Give the PDFAVersionId (as an integer)
      Returns:
      Part value (Integer) or null if it is missing
    • getPartProperty

      public IntegerType getPartProperty()
      Give the property corresponding to the PDFA Version id
      Returns:
      Part property
    • getAmendment

      public String getAmendment()
      Give the PDFAAmendmentId (as an String)
      Returns:
      Amendment value
    • getAmdProperty

      public TextType getAmdProperty()
      Give the property corresponding to the PDFA Amendment id
      Returns:
      Amendment property
    • getAmd

      public String getAmd()
      Give the PDFA Amendment Id (as an String)
      Returns:
      Amendment Value
    • getConformanceProperty

      public TextType getConformanceProperty()
      Give the property corresponding to the PDFA Conformance id
      Returns:
      conformance property
    • getConformance

      public String getConformance()
      Give the Conformance id
      Returns:
      conformance id value