|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.xmp.xmpmetadata
public class xmpmetadata
represents xmp metadata of the document.
constructor summary | |
---|---|
xmpmetadata(pdfdocumentinformation documentinfo)
initializes a new instance of the class. |
|
xmpmetadata(com.spire.ms.system.xml.xmldocument xmp)
initializes a new instance of the class. |
method summary | |
---|---|
java.lang.string |
getauthor()
return author if exists; otherwise return null |
com.spire.ms.system.datetime |
getcreatedate()
return create date if exists; otherwise return default datetime |
java.lang.string |
getcreator()
return creator if exists; otherwise return null |
java.lang.string |
getcustomproperty(java.lang.string fieldname)
return specified custom field value if exists; otherwise return null |
java.lang.string |
getkeywords()
return keywords if exists; otherwise return null |
java.util.date |
getmodifydate()
return modify date if exists; otherwise return default datetime |
com.spire.ms.system.xml.xmlnamespacemanager |
getnamespacemanager()
gets namespace manager of the xmp metadata. |
java.lang.string |
getproducer()
return producer if exists; otherwise return null |
java.lang.string |
getsubject()
return subject if exists; otherwise return null |
java.lang.string |
gettitle()
return title if exists; otherwise return null |
com.spire.ms.system.xml.xmldocument |
getxmldata()
gets xmp data in xml format. |
void |
load(com.spire.ms.system.xml.xmldocument xmp)
loads xmp from the xml. |
void |
setauthor(java.lang.string value)
set subject to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setcreatedate(java.util.date dt)
set title to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setcreator(java.lang.string value)
set creator to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setcustomproperty(java.lang.string field,
java.lang.string value)
set custom property to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setkeywords(java.lang.string value)
set keywords to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setmodifydate(java.util.date dt)
set modifydates to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setpdfstream( stream)
|
void |
setproducer(java.lang.string value)
set producer to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
setsubject(java.lang.string value)
set subject to xmpmeta; if value is null, remove the node; if the node is null, create the node |
void |
settitle(java.lang.string value)
set title to xmpmeta; if value is null, remove the node; if the node is null, create the node |
constructor detail |
---|
public xmpmetadata(pdfdocumentinformation documentinfo)
public xmpmetadata(com.spire.ms.system.xml.xmldocument xmp)
xmp
- the xmp.method detail |
---|
public com.spire.ms.system.xml.xmldocument getxmldata()
public com.spire.ms.system.xml.xmlnamespacemanager getnamespacemanager()
public void setpdfstream( stream)
public void load(com.spire.ms.system.xml.xmldocument xmp)
xmp
- xmp data in xmldocument.if there was any data in this xmp, it will be replaced by the data from the xml.
public java.lang.string gettitle()
public java.lang.string getsubject()
public java.lang.string getauthor()
public java.lang.string getproducer()
public java.lang.string getkeywords()
public java.lang.string getcustomproperty(java.lang.string fieldname)
fieldname
-
public com.spire.ms.system.datetime getcreatedate()
public java.lang.string getcreator()
public java.util.date getmodifydate()
public void settitle(java.lang.string value)
value
- public void setsubject(java.lang.string value)
value
- public void setauthor(java.lang.string value)
value
- public void setproducer(java.lang.string value)
value
- public void setkeywords(java.lang.string value)
value
- public void setcustomproperty(java.lang.string field, java.lang.string value)
field
- value
- public void setcreatedate(java.util.date dt)
dt
- public void setcreator(java.lang.string value)
value
- public void setmodifydate(java.util.date dt)
dt
-
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |