XmpBasicPackage

Inheritance: java.lang.Object, com.aspose.psd.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
RatingMaxRating max value.
RatingMinRating min value.
RatingRejectedRating rejected value.

Methods

MethodDescription
addComplexTypeNamespace_internalized(String typePrefix, String typeNamespaceUri)Adds the complex type namespace.
addValue(String key, String value)Adds string property.
assign_internalized(XmpPackage xmpPackege)Assigns the specified XMP package to current one.
clear()Clears this instance.
combinePackage_internalized(XmpPackage other)Combines the package.
containsKey(String key)Determines whether the specified key contains key.
deepClone_internalized()Clones this instance.
equals(Object arg0)
getClass()
getKeys()Gets the keys in XMP package.
getNamespaceUri()Gets the namespace URI.
getPrefix()Gets the prefix.
getXmlNamespace()Gets the XML namespace.
getXmlValue()Converts XMP value to the XML representation.
get_Item(String key)Gets or sets the Object with the specified key.
hashCode()
iterator()Returns an enumerator that iterates through the collection.
notify()
notifyAll()
remove(String key)Remove the value with the specified key.
setCreatedDate(String createdDate)Adds resource created date.
setCreatedDate_internalized(System.DateTime createdDate)Adds resource created date.
setCreatorTool(String creatorTool)Sets the creator tool.
setIdentifier(String[] idenfifier)Sets the identifier.
setLabel(String label)Sets the label.
setMetadataDate(String metadataDate)Adds metadata last changed date.
setMetadataDate_internalized(System.DateTime metadataDate)Adds metadata last changed date.
setModifyDate(String modifiedDate)Adds resource last modified date.
setModifyDate_internalized(System.DateTime modifiedDate)Adds resource last modified date.
setRating(int choise)Sets rating.
setValue(String key, IXmlValue value)Sets the value.
setXmpBoolean(String key, String boolValue)Sets the XMP boolean value.
setXmpGuid(String key, String guid)Sets the XMP unique identifier.
setXmpTypeValue(String key, XmpTypeBase value)Sets the XMP type value.
set_Item(String key, Object value)Gets or sets the Object with the specified key.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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.

RatingMax

public static final int RatingMax

Rating max value.

RatingMin

public static final int RatingMin

Rating min value.

RatingRejected

public static final int RatingRejected

Rating rejected value.

addComplexTypeNamespace_internalized(String typePrefix, String typeNamespaceUri)

public void addComplexTypeNamespace_internalized(String typePrefix, String typeNamespaceUri)

Adds the complex type namespace.

Parameters:

ParameterTypeDescription
typePrefixjava.lang.StringThe type prefix.
typeNamespaceUrijava.lang.StringThe type namespace URI.

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.

assign_internalized(XmpPackage xmpPackege)

public void assign_internalized(XmpPackage xmpPackege)

Assigns the specified XMP package to current one.

Parameters:

ParameterTypeDescription
xmpPackegeXmpPackageThe XMP package.

clear()

public void clear()

Clears this instance.

combinePackage_internalized(XmpPackage other)

public void combinePackage_internalized(XmpPackage other)

Combines the package.

Parameters:

ParameterTypeDescription
otherXmpPackageThe other package to combine.

containsKey(String key)

public boolean containsKey(String key)

Determines whether the specified key contains key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe key to be checked.

Returns: boolean - Returns true if the specified key contains key.

deepClone_internalized()

public final XmpPackage deepClone_internalized()

Clones this instance.

Returns: XmpPackage - The cloned object

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getKeys()

public System.Collections.Generic.Dictionary.KeyCollection<String,Object> getKeys()

Gets the keys in XMP package.

Value: The keys in XMP package.

Returns: com.aspose.ms.System.Collections.Generic.Dictionary.KeyCollection<java.lang.String,java.lang.Object>

getNamespaceUri()

public String getNamespaceUri()

Gets the namespace URI.

Value: The namespace URI.

Returns: java.lang.String

getPrefix()

public String getPrefix()

Gets the prefix.

Value: The prefix.

Returns: java.lang.String

getXmlNamespace()

public String getXmlNamespace()

Gets the XML namespace.

Value: The XML namespace.

Returns: java.lang.String

getXmlValue()

public String getXmlValue()

Converts XMP value to the XML representation.

Returns: java.lang.String - Returns the XMP value converted to the XML representation.

get_Item(String key)

public Object get_Item(String key)

Gets or sets the Object with the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe key that identifies value. Value: The Object.

Returns: java.lang.Object - Returns the Object with the specified key.

hashCode()

public native int hashCode()

Returns: int

iterator()

public System.Collections.Generic.IGenericEnumerator<System.Collections.Generic.KeyValuePair<String,Object>> iterator()

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.String,java.lang.Object» - A T:System.Collections.Generic.IEnumerator1 that can be used to iterate through the collection.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(String key)

public boolean remove(String key)

Remove the value with the specified key.

Parameters:

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

Returns: boolean - Returns true if the value with the specified key was removed.

setCreatedDate(String createdDate)

public void setCreatedDate(String createdDate)

Adds resource created date.

Parameters:

ParameterTypeDescription
createdDatejava.lang.StringCreated date.

setCreatedDate_internalized(System.DateTime createdDate)

public void setCreatedDate_internalized(System.DateTime createdDate)

Adds resource created date.

Parameters:

ParameterTypeDescription
createdDatecom.aspose.ms.System.DateTimeCreated date.

setCreatorTool(String creatorTool)

public void setCreatorTool(String creatorTool)

Sets the creator tool.

Parameters:

ParameterTypeDescription
creatorTooljava.lang.StringName of tool.

setIdentifier(String[] idenfifier)

public void setIdentifier(String[] idenfifier)

Sets the identifier.

Parameters:

ParameterTypeDescription
idenfifierjava.lang.String[]The idenfifier.

setLabel(String label)

public void setLabel(String label)

Sets the label.

Parameters:

ParameterTypeDescription
labeljava.lang.StringThe label.

setMetadataDate(String metadataDate)

public void setMetadataDate(String metadataDate)

Adds metadata last changed date.

Parameters:

ParameterTypeDescription
metadataDatejava.lang.StringMetadata date.

setMetadataDate_internalized(System.DateTime metadataDate)

public void setMetadataDate_internalized(System.DateTime metadataDate)

Adds metadata last changed date.

Parameters:

ParameterTypeDescription
metadataDatecom.aspose.ms.System.DateTimeMetadata date.

setModifyDate(String modifiedDate)

public void setModifyDate(String modifiedDate)

Adds resource last modified date.

Parameters:

ParameterTypeDescription
modifiedDatejava.lang.StringLast modified date.

setModifyDate_internalized(System.DateTime modifiedDate)

public void setModifyDate_internalized(System.DateTime modifiedDate)

Adds resource last modified date.

Parameters:

ParameterTypeDescription
modifiedDatecom.aspose.ms.System.DateTimeLast modified date.

setRating(int choise)

public void setRating(int choise)

Sets rating.

Parameters:

ParameterTypeDescription
choiseintFrom -1 till 5

setValue(String key, IXmlValue value)

public void setValue(String key, IXmlValue value)

Sets the value.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valueIXmlValueThe value to add to.

setXmpBoolean(String key, String boolValue)

public void setXmpBoolean(String key, String boolValue)

Sets the XMP boolean value.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with set value.
boolValuejava.lang.StringThe boolean value.

setXmpGuid(String key, String guid)

public void setXmpGuid(String key, String guid)

Sets the XMP unique identifier.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with set GUID value.
guidjava.lang.StringThe unique identifier.

setXmpTypeValue(String key, XmpTypeBase value)

public void setXmpTypeValue(String key, XmpTypeBase value)

Sets the XMP type value.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with set value.
valueXmpTypeBaseThe value to set to.

set_Item(String key, Object value)

public void set_Item(String key, Object value)

Gets or sets the Object with the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe key that identifies value. Value: The Object.
valuejava.lang.Object

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int