Class XMPSchemaZugferd


  • public class XMPSchemaZugferd
    extends org.apache.xmpbox.schema.XMPSchema
    • Field Summary

      • Fields inherited from class org.apache.xmpbox.type.AbstractStructuredType

        STRUCTURE_ARRAY_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      XMPSchemaZugferd​(org.apache.xmpbox.XMPMetadata metadata, int zfVersion, boolean isFacturX, Profile conformanceLevel, java.lang.String URN, java.lang.String prefix, java.lang.String filename)
      This is what needs to be added to the RDF metadata - basically the name of the embedded Zugferd file
      XMPSchemaZugferd​(org.apache.xmpbox.XMPMetadata metadata, int zfVersion, boolean isFacturX, Profile conformanceLevel, java.lang.String URN, java.lang.String prefix, java.lang.String filename, java.lang.String version)
      This is what needs to be added to the RDF metadata - basically the name of the embedded Zugferd file
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XMPSchemaZugferd setType​(java.lang.String type)
      Specify a custom XMP metadata document type
      • 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
    • Constructor Detail

      • XMPSchemaZugferd

        public XMPSchemaZugferd​(org.apache.xmpbox.XMPMetadata metadata,
                                int zfVersion,
                                boolean isFacturX,
                                Profile conformanceLevel,
                                java.lang.String URN,
                                java.lang.String prefix,
                                java.lang.String filename)
        This is what needs to be added to the RDF metadata - basically the name of the embedded Zugferd file
        Parameters:
        metadata - the xmp to be added to
        zfVersion - which ZF version to use (2 for FX)
        isFacturX - whether to export as Factur-X
        conformanceLevel - e.g. conformanceLevel.EN16931
        URN - the xml URI for the XMP
        prefix - the xml namespace prefix for the XMP, zf for ZUGFeRD, fx for Factur-X
        filename - the filename of the invoice
      • XMPSchemaZugferd

        public XMPSchemaZugferd​(org.apache.xmpbox.XMPMetadata metadata,
                                int zfVersion,
                                boolean isFacturX,
                                Profile conformanceLevel,
                                java.lang.String URN,
                                java.lang.String prefix,
                                java.lang.String filename,
                                java.lang.String version)
        This is what needs to be added to the RDF metadata - basically the name of the embedded Zugferd file
        Parameters:
        metadata - the xmp to be added to
        zfVersion - which ZF version to use (2 for FX)
        isFacturX - whether to export as Factur-X
        conformanceLevel - e.g. conformanceLevel.EN16931
        URN - the xml URI for the XMP
        prefix - the xml namespace prefix for the XMP, zf for ZUGFeRD, fx for Factur-X
        filename - the filename of the invoice
        version - meta-data version to set. May be null, and then it is set automatically
    • Method Detail

      • setType

        public XMPSchemaZugferd setType​(java.lang.String type)
        Specify a custom XMP metadata document type
        Parameters:
        type - INVOICE or ORDER
        Returns:
        fluent setter