|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.TagsEx
com.aspose.slides.TagExCollection
public final class TagExCollection
Represents the collection of tags (user defined pairs of strings)
Method Summary | |
---|---|
int |
add(java.lang.String name,
java.lang.String value)
Adds a new tag to collection. |
void |
clear()
Removes all tags from the collection. |
boolean |
contains(java.lang.String name)
Determines whether the collection contains a specific name. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection into the specified array. |
java.lang.String |
get_Item(java.lang.String name)
Returns or sets a key and a value pair of a tag. |
java.lang.String |
getByIndex(int index)
Returns value of a tag at the specified index. |
int |
getCount()
Returns a number of tags in the collectoin. |
java.lang.String |
getKey(int index)
Returns key of a tag at the specified index. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
int |
indexOfKey(java.lang.String name)
Returns the zero-based index of the specified key in the collection. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns an enumerator for the entire collection. |
void |
remove(java.lang.String name)
Removes the tag with a specified name from the collection. |
void |
removeAt(int index)
Removes the tag at the specified index. |
void |
set_Item(java.lang.String name,
java.lang.String value)
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection into the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- Array to fill.index
- Starting position in target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable
iterator
in interface java.lang.Iterable
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection
public int getCount()
TagsEx
Returns a number of tags in the collectoin.
getCount
in class TagsEx
public int add(java.lang.String name, java.lang.String value)
TagsEx
Adds a new tag to collection.
add
in class TagsEx
name
- The name of the tag.value
- The value of the tag.
public void remove(java.lang.String name)
TagsEx
Removes the tag with a specified name from the collection.
remove
in class TagsEx
name
- The name of tag to remove.public int indexOfKey(java.lang.String name)
TagsEx
Returns the zero-based index of the specified key in the collection.
indexOfKey
in class TagsEx
name
- The name to locate in the collection.
public boolean contains(java.lang.String name)
TagsEx
Determines whether the collection contains a specific name.
contains
in class TagsEx
name
- The key to locate.
public void removeAt(int index)
TagsEx
Removes the tag at the specified index.
removeAt
in class TagsEx
index
- The zero-based index of the tag to remove.public void clear()
TagsEx
Removes all tags from the collection.
clear
in class TagsEx
public java.lang.String getByIndex(int index)
TagsEx
Returns value of a tag at the specified index.
getByIndex
in class TagsEx
index
- Index of a tag to return.
public java.lang.String getKey(int index)
TagsEx
Returns key of a tag at the specified index.
getKey
in class TagsEx
index
- Index of a tag to return.
public java.lang.String get_Item(java.lang.String name)
TagsEx
Returns or sets a key and a value pair of a tag.
get_Item
in class TagsEx
name
- Key of a tag.
public void set_Item(java.lang.String name, java.lang.String value)
set_Item
in class TagsEx
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |