public class CustomXmlPropertyCollection
extends java.lang.Object
implements java.lang.Iterable
To learn more, visit the Structured Document Tags or Content Control documentation article.
Items are CustomXmlProperty objects.
| Modifier and Type | Method and Description |
|---|---|
void |
add(CustomXmlProperty property)
Adds a property to the collection.
|
void |
clear()
Removes all elements from the collection.
|
boolean |
contains(java.lang.String name)
Determines whether the collection contains a property with the given name.
|
CustomXmlProperty |
get(int index)
Gets a property at the specified index.
|
CustomXmlProperty |
get(java.lang.String name)
|
int |
getCount()
Gets the number of elements contained in the collection.
|
int |
indexOfKey(java.lang.String name)
Returns the zero-based index of the specified property in the collection.
|
java.util.Iterator |
iterator()
Returns an iterator object that can be used to iterate over all items in the collection.
|
void |
remove(java.lang.String name)
Removes a property with the specified name from the collection.
|
void |
removeAt(int index)
Removes a property at the specified index.
|
public int getCount()
public CustomXmlProperty get(java.lang.String name)
name - Case-sensitive name of the property to locate.CustomXmlProperty value.public CustomXmlProperty get(int index)
index - Zero-based index of the property.public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic void add(CustomXmlProperty property)
property - The property to add.public boolean contains(java.lang.String name)
name - Case-sensitive name of the property to locate.public int indexOfKey(java.lang.String name)
name - The case-sensitive name of the property.public void remove(java.lang.String name)
name - The case-sensitive name of the property.public void removeAt(int index)
index - The zero based index.public void clear()