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
-
public class AdobePDFSchema extends XMPSchema
Representation of Adobe PDF Schema
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEYWORDS
static java.lang.String
PDF_VERSION
static java.lang.String
PRODUCER
-
Fields inherited from class org.apache.xmpbox.type.AbstractStructuredType
STRUCTURE_ARRAY_NAME
-
-
Constructor Summary
Constructors Constructor Description AdobePDFSchema(XMPMetadata metadata)
Constructor of an Adobe PDF schema with preferred prefixAdobePDFSchema(XMPMetadata metadata, java.lang.String ownPrefix)
Constructor of an Adobe PDF schema with specified prefix
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKeywords()
Give the PDF Keywords property value (string)TextType
getKeywordsProperty()
Give the PDF Keywords propertyjava.lang.String
getPDFVersion()
Give the PDFVersion property value (string)TextType
getPDFVersionProperty()
Give the PDFVersion propertyjava.lang.String
getProducer()
Give the producer property value (string)TextType
getProducerProperty()
Give the producer propertyvoid
setKeywords(java.lang.String value)
Set the PDF keywordsvoid
setKeywordsProperty(TextType keywords)
Set the PDF keywordsvoid
setPDFVersion(java.lang.String value)
Set the PDFVersionvoid
setPDFVersionProperty(TextType version)
Set the PDFVersionvoid
setProducer(java.lang.String value)
Set the PDFProducervoid
setProducerProperty(TextType producer)
Set the PDFProducer-
Methods 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 Detail
-
KEYWORDS
public static final java.lang.String KEYWORDS
- See Also:
- Constant Field Values
-
PDF_VERSION
public static final java.lang.String PDF_VERSION
- See Also:
- Constant Field Values
-
PRODUCER
public static final java.lang.String PRODUCER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdobePDFSchema
public AdobePDFSchema(XMPMetadata metadata)
Constructor of an Adobe PDF schema with preferred prefix- Parameters:
metadata
- The metadata to attach this schema
-
AdobePDFSchema
public AdobePDFSchema(XMPMetadata metadata, java.lang.String ownPrefix)
Constructor of an Adobe PDF schema with specified prefix- Parameters:
metadata
- The metadata to attach this schemaownPrefix
- The prefix to assign
-
-
Method Detail
-
setKeywords
public void setKeywords(java.lang.String value)
Set the PDF keywords- Parameters:
value
- Value to set
-
setKeywordsProperty
public void setKeywordsProperty(TextType keywords)
Set the PDF keywords- Parameters:
keywords
- Property to set
-
setPDFVersion
public void setPDFVersion(java.lang.String value)
Set the PDFVersion- Parameters:
value
- Value to set
-
setPDFVersionProperty
public void setPDFVersionProperty(TextType version)
Set the PDFVersion- Parameters:
version
- Property to set
-
setProducer
public void setProducer(java.lang.String value)
Set the PDFProducer- Parameters:
value
- Value to set
-
setProducerProperty
public void setProducerProperty(TextType producer)
Set the PDFProducer- Parameters:
producer
- Property to set
-
getKeywordsProperty
public TextType getKeywordsProperty()
Give the PDF Keywords property- Returns:
- The property object
-
getKeywords
public java.lang.String getKeywords()
Give the PDF Keywords property value (string)- Returns:
- The property value
-
getPDFVersionProperty
public TextType getPDFVersionProperty()
Give the PDFVersion property- Returns:
- The property object
-
getPDFVersion
public java.lang.String getPDFVersion()
Give the PDFVersion property value (string)- Returns:
- The property value
-
getProducerProperty
public TextType getProducerProperty()
Give the producer property- Returns:
- The property object
-
getProducer
public java.lang.String getProducer()
Give the producer property value (string)- Returns:
- The property value
-
-