java.lang.Object
org.verapdf.xmp.impl.VeraPDFExtensionSchemaDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionVeraPDF extension schema. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtensionSchemaProperty(VeraPDFExtensionSchemaProperty propertyDefinitionXMPNode) Adds extension schema property.createExtensionSchemaDefinitionNode(String schema, String namespaceURI, String prefix) Creates schema definition node.Gets schema properties.Gets namespaces URI of xmp node.Gets prefix of xmp node.Gets property of xmp node.Gets xmp node.
-
Constructor Details
-
VeraPDFExtensionSchemaDefinition
VeraPDF extension schema.- Parameters:
xmpNode- a metadata node
-
-
Method Details
-
getExtensionSchemaProperties
Gets schema properties.- Returns:
- schema properties
-
getPropertiesNode
Gets property of xmp node.- Returns:
- xmp node property value
-
addExtensionSchemaProperty
public void addExtensionSchemaProperty(VeraPDFExtensionSchemaProperty propertyDefinitionXMPNode) throws XMPException Adds extension schema property.- Parameters:
propertyDefinitionXMPNode- a property of xmp node- Throws:
XMPException- exceptions from the metadata processing
-
getNamespaceURI
Gets namespaces URI of xmp node.- Returns:
- xmp node namespace value
-
getPrefix
Gets prefix of xmp node.- Returns:
- xmp node prefix value
-
getXmpNode
Gets xmp node.- Returns:
- original xmp node from metadata
-
createExtensionSchemaDefinitionNode
public static VeraPDFExtensionSchemaDefinition createExtensionSchemaDefinitionNode(String schema, String namespaceURI, String prefix) throws XMPException Creates schema definition node.- Parameters:
schema- a xmp schema definitionnamespaceURI- a namespace URI of the nodeprefix- a prefix of the node- Returns:
- xmp extension schema
- Throws:
XMPException- exceptions from the metadata processing
-