XmpBasicPackage

Inheritance: java.lang.Object, com.aspose.imaging.xmp.XmpPackage

public class XmpBasicPackage extends XmpPackage

Represents XMP basic namespace.

Constructors

ConstructorDescription
XmpBasicPackage()Initializes a new instance of the XmpBasicPackage class.
XmpBasicPackage(String prefix, String namespaceUri)Initializes a new instance of the XmpBasicPackage class.

Fields

FieldDescription
RATING_REJECTEDRating rejected value.
RATING_MINRating min value.
RATING_MAXRating max value.

Methods

MethodDescription
setLabel(String label)Sets the label.
addValue(String key, String value)Adds string property.
setCreatedDate(Date createdDate)Adds resource created date.
setCreatedDate(String createdDate)Adds resource created date.
setCreatorTool(String creatorTool)Sets the creator tool.
setIdentifier(String[] identifier)Sets the identifier.
setMetadataDate(Date metadataDate)Adds metadata last changed date.
setMetadataDate(String metadataDate)Adds metadata last changed date.
setModifyDate(Date modifiedDate)Adds resource last modified date.
setModifyDate(String modifiedDate)Adds resource last modified date.
setRating(int choice)Sets rating.

XmpBasicPackage()

public XmpBasicPackage()

Initializes a new instance of the XmpBasicPackage class.

XmpBasicPackage(String prefix, String namespaceUri)

public XmpBasicPackage(String prefix, String namespaceUri)

Initializes a new instance of the XmpBasicPackage class.

Parameters:

ParameterTypeDescription
prefixjava.lang.StringThe prefix.
namespaceUrijava.lang.StringThe namespace URI.

RATING_REJECTED

public static final int RATING_REJECTED

Rating rejected value.

RATING_MIN

public static final int RATING_MIN

Rating min value.

RATING_MAX

public static final int RATING_MAX

Rating max value.

setLabel(String label)

public void setLabel(String label)

Sets the label.

Parameters:

ParameterTypeDescription
labeljava.lang.StringThe label.

addValue(String key, String value)

public void addValue(String key, String value)

Adds string property.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.StringThe string value.

setCreatedDate(Date createdDate)

public void setCreatedDate(Date createdDate)

Adds resource created date.

Parameters:

ParameterTypeDescription
createdDatejava.util.DateCreated date.

setCreatedDate(String createdDate)

public void setCreatedDate(String createdDate)

Adds resource created date.

Parameters:

ParameterTypeDescription
createdDatejava.lang.StringCreated date.

setCreatorTool(String creatorTool)

public void setCreatorTool(String creatorTool)

Sets the creator tool.

Parameters:

ParameterTypeDescription
creatorTooljava.lang.StringName of tool.

setIdentifier(String[] identifier)

public void setIdentifier(String[] identifier)

Sets the identifier.

Parameters:

ParameterTypeDescription
identifierjava.lang.String[]The identifier.

setMetadataDate(Date metadataDate)

public void setMetadataDate(Date metadataDate)

Adds metadata last changed date.

Parameters:

ParameterTypeDescription
metadataDatejava.util.DateMetadata date.

setMetadataDate(String metadataDate)

public void setMetadataDate(String metadataDate)

Adds metadata last changed date.

Parameters:

ParameterTypeDescription
metadataDatejava.lang.StringMetadata date.

setModifyDate(Date modifiedDate)

public void setModifyDate(Date modifiedDate)

Adds resource last modified date.

Parameters:

ParameterTypeDescription
modifiedDatejava.util.DateLast modified date.

setModifyDate(String modifiedDate)

public void setModifyDate(String modifiedDate)

Adds resource last modified date.

Parameters:

ParameterTypeDescription
modifiedDatejava.lang.StringLast modified date.

setRating(int choice)

public void setRating(int choice)

Sets rating.

Parameters:

ParameterTypeDescription
choiceintFrom -1 till 5