com.aspose.slides
Class Tags

java.lang.Object
  extended by com.aspose.slides.Tags

public final class Tags
extends java.lang.Object

Represents the collection of a tags.


Method Summary
 void clear()
          Removes all tags.
 boolean containsTag(java.lang.String name)
          Determines whether the collection contains a tag with the specific name.
 java.lang.String get(java.lang.String name)
          Returns the tag associated with the specific name.
 java.lang.String getTagName(int index)
          Gets the tag name at the specified index of the collection.
 void put(java.lang.String name, java.lang.String value)
          Adds the tag with the specified name.
 void remove(java.lang.String name)
          Removes the tag with the specified name from collection.
 void set(java.lang.String name, java.lang.String value)
          Sets the tag associated with the specific name.
 int size()
          Returns the number of a tags in a collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Returns the number of a tags in a collection.

Returns:
The number of a tags in a collection.

get

public java.lang.String get(java.lang.String name)
Returns the tag associated with the specific name.

Parameters:
name - name of a tag.
Returns:
The tag associated with a specific name.

set

public void set(java.lang.String name,
                java.lang.String value)
         throws PptPropertyException
Sets the tag associated with the specific name.

Parameters:
name - name of a tag.
value - value of a tag.
Throws:
PptPropertyException

put

public void put(java.lang.String name,
                java.lang.String value)
         throws PptPropertyException
Adds the tag with the specified name.

Parameters:
name - name of a tag to add.
value - value of a tag to add.
Throws:
PptPropertyException

clear

public void clear()
Removes all tags.


containsTag

public boolean containsTag(java.lang.String name)
Determines whether the collection contains a tag with the specific name.

Parameters:
name - name of a tag to locate in the collection.
Returns:
True if the collection contains a tag with the specified name.

getTagName

public java.lang.String getTagName(int index)
Gets the tag name at the specified index of the collection.

Parameters:
index - zero-based index of the tag name to get.
Returns:
The tag name at the specified index of the collection.

remove

public void remove(java.lang.String name)
            throws PptPropertyException
Removes the tag with the specified name from collection.

Parameters:
name - name of a tag to remove.
Throws:
PptPropertyException