public class XMPSchemaZugferd1p0 extends org.apache.xmpbox.schema.PDFAExtensionSchema
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 String |
CONFORMANCE_LEVEL
The Constant CONFORMANCE_LEVEL.
|
static String |
DOCUMENT_FILE_NAME
The Constant DOCUMENT_FILE_NAME.
|
static String |
DOCUMENT_TYPE
The Constant DOCUMENT_TYPE.
|
static String |
VALUE_TYPE |
static String |
VERSION
The Constant VERSION.
|
Constructor and Description |
---|
XMPSchemaZugferd1p0(org.apache.xmpbox.XMPMetadata metadata)
Instantiates a new XMP schema ZUGFeRD 1.0.
|
XMPSchemaZugferd1p0(org.apache.xmpbox.XMPMetadata metadata,
String customPrefix)
Instantiates a new XMP schema zugferd1p0.
|
Modifier and Type | Method and Description |
---|---|
String |
getConformanceLevel()
Gets the ZUGFeRD conformance level.
|
org.apache.xmpbox.type.TextType |
getConformanceLevelProperty()
Gets the ZUGFeRD conformance level.
|
String |
getDocumentFileName()
Gets the ZUGFeRD document file name.
|
org.apache.xmpbox.type.TextType |
getDocumentFileNameProperty()
Gets the ZUGFeRD document file name.
|
String |
getDocumentType()
Gets the ZUGFeRD document type.
|
org.apache.xmpbox.type.TextType |
getDocumentTypeProperty()
Gets the ZUGFeRD document type.
|
String |
getVersion()
Gets the version.
|
org.apache.xmpbox.type.TextType |
getVersionProperty()
Gets the version.
|
void |
setConformanceLevel(String conformanceLevel)
Sets the ZUGFeRD conformance level.
|
void |
setDocumentFileName(String documentFileName)
Sets the ZUGFeRD document file name.
|
void |
setDocumentType(String documentType)
Sets the ZUGFeRD document type.
|
void |
setVersion(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, setUnqualifiedLanguagePropertyValue
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefix
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
public static final String CONFORMANCE_LEVEL
The Constant CONFORMANCE_LEVEL.
public static final String DOCUMENT_FILE_NAME
The Constant DOCUMENT_FILE_NAME.
public static final String DOCUMENT_TYPE
The Constant DOCUMENT_TYPE.
public static final String VALUE_TYPE
public static final String VERSION
The Constant 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, String customPrefix)
Instantiates a new XMP schema zugferd1p0.
metadata
- the metadatacustomPrefix
- the user defined prefix that should differ from zfpublic 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 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 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 String getVersion()
Gets the version.
public org.apache.xmpbox.type.TextType getVersionProperty()
Gets the version.
public void setConformanceLevel(String conformanceLevel)
Sets the ZUGFeRD conformance level.
Possible values are: BASIC, COMFORT, EXTENDED
conformanceLevel
- the ZUGFeRD conformance levelpublic void setDocumentFileName(String documentFileName)
Sets the ZUGFeRD document file name.
Currently known value is ZUGFeRD-invoice.xml
documentFileName
- the new document file namepublic void setDocumentType(String documentType)
Sets the ZUGFeRD document type.
As of writing only INVOICE is supported
documentType
- the new document file namepublic void setVersion(String version)
Sets the version.
version
- the new versionCopyright © 2014-2017 Konik.io. All Rights Reserved.