Class XMPSchemaPDFAExtensions


  • public class XMPSchemaPDFAExtensions
    extends org.apache.xmpbox.schema.PDFAExtensionSchema
    Additionally to adding a RDF namespace with a indication which file attachment if Zugferd, this namespace has to be described in a PDFA Extension Schema. I know there is a PDFAExtensionSchema in the context of PDFBox' XMPBOX but I have been using PDFBox' JempBOX so far because I could not find out how to write XMPBOX XMPMetadata to a PDF file. So this is my version of PDFAExtensionSchema for PDFBox' jempbox XMPMetadata
    Author:
    jstaerk
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attachExtensions​(org.apache.xmpbox.XMPMetadata metadata, boolean withZF, EStandard eStandard)  
      protected void setZUGFeRDVersion​(int ver)  
      • Methods inherited from class org.apache.xmpbox.schema.PDFAExtensionSchema

        getSchemasProperty
      • Methods inherited from class org.apache.xmpbox.schema.XMPSchema

        addBagValue, addBagValueAsSimple, addQualifiedBagValue, addSequenceDateValueAsSimple, addUnqualifiedSequenceDateValue, addUnqualifiedSequenceValue, addUnqualifiedSequenceValue, getAboutAttribute, getAboutValue, getAbstractProperty, getBooleanProperty, getBooleanPropertyValue, getBooleanPropertyValueAsSimple, getDateProperty, getDatePropertyValue, getDatePropertyValueAsSimple, getIntegerProperty, getIntegerPropertyValue, getIntegerPropertyValueAsSimple, getUnqualifiedArrayList, getUnqualifiedBagValueList, getUnqualifiedLanguagePropertyLanguagesValue, getUnqualifiedLanguagePropertyValue, getUnqualifiedSequenceDateValueList, getUnqualifiedSequenceValueList, getUnqualifiedTextProperty, getUnqualifiedTextPropertyValue, instanciateSimple, merge, removeUnqualifiedArrayValue, removeUnqualifiedBagValue, removeUnqualifiedSequenceDateValue, removeUnqualifiedSequenceValue, removeUnqualifiedSequenceValue, reorganizeAltOrder, setAbout, setAboutAsSimple, setBooleanProperty, setBooleanPropertyValue, setBooleanPropertyValueAsSimple, setDateProperty, setDatePropertyValue, setDatePropertyValueAsSimple, setIntegerProperty, setIntegerPropertyValue, setIntegerPropertyValueAsSimple, setTextProperty, setTextPropertyValue, setTextPropertyValueAsSimple, setUnqualifiedLanguagePropertyValue
      • Methods inherited from class org.apache.xmpbox.type.AbstractStructuredType

        addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefix
      • Methods inherited from class org.apache.xmpbox.type.AbstractComplexProperty

        addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
      • Methods inherited from class org.apache.xmpbox.type.AbstractField

        containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • namespace

        public java.lang.String namespace
      • prefix

        public java.lang.String prefix
    • Constructor Detail

      • XMPSchemaPDFAExtensions

        public XMPSchemaPDFAExtensions​(IZUGFeRDExporter ze,
                                       org.apache.xmpbox.XMPMetadata metadata,
                                       int ZFVersion)
      • XMPSchemaPDFAExtensions

        public XMPSchemaPDFAExtensions​(IZUGFeRDExporter ze,
                                       org.apache.xmpbox.XMPMetadata metadata,
                                       int ZFVersion,
                                       boolean withZF)
      • XMPSchemaPDFAExtensions

        public XMPSchemaPDFAExtensions​(IZUGFeRDExporter ze,
                                       org.apache.xmpbox.XMPMetadata metadata,
                                       int ZFVersion,
                                       boolean withZF,
                                       EStandard eStandard)
    • Method Detail

      • setZUGFeRDVersion

        protected void setZUGFeRDVersion​(int ver)
      • attachExtensions

        public void attachExtensions​(org.apache.xmpbox.XMPMetadata metadata,
                                     boolean withZF,
                                     EStandard eStandard)