public class ZfXmpInfo extends Object
ZUGFeRD XMP Info object represents the ZUGFeRD meta data which a part of the PDF/A XMP extension.
Example:
<zf:ConformanceLevel>BASIC</zf:ConformanceLevel>
<zf:DocumentFileName>ZUGFeRD-invoice.xml</zf:DocumentFileName>
<zf:DocumentType>INVOICE</zf:DocumentType>
<zf:Version>RC</zf:Version>
| Constructor and Description |
|---|
ZfXmpInfo()
|
ZfXmpInfo(ConformanceLevel profile,
String documentFileName,
String documentType)
|
ZfXmpInfo(String conformanceLevel,
String documentFileName,
String documentType,
String version)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConformanceLevel()
|
String |
getDocumentFileName()
|
String |
getDocumentType()
|
String |
getVersion()
|
int |
hashCode() |
boolean |
isValid()
|
void |
setConformanceLevel(String conformanceLevel)
|
void |
setDocumentFileName(String documentFileName)
|
void |
setDocumentType(String documentType)
|
void |
setVersion(String version)
|
String |
toString() |
public ZfXmpInfo()
Instantiates a empty ZUGFeRD XMP Info Entity
public ZfXmpInfo(ConformanceLevel profile, String documentFileName, String documentType)
Instantiates a new zf xmp info.
profile - the profiledocumentFileName - the document file namedocumentType - the document typepublic String getConformanceLevel()
Gets the conformance level.
public String getDocumentFileName()
Gets the document file value.
public String getDocumentType()
Gets the document type.
public String getVersion()
Gets the version.
public boolean isValid()
Checks if content of this entity is valid.
public void setConformanceLevel(String conformanceLevel)
Sets the conformance level.
conformanceLevel - the new conformance levelpublic void setDocumentFileName(String documentFileName)
Sets the document file value.
documentFileName - the new document file valuepublic void setDocumentType(String documentType)
Sets the document type.
documentType - the new document typepublic void setVersion(String version)
Sets the version.
version - the new versionCopyright © 2014 Konik.io. All Rights Reserved.