public class XMPSchemaZugferd1p0 extends org.apache.xmpbox.schema.XMPSchema
The Class XMP ZUGFeRD Schema.
<pre><code> <rdf:Description rdf:about="" xmlns:zf="urn:ferd:pdfa:CrossIndustryDocument:invoice:1p0#"> <zf:ConformanceLevel>BASIC</zf:ConformanceLevel> <zf:DocumentFileName>ZUGFeRD-invoice.xml</zf:DocumentFileName> <zf:DocumentType>INVOICE</zf:DocumentType> <zf:Version>1.0</zf:Version> </rdf:Description> </code></pre>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFORMANCE_LEVEL
The ZUGFeRD ConformanceLevel.
|
static java.lang.String |
DOCUMENT_FILE_NAME
The ZUGFeRD DocumentFileName.
|
static java.lang.String |
DOCUMENT_TYPE
The ZUGFeRD DocumentType.
|
static java.lang.String |
VERSION
The ZUGFeRD Version.
|
| Constructor and Description |
|---|
XMPSchemaZugferd1p0(org.apache.xmpbox.XMPMetadata metadata)
Instantiates a new XMP schema ZUGFeRD 1.0.
|
XMPSchemaZugferd1p0(org.apache.xmpbox.XMPMetadata metadata,
java.lang.String customPrefix)
Instantiates a new XMP schema zugferd1p0.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConformanceLevel()
Gets the ZUGFeRD conformance level.
|
org.apache.xmpbox.type.TextType |
getConformanceLevelProperty()
Gets the ZUGFeRD conformance level.
|
java.lang.String |
getDocumentFileName()
Gets the ZUGFeRD document file name.
|
org.apache.xmpbox.type.TextType |
getDocumentFileNameProperty()
Gets the ZUGFeRD document file name.
|
java.lang.String |
getDocumentType()
Gets the ZUGFeRD document type.
|
org.apache.xmpbox.type.TextType |
getDocumentTypeProperty()
Gets the ZUGFeRD document type.
|
java.lang.String |
getVersion()
Gets the version.
|
org.apache.xmpbox.type.TextType |
getVersionProperty()
Gets the version.
|
void |
setConformanceLevel(java.lang.String conformanceLevel)
Sets the ZUGFeRD conformance level.
|
void |
setDocumentFileName(java.lang.String documentFileName)
Sets the ZUGFeRD document file name.
|
void |
setDocumentType(java.lang.String documentType)
Sets the ZUGFeRD document type.
|
void |
setVersion(java.lang.String version)
Sets the version.
|
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, setUnqualifiedLanguagePropertyValueaddSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefixaddNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removePropertypublic static final java.lang.String CONFORMANCE_LEVEL
The ZUGFeRD ConformanceLevel.
public static final java.lang.String DOCUMENT_FILE_NAME
The ZUGFeRD DocumentFileName.
public static final java.lang.String DOCUMENT_TYPE
The ZUGFeRD DocumentType.
public static final java.lang.String VERSION
The ZUGFeRD Version.
public XMPSchemaZugferd1p0(org.apache.xmpbox.XMPMetadata metadata)
Instantiates a new XMP schema ZUGFeRD 1.0.
Set sensible default values
metadata - the parent XMP document that this schema will be part of.public XMPSchemaZugferd1p0(org.apache.xmpbox.XMPMetadata metadata, java.lang.String customPrefix)
Instantiates a new XMP schema zugferd1p0.
metadata - the metadatacustomPrefix - the user defined prefix that should differ from zfpublic java.lang.String getConformanceLevel()
Gets the ZUGFeRD conformance level.
Possible values are: BASIC, COMFORT, EXTENDED
public org.apache.xmpbox.type.TextType getConformanceLevelProperty()
Gets the ZUGFeRD conformance level.
Possible values are: BASIC, COMFORT, EXTENDED
public java.lang.String getDocumentFileName()
Gets the ZUGFeRD document file name.
Currently known value is ZUGFeRD-invoice.xml
public org.apache.xmpbox.type.TextType getDocumentFileNameProperty()
Gets the ZUGFeRD document file name.
Currently known value is ZUGFeRD-invoice.xml
public java.lang.String getDocumentType()
Gets the ZUGFeRD document type.
As of writing only INVOICE is supported
public org.apache.xmpbox.type.TextType getDocumentTypeProperty()
Gets the ZUGFeRD document type.
As of writing only INVOICE is supported
public java.lang.String getVersion()
Gets the version.
public org.apache.xmpbox.type.TextType getVersionProperty()
Gets the version.
public void setConformanceLevel(java.lang.String conformanceLevel)
Sets the ZUGFeRD conformance level.
Possible values are: BASIC, COMFORT, EXTENDED
conformanceLevel - the ZUGFeRD conformance levelpublic void setDocumentFileName(java.lang.String documentFileName)
Sets the ZUGFeRD document file name.
Currently known value is ZUGFeRD-invoice.xml
documentFileName - the new document file namepublic void setDocumentType(java.lang.String documentType)
Sets the ZUGFeRD document type.
As of writing only INVOICE is supported
documentType - the new document file namepublic void setVersion(java.lang.String version)
Sets the version.
version - the new versionCopyright © 2014 Konik.io. All Rights Reserved.