Package org.verapdf.model.impl.axl
Class AXLXMPProperty
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.model.impl.axl.AXLXMPObject
-
- org.verapdf.model.impl.axl.AXLXMPProperty
-
- All Implemented Interfaces:
Object,XMPObject,XMPProperty
- Direct Known Subclasses:
AXLXMPLangAlt,AXLXMPMMHistoryProperty
public class AXLXMPProperty extends AXLXMPObject implements XMPProperty
- Author:
- Maksim Bezrukov
-
-
Field Summary
Fields Modifier and Type Field Description static StringXMP_PROPERTY_TYPEprotected com.adobe.xmp.impl.VeraPDFXMPNodexmpNode-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Modifier Constructor Description AXLXMPProperty(com.adobe.xmp.impl.VeraPDFXMPNode xmpNode, boolean isMainMetadata, boolean isClosedChoiceCheck, SchemasDefinition mainPackageSchemasDefinition, SchemasDefinition currentSchemasDefinitionPDFA_1, SchemasDefinition currentSchemasDefinitionPDFA_2_3, PDFAFlavour flavour)protectedAXLXMPProperty(com.adobe.xmp.impl.VeraPDFXMPNode xmpNode, String type, boolean isMainMetadata, boolean isClosedChoiceCheck, SchemasDefinition mainPackageSchemasDefinition, SchemasDefinition currentSchemasDefinitionPDFA_1, SchemasDefinition currentSchemasDefinitionPDFA_2_3, PDFAFlavour flavour)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetID()BooleangetisDefinedInCurrentPackage()true if this property defined in extension schema in current XMP packageBooleangetisDefinedInMainPackage()true if this property defined in extension schema in main XMP packageBooleangetisPredefinedInXMP2004()true if this property is predefined (available in predefined schema) for PDF/A-1BooleangetisPredefinedInXMP2005()true if this property is predefined (available in predefined schema) for PDF/A-2 or for PDF/A-3BooleangetisValueTypeCorrect()true if the property value type corresponds to the type defined by XMP specification or extension schema-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
XMP_PROPERTY_TYPE
public static final String XMP_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
xmpNode
protected final com.adobe.xmp.impl.VeraPDFXMPNode xmpNode
-
-
Constructor Detail
-
AXLXMPProperty
public AXLXMPProperty(com.adobe.xmp.impl.VeraPDFXMPNode xmpNode, boolean isMainMetadata, boolean isClosedChoiceCheck, SchemasDefinition mainPackageSchemasDefinition, SchemasDefinition currentSchemasDefinitionPDFA_1, SchemasDefinition currentSchemasDefinitionPDFA_2_3, PDFAFlavour flavour)
-
AXLXMPProperty
protected AXLXMPProperty(com.adobe.xmp.impl.VeraPDFXMPNode xmpNode, String type, boolean isMainMetadata, boolean isClosedChoiceCheck, SchemasDefinition mainPackageSchemasDefinition, SchemasDefinition currentSchemasDefinitionPDFA_1, SchemasDefinition currentSchemasDefinitionPDFA_2_3, PDFAFlavour flavour)
-
-
Method Detail
-
getID
public String getID()
- Specified by:
getIDin interfaceObject- Overrides:
getIDin classGenericModelObject- Returns:
- id of the current object
-
getisPredefinedInXMP2004
public Boolean getisPredefinedInXMP2004()
Description copied from interface:XMPPropertytrue if this property is predefined (available in predefined schema) for PDF/A-1- Specified by:
getisPredefinedInXMP2004in interfaceXMPProperty
-
getisPredefinedInXMP2005
public Boolean getisPredefinedInXMP2005()
Description copied from interface:XMPPropertytrue if this property is predefined (available in predefined schema) for PDF/A-2 or for PDF/A-3- Specified by:
getisPredefinedInXMP2005in interfaceXMPProperty
-
getisDefinedInCurrentPackage
public Boolean getisDefinedInCurrentPackage()
Description copied from interface:XMPPropertytrue if this property defined in extension schema in current XMP package- Specified by:
getisDefinedInCurrentPackagein interfaceXMPProperty
-
getisDefinedInMainPackage
public Boolean getisDefinedInMainPackage()
Description copied from interface:XMPPropertytrue if this property defined in extension schema in main XMP package- Specified by:
getisDefinedInMainPackagein interfaceXMPProperty
-
getisValueTypeCorrect
public Boolean getisValueTypeCorrect()
Description copied from interface:XMPPropertytrue if the property value type corresponds to the type defined by XMP specification or extension schema- Specified by:
getisValueTypeCorrectin interfaceXMPProperty
-
-