Package org.mustangproject.ZUGFeRD
Class XMPSchemaPDFAExtensions
- java.lang.Object
-
- org.apache.xmpbox.type.AbstractField
-
- org.apache.xmpbox.type.AbstractComplexProperty
-
- org.apache.xmpbox.type.AbstractStructuredType
-
- org.apache.xmpbox.schema.XMPSchema
-
- org.apache.xmpbox.schema.PDFAExtensionSchema
-
- org.mustangproject.ZUGFeRD.XMPSchemaPDFAExtensions
-
public class XMPSchemaPDFAExtensions extends org.apache.xmpbox.schema.PDFAExtensionSchemaAdditionally 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
-
-
Field Summary
Fields Modifier and Type Field Description protected IZUGFeRDExporterexporterjava.lang.Stringnamespacejava.lang.Stringprefixjava.lang.Stringprefix_pdfaPropertyjava.lang.Stringprefix_pdfaSchemajava.lang.Stringxmlns_pdfaPropertyjava.lang.Stringxmlns_pdfaSchema
-
Constructor Summary
Constructors Constructor Description XMPSchemaPDFAExtensions(IZUGFeRDExporter ze, org.apache.xmpbox.XMPMetadata metadata, int ZFVersion)XMPSchemaPDFAExtensions(IZUGFeRDExporter ze, org.apache.xmpbox.XMPMetadata metadata, int ZFVersion, boolean withZF)XMPSchemaPDFAExtensions(IZUGFeRDExporter ze, org.apache.xmpbox.XMPMetadata metadata, int ZFVersion, boolean withZF, EStandard eStandard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachExtensions(org.apache.xmpbox.XMPMetadata metadata, boolean withZF, EStandard eStandard)protected voidsetZUGFeRDVersion(int ver)-
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
-
-
-
-
Field Detail
-
xmlns_pdfaSchema
public final java.lang.String xmlns_pdfaSchema
- See Also:
- Constant Field Values
-
prefix_pdfaSchema
public final java.lang.String prefix_pdfaSchema
- See Also:
- Constant Field Values
-
xmlns_pdfaProperty
public final java.lang.String xmlns_pdfaProperty
- See Also:
- Constant Field Values
-
prefix_pdfaProperty
public final java.lang.String prefix_pdfaProperty
- See Also:
- Constant Field Values
-
namespace
public java.lang.String namespace
-
prefix
public java.lang.String prefix
-
exporter
protected IZUGFeRDExporter exporter
-
-
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)
-
-