Package org.apache.xmpbox.schema
Class AdobePDFSchema
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractComplexProperty
org.apache.xmpbox.type.AbstractStructuredType
org.apache.xmpbox.schema.XMPSchema
org.apache.xmpbox.schema.AdobePDFSchema
Representation of Adobe PDF Schema
-
Field Summary
FieldsFields inherited from class org.apache.xmpbox.type.AbstractStructuredType
STRUCTURE_ARRAY_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionAdobePDFSchema
(XMPMetadata metadata) Constructor of an Adobe PDF schema with preferred prefixAdobePDFSchema
(XMPMetadata metadata, String ownPrefix) Constructor of an Adobe PDF schema with specified prefix -
Method Summary
Modifier and TypeMethodDescriptionGive the PDF Keywords property value (string)Give the PDF Keywords propertyGive the PDFVersion property value (string)Give the PDFVersion propertyGive the producer property value (string)Give the producer propertyvoid
setKeywords
(String value) Set the PDF keywordsvoid
setKeywordsProperty
(TextType keywords) Set the PDF keywordsvoid
setPDFVersion
(String value) Set the PDFVersionvoid
setPDFVersionProperty
(TextType version) Set the PDFVersionvoid
setProducer
(String value) Set the PDFProducervoid
setProducerProperty
(TextType producer) Set the PDFProducerMethods inherited from class org.apache.xmpbox.schema.XMPSchema
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
Methods inherited from class org.apache.xmpbox.type.AbstractStructuredType
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefix
Methods inherited from class org.apache.xmpbox.type.AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
Methods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
KEYWORDS
- See Also:
-
PDF_VERSION
- See Also:
-
PRODUCER
- See Also:
-
-
Constructor Details
-
AdobePDFSchema
Constructor of an Adobe PDF schema with preferred prefix- Parameters:
metadata
- The metadata to attach this schema
-
AdobePDFSchema
Constructor of an Adobe PDF schema with specified prefix- Parameters:
metadata
- The metadata to attach this schemaownPrefix
- The prefix to assign
-
-
Method Details
-
setKeywords
Set the PDF keywords- Parameters:
value
- Value to set
-
setKeywordsProperty
Set the PDF keywords- Parameters:
keywords
- Property to set
-
setPDFVersion
Set the PDFVersion- Parameters:
value
- Value to set
-
setPDFVersionProperty
Set the PDFVersion- Parameters:
version
- Property to set
-
setProducer
Set the PDFProducer- Parameters:
value
- Value to set
-
setProducerProperty
Set the PDFProducer- Parameters:
producer
- Property to set
-
getKeywordsProperty
Give the PDF Keywords property- Returns:
- The property object
-
getKeywords
Give the PDF Keywords property value (string)- Returns:
- The property value
-
getPDFVersionProperty
Give the PDFVersion property- Returns:
- The property object
-
getPDFVersion
Give the PDFVersion property value (string)- Returns:
- The property value
-
getProducerProperty
Give the producer property- Returns:
- The property object
-
getProducer
Give the producer property value (string)- Returns:
- The property value
-