CustomXmlPropertyCollection

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

NameTypeAccessDescription
countintReadGets the number of elements contained in the collection.

Methods

SignatureDescription
getCount() → intGets the number of elements contained in the collection.
get(name: String) → CustomXmlPropertyGets a property with the specified name.
get(index: int) → CustomXmlPropertyGets 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) → booleanDetermines whether the collection contains a property with the given name.
indexOfKey(name: String) → intReturns 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.

See Also