Package org.mustangproject.ZUGFeRD
Class XMPSchemaZugferd
- java.lang.Object
-
- org.apache.xmpbox.type.AbstractField
-
- org.apache.xmpbox.type.AbstractComplexProperty
-
- org.apache.xmpbox.type.AbstractStructuredType
-
- org.apache.xmpbox.schema.XMPSchema
-
- org.mustangproject.ZUGFeRD.XMPSchemaZugferd
-
public class XMPSchemaZugferd extends org.apache.xmpbox.schema.XMPSchema
-
-
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 fileXMPSchemaZugferd(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 XMPSchemaZugferdsetType(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
-
-
-
-
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 tozfVersion- which ZF version to use (2 for FX)isFacturX- whether to export as Factur-XconformanceLevel- e.g. conformanceLevel.EN16931URN- the xml URI for the XMPprefix- the xml namespace prefix for the XMP, zf for ZUGFeRD, fx for Factur-Xfilename- 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 tozfVersion- which ZF version to use (2 for FX)isFacturX- whether to export as Factur-XconformanceLevel- e.g. conformanceLevel.EN16931URN- the xml URI for the XMPprefix- the xml namespace prefix for the XMP, zf for ZUGFeRD, fx for Factur-Xfilename- the filename of the invoiceversion- 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
-
-