public class CustomXmlPropertyCollection
Items are
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements contained in the collection.
|
||
CustomXmlProperty | get(int index) | |
Gets a property at the specified index.
|
||
CustomXmlProperty | get(java.lang.String name) | |
Gets a property with the specified name.
|
Method Summary | ||
---|---|---|
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.
|
||
int | indexOfKey(java.lang.String name) | |
Returns the zero-based index of the specified property in the collection.
|
||
java.util.Iterator<CustomXmlProperty> | 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(int index)
index
- Zero-based index of the property.public CustomXmlProperty get(java.lang.String name)
name
- Case-sensitive name of the property to locate.public void add(CustomXmlProperty property)
property
- The property to add.public void clear()
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 java.util.Iterator<CustomXmlProperty> iterator()
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.