|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.interchange.metadata.PdfXmpMetadata
public class PdfXmpMetadata
A metadata stream containing metadata for document.
| Constructor Summary | |
|---|---|
PdfXmpMetadata()
|
|
PdfXmpMetadata(PdfStream stream)
A constructor for a existing metadata stream. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear content in Metadata. |
void |
deleteProperty(java.lang.String schemaNs,
java.lang.String propName)
Deletes the given XMP subtree rooted at the given property. |
void |
dispose()
Releases all resources used. |
boolean |
existProperty(java.lang.String schemaNs,
java.lang.String propName)
Returns whether the property exists. |
com.spire.ms.System.DateTime |
getPropertyDate(java.lang.String schemaNs,
java.lang.String propName)
Convenience method to retrieve the literal value of a property. |
java.lang.String |
getPropertyString(java.lang.String schemaNs,
java.lang.String propName)
Convenience method to retrieve the literal value of a property. |
static PdfXmpMetadata |
parse(com.spire.ms.System.IO.Stream stream)
Parse the xmp metadata. |
void |
setPropertyDate(java.lang.String schemaNs,
java.lang.String propName,
com.spire.ms.System.DateTime propValue)
|
void |
setPropertyString(java.lang.String schemaNs,
java.lang.String propName,
java.lang.String propValue)
|
| Constructor Detail |
|---|
public PdfXmpMetadata()
public PdfXmpMetadata(PdfStream stream)
stream - A existing metadata stream.| Method Detail |
|---|
public boolean existProperty(java.lang.String schemaNs,
java.lang.String propName)
schemaNs - The namespace URI for the property. Has the same usage as in propName - The name of the property. Has the same usage as in
public void deleteProperty(java.lang.String schemaNs,
java.lang.String propName)
schemaNs - The namespace URI for the property. Has the same usage as in propName - The name of the property. Has the same usage as in
public void setPropertyString(java.lang.String schemaNs,
java.lang.String propName,
java.lang.String propValue)
schemaNs - The namespace URIpropName - The name of the propertypropValue - The value for the property
public java.lang.String getPropertyString(java.lang.String schemaNs,
java.lang.String propName)
schemaNs - The namespace URI for the property. Has the same usage as in propName - The name of the property. Has the same usage as in
public void setPropertyDate(java.lang.String schemaNs,
java.lang.String propName,
com.spire.ms.System.DateTime propValue)
schemaNs - The namespace URIpropName - The name of the propertypropValue - The value for the property
public com.spire.ms.System.DateTime getPropertyDate(java.lang.String schemaNs,
java.lang.String propName)
schemaNs - The namespace URI for the property. Has the same usage as in propName - The name of the property. Has the same usage as in public void clear()
public static PdfXmpMetadata parse(com.spire.ms.System.IO.Stream stream)
stream - The xmp metadata stream.
public void dispose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||