Package org.verapdf.model.impl.axl
Class AXLXMPPackage
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.model.impl.axl.AXLXMPObject
org.verapdf.model.impl.axl.AXLXMPPackage
- All Implemented Interfaces:
Object,XMPObject,XMPPackage
- Direct Known Subclasses:
AXLMainXMPPackage
Current class is representation of XMPPackage interface from abstract model
based on adobe xmp library
- Author:
- Maksim Bezrukov
-
Field Summary
FieldsFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAXLXMPPackage(org.verapdf.xmp.impl.VeraPDFMeta xmpMetadata, boolean isSerializationValid, boolean isMainMetadata, boolean isClosedChoiceCheck, org.verapdf.xmp.impl.VeraPDFXMPNode mainPackageExtensionNode, String type, PDFAFlavour flavour) AXLXMPPackage(org.verapdf.xmp.impl.VeraPDFMeta xmpMetadata, boolean isSerializationValid, boolean isClosedChoiceCheck, org.verapdf.xmp.impl.VeraPDFXMPNode mainPackageExtensionNode, PDFAFlavour flavour) AXLXMPPackage(org.verapdf.xmp.impl.VeraPDFMeta xmpMetadata, boolean isSerializationValid, org.verapdf.xmp.impl.VeraPDFXMPNode mainPackageExtensionNode, PDFAFlavour flavour) -
Method Summary
Modifier and TypeMethodDescriptionthe actual encoding used for XMP package serialization it is different from the encoding property, which is declared encoding (deprecated)getbytes()value of ‘bytes’ attribute of XMP package header (null if the attribute is missing)protected Map<String,SchemasDefinition> protected SchemasDefinitiongetCurrentSchemasDefinitionPDFA_1ForNS(String nameSpace) protected Map<String,SchemasDefinition> protected SchemasDefinitiongetCurrentSchemasDefinitionPDFA_2_3ForNS(String nameSpace) value of ‘encoding’ attribute of XMP package header (null if the attribute is missing)true if package serialization is valid: - package starts with one of the expected byte arrays representing package beginning in a supported encoding - package represents a well-formed XML that is serialized using the encoding of the matched byte arraygetLinkedObjects(String link) protected Map<String,SchemasDefinition> protected SchemasDefinitiongetMainPackageSchemasDefinitionForNS(String nameSpace) protected org.verapdf.xmp.impl.VeraPDFMetaprotected List<AXLXMPProperty>Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
XMP_PACKAGE_TYPE
- See Also:
-
PROPERTIES
- See Also:
-
EXTENSION_SCHEMAS_CONTAINERS
- See Also:
-
-
Constructor Details
-
AXLXMPPackage
public AXLXMPPackage(org.verapdf.xmp.impl.VeraPDFMeta xmpMetadata, boolean isSerializationValid, boolean isClosedChoiceCheck, org.verapdf.xmp.impl.VeraPDFXMPNode mainPackageExtensionNode, PDFAFlavour flavour) -
AXLXMPPackage
public AXLXMPPackage(org.verapdf.xmp.impl.VeraPDFMeta xmpMetadata, boolean isSerializationValid, org.verapdf.xmp.impl.VeraPDFXMPNode mainPackageExtensionNode, PDFAFlavour flavour) -
AXLXMPPackage
protected AXLXMPPackage(org.verapdf.xmp.impl.VeraPDFMeta xmpMetadata, boolean isSerializationValid, boolean isMainMetadata, boolean isClosedChoiceCheck, org.verapdf.xmp.impl.VeraPDFXMPNode mainPackageExtensionNode, String type, PDFAFlavour flavour)
-
-
Method Details
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- name of the link- Returns:
- List of all objects with link name
-
getXMPProperties
-
getXmpMetadata
protected org.verapdf.xmp.impl.VeraPDFMeta getXmpMetadata() -
getisSerializationValid
Description copied from interface:XMPPackagetrue if package serialization is valid: - package starts with one of the expected byte arrays representing package beginning in a supported encoding - package represents a well-formed XML that is serialized using the encoding of the matched byte array- Specified by:
getisSerializationValidin interfaceXMPPackage
-
getactualEncoding
Description copied from interface:XMPPackagethe actual encoding used for XMP package serialization it is different from the encoding property, which is declared encoding (deprecated)- Specified by:
getactualEncodingin interfaceXMPPackage
-
getbytes
Description copied from interface:XMPPackagevalue of ‘bytes’ attribute of XMP package header (null if the attribute is missing)- Specified by:
getbytesin interfaceXMPPackage
-
getencoding
Description copied from interface:XMPPackagevalue of ‘encoding’ attribute of XMP package header (null if the attribute is missing)- Specified by:
getencodingin interfaceXMPPackage
-
getMainPackageSchemasDefinition
-
getCurrentSchemasDefinitionPDFA_1
-
getCurrentSchemasDefinitionPDFA_2_3
-
getMainPackageSchemasDefinitionForNS
-
getCurrentSchemasDefinitionPDFA_1ForNS
-
getCurrentSchemasDefinitionPDFA_2_3ForNS
-