CustomXmlPropertyCollection
Overview
CustomXmlPropertyCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<CustomXmlProperty>.
Represents a collection of custom XML attributes or smart tag properties.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This class declares 10 methods for CustomXmlPropertyCollection objects in Java programs.
Available methods include: add, clear, contains, get, getCount, indexOfKey, iterator, remove, removeAt.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the number of elements contained in the collection. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Gets the number of elements contained in the collection. |
get(name: String) → CustomXmlProperty | Gets a property with the specified name. |
get(index: int) → CustomXmlProperty | Gets a property at the specified index. |
iterator() → Iterator<CustomXmlProperty> | Returns an iterator object that can be used to iterate over all items in the collection. |
add(property: CustomXmlProperty) | Adds a property to the collection. |
contains(name: String) → boolean | Determines whether the collection contains a property with the given name. |
indexOfKey(name: String) → int | Returns the zero-based index of the specified property in the collection. |
remove(name: String) | Removes a property with the specified name from the collection. |
removeAt(index: int) | Removes a property at the specified index. |
clear() | Removes all elements from the collection. |