com.aspose.words
Class CustomXmlPropertyCollection

java.util.HashMap
    extended by com.aspose.words.CustomXmlPropertyCollection

public class CustomXmlPropertyCollection 
extends java.util.HashMap

Represents a collection of custom XML attributes or smart tag properties.

Items are CustomXmlProperty objects.


Property Getters/Setters Summary
CustomXmlPropertyget(java.lang.String name)
voidset(java.lang.String name, CustomXmlProperty value)
           Retrieves a property with the specified name.
 
Method Summary
voidadd(CustomXmlProperty property)
           Adds a property to the the collection.
booleancontains(CustomXmlProperty property)
           Determines whether a property is in the collection.
booleancontainsKey(java.lang.String name)
           Determines whether a property with the given name is in the collection.
voidremove(CustomXmlProperty property)
           Removes a property from the collection.
 

Property Getters/Setters Detail

get/set

public CustomXmlProperty get(java.lang.String name) / public void set(java.lang.String name, CustomXmlProperty value)
Retrieves a property with the specified name.
Parameters:
name - Case-sensitive name of the property to locate.

Method Detail

add

public void add(CustomXmlProperty property)
Adds a property to the the collection.
Parameters:
property - The property to add.

remove

public void remove(CustomXmlProperty property)
Removes a property from the collection.
Parameters:
property - The property to remove.

contains

public boolean contains(CustomXmlProperty property)
Determines whether a property is in the collection.
Parameters:
property - The property to locate.
Returns:
True if item is found in the collection; otherwise, false.

containsKey

public boolean containsKey(java.lang.String name)
Determines whether a property with the given name is in the collection.
Parameters:
name - Case-sensitive name of the property to locate.
Returns:
True if item is found in the collection; otherwise, false.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.