Class AXLXMPPackage

All Implemented Interfaces:
Object, XMPObject, XMPPackage
Direct Known Subclasses:
AXLMainXMPPackage

public class AXLXMPPackage extends AXLXMPObject implements XMPPackage
Current class is representation of XMPPackage interface from abstract model based on adobe xmp library
Author:
Maksim Bezrukov
  • Field Details

  • Constructor Details

    • AXLXMPPackage

      public AXLXMPPackage(VeraPDFMeta xmpMetadata, boolean isSerializationValid, boolean isClosedChoiceCheck, VeraPDFXMPNode mainPackageExtensionNode, PDFAFlavour flavour)
    • AXLXMPPackage

      public AXLXMPPackage(VeraPDFMeta xmpMetadata, boolean isSerializationValid, VeraPDFXMPNode mainPackageExtensionNode, PDFAFlavour flavour)
    • AXLXMPPackage

      protected AXLXMPPackage(VeraPDFMeta xmpMetadata, boolean isSerializationValid, boolean isMainMetadata, boolean isClosedChoiceCheck, VeraPDFXMPNode mainPackageExtensionNode, String type, PDFAFlavour flavour)
  • Method Details

    • getLinkedObjects

      public List<? extends Object> getLinkedObjects(String link)
      Specified by:
      getLinkedObjects in interface Object
      Overrides:
      getLinkedObjects in class GenericModelObject
      Parameters:
      link - name of the link
      Returns:
      List of all objects with link name
    • getXMPProperties

      protected List<AXLXMPProperty> getXMPProperties()
    • getXmpMetadata

      protected VeraPDFMeta getXmpMetadata()
    • getisSerializationValid

      public Boolean getisSerializationValid()
      Description copied from interface: XMPPackage
      true if package serialization is valid: - package starts with one of the expected byte arrays representing package beginning in a supported encoding - package represents a well-formed XML that is serialized using the encoding of the matched byte array
      Specified by:
      getisSerializationValid in interface XMPPackage
    • getactualEncoding

      public String getactualEncoding()
      Description copied from interface: XMPPackage
      the actual encoding used for XMP package serialization it is different from the encoding property, which is declared encoding (deprecated)
      Specified by:
      getactualEncoding in interface XMPPackage
    • getbytes

      public String getbytes()
      Description copied from interface: XMPPackage
      value of ‘bytes’ attribute of XMP package header (null if the attribute is missing)
      Specified by:
      getbytes in interface XMPPackage
    • getencoding

      public String getencoding()
      Description copied from interface: XMPPackage
      value of ‘encoding’ attribute of XMP package header (null if the attribute is missing)
      Specified by:
      getencoding in interface XMPPackage
    • getMainPackageSchemasDefinition

      protected Map<String,SchemasDefinition> getMainPackageSchemasDefinition()
    • getCurrentSchemasDefinitionPDFA_1

      protected Map<String,SchemasDefinition> getCurrentSchemasDefinitionPDFA_1()
    • getCurrentSchemasDefinitionPDFA_2_3

      protected Map<String,SchemasDefinition> getCurrentSchemasDefinitionPDFA_2_3()
    • getMainPackageSchemasDefinitionForNS

      protected SchemasDefinition getMainPackageSchemasDefinitionForNS(String nameSpace)
    • getCurrentSchemasDefinitionPDFA_1ForNS

      protected SchemasDefinition getCurrentSchemasDefinitionPDFA_1ForNS(String nameSpace)
    • getCurrentSchemasDefinitionPDFA_2_3ForNS

      protected SchemasDefinition getCurrentSchemasDefinitionPDFA_2_3ForNS(String nameSpace)