|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Tags
com.aspose.slides.TagCollection
public final class TagCollection
Represents a collection of a tags.
Method Summary | |
---|---|
void |
add(java.lang.String name,
java.lang.String value)
Adds a tag with the specified name. |
void |
clear()
Removes all tags. |
boolean |
contains(java.lang.String name)
Determines whether the collection contains a tag with the specific name. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
java.lang.String |
get_Item(java.lang.String name)
Gets and sets the tag associated with a specific name. |
int |
getCount()
Gets the number of tags actually contained in the collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
java.lang.String |
getTagName(int index)
Gets the tag name at the specified index of 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 the specified name from collection. |
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 to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- Target array.index
- Starting index in the 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()
Tags
Gets the number of tags actually contained in the collection.
getCount
in class Tags
public java.lang.String get_Item(java.lang.String name)
Tags
Gets and sets the tag associated with a specific name.
get_Item
in class Tags
public void set_Item(java.lang.String name, java.lang.String value)
set_Item
in class Tags
public void add(java.lang.String name, java.lang.String value)
Tags
Adds a tag with the specified name.
add
in class Tags
name
- The name of the tag to add.value
- The value of the tag to add.public void clear()
Tags
Removes all tags.
clear
in class Tags
public boolean contains(java.lang.String name)
Tags
Determines whether the collection contains a tag with the specific name.
contains
in class Tags
name
- The name of tag to locate in the collection.
public java.lang.String getTagName(int index)
Tags
Gets the tag name at the specified index of the collection.
getTagName
in class Tags
index
- The zero-based index of the tag name to get.
public void remove(java.lang.String name)
Tags
Removes the tag with the specified name from collection.
remove
in class Tags
name
- The name of the tag to remove.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |