public class XMPUtilityMetadata extends Object implements Serializable
A null value in this object represents missing entries in the metadata.
That is, if you invoke the ImportMetadata
method with an XMPUtilityMetadata
object
that contains all null values, all those entries are removed from the metadata.
importMetadata()
,
Serialized FormConstructor and Description |
---|
XMPUtilityMetadata()
A constructor that creates a
XMPUtilityMetadata instance. |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Gets the author value.
|
String |
getCreator()
Gets the creator value.
|
List |
getKeywords()
Gets a list of keyword values.
|
String |
getProducer()
Gets a producer value.
|
String |
getSubject()
Gets a subject value.
|
String |
getTitle()
Gets a title value.
|
void |
setAuthor(String author)
Sets the author value.
|
void |
setCreator(String creator)
Sets the creator value.
|
void |
setKeywords(List keywords)
Sets a list of keyword values to import into a PDF document.
|
void |
setProducer(String producer)
Sets a producer value to import into a PDF document.
|
void |
setSubject(String subject)
Sets a subject value.
|
void |
setTitle(String title)
Sets a title value.
|
public XMPUtilityMetadata()
XMPUtilityMetadata
instance. When you create this object, all metadata values are null.
You must set them by invoking the appropriate method. For example, to set the author value, invoke setAuthor
.public String getAuthor()
setAuthor
public void setAuthor(String author)
author
- A string value that represents the author value.getAuthor
public String getCreator()
setCreator
public void setCreator(String creator)
creator
- A string value that represents the creator value.getCreator
public List getKeywords()
java.util.List
object that contains keyword values.setKeywords
public void setKeywords(List keywords)
keywords
- A java.util.List
object that contains keyword values.getKeywords
public String getProducer()
setProducer
public void setProducer(String producer)
producer
- A string value that represents the producer value.getProducer
public String getSubject()
setSubject
public void setSubject(String subject)
subject
- A string value that represents the subject value.getSubject
public String getTitle()
setTitle
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.