|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.TagsEx
public class TagsEx
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. |
java.lang.String |
get(java.lang.String name)
Returns a key and a value pair of a tag. |
java.lang.String |
getByIndex(int index)
Returns value of a tag at the specified index. |
java.lang.String |
getKey(int index)
Returns key of a tag at the specified index. |
int |
indexOfKey(java.lang.String name)
Returns the zero-based index of the specified key in the 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(java.lang.String name,
java.lang.String value)
Sets a key and a value pair of a tag. |
int |
size()
Returns a number of tags in the collectoin. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public int add(java.lang.String name, java.lang.String value)
name
- The name of the tag.value
- The value of the tag.
public void remove(java.lang.String name)
name
- The name of tag to remove.public int indexOfKey(java.lang.String name)
name
- The name to locate in the collection.
public boolean contains(java.lang.String name)
name
- The key to locate.
public void removeAt(int index)
index
- The zero-based index of the tag to remove.public void clear()
public java.lang.String getByIndex(int index)
index
- Index of a tag to return.
public java.lang.String getKey(int index)
index
- Index of a tag to return.
public java.lang.String get(java.lang.String name)
name
- Key of a tag.
public void set(java.lang.String name, java.lang.String value)
name
- Key of a tag.value
- Value of a tag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |