com.aspose.slides
Class TagsEx

java.lang.Object
  extended by com.aspose.slides.TagsEx
Direct Known Subclasses:
TagExCollection

Deprecated.

@Deprecated
public class TagsEx
extends java.lang.Object

Represents the collection of tags (user defined pairs of strings)


Method Summary
 int add(java.lang.String name, java.lang.String value)
          Deprecated.  Adds a new tag to collection.
 void clear()
          Deprecated.  Removes all tags from the collection.
 boolean contains(java.lang.String name)
          Deprecated.  Determines whether the collection contains a specific name.
 java.lang.String get_Item(java.lang.String name)
          Deprecated.  Returns or sets a key and a value pair of a tag.
 java.lang.String getByIndex(int index)
          Deprecated.  Returns value of a tag at the specified index.
 int getCount()
          Deprecated.  Returns a number of tags in the collectoin.
 java.lang.String getKey(int index)
          Deprecated.  Returns key of a tag at the specified index.
 int indexOfKey(java.lang.String name)
          Deprecated.  Returns the zero-based index of the specified key in the collection.
 void remove(java.lang.String name)
          Deprecated.  Removes the tag with a specified name from the collection.
 void removeAt(int index)
          Deprecated.  Removes the tag at the specified index.
 void set_Item(java.lang.String name, java.lang.String value)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Deprecated. 

Returns a number of tags in the collectoin.


add

public int add(java.lang.String name,
               java.lang.String value)
Deprecated. 

Adds a new tag to collection.

Parameters:
name - The name of the tag.
value - The value of the tag.
Returns:
The index of the added tag.

remove

public void remove(java.lang.String name)
Deprecated. 

Removes the tag with a specified name from the collection.

Parameters:
name - The name of tag to remove.

indexOfKey

public int indexOfKey(java.lang.String name)
Deprecated. 

Returns the zero-based index of the specified key in the collection.

Parameters:
name - The name to locate in the collection.
Returns:
The zero-based index of key, if key is found in the collection; otherwise, -1.

contains

public boolean contains(java.lang.String name)
Deprecated. 

Determines whether the collection contains a specific name.

Parameters:
name - The key to locate.
Returns:
True if the collection contains an tag with the specified key; otherwise, false.

removeAt

public void removeAt(int index)
Deprecated. 

Removes the tag at the specified index.

Parameters:
index - The zero-based index of the tag to remove.

clear

public void clear()
Deprecated. 

Removes all tags from the collection.


getByIndex

public java.lang.String getByIndex(int index)
Deprecated. 

Returns value of a tag at the specified index.

Parameters:
index - Index of a tag to return.
Returns:
Value of a tag.

getKey

public java.lang.String getKey(int index)
Deprecated. 

Returns key of a tag at the specified index.

Parameters:
index - Index of a tag to return.
Returns:
Key of a tag.

get_Item

public java.lang.String get_Item(java.lang.String name)
Deprecated. 

Returns or sets a key and a value pair of a tag.

Parameters:
name - Key of a tag.
Returns:
Value of a tag.

set_Item

public void set_Item(java.lang.String name,
                     java.lang.String value)
Deprecated.