com.aspose.words
Class CustomXmlSchemaCollection

java.lang.Object
    extended by com.aspose.words.CustomXmlSchemaCollection
All Implemented Interfaces:
java.lang.Iterable

public class CustomXmlSchemaCollection 
extends java.lang.Object

A collection of strings that represent XML schemas that are associated with a custom XML part.

You do not create instances of this class. You access the collection of XML schemas of a custom XML part via the CustomXmlPart.Schemas property.

See Also:
CustomXmlPart, CustomXmlPart.Schemas

Property Getters/Setters Summary
intgetCount()
           Gets the number of elements contained in the collection.
java.lang.Stringget(int index)
voidset(int index, java.lang.String value)
           Gets or sets the element at the specified index.
 
Method Summary
voidadd(java.lang.String value)
           Adds an item to the collection.
voidclear()
           Removes all elements from the collection.
CustomXmlSchemaCollectiondeepClone()
           Makes a deep clone of this object.
intindexOf(java.lang.String value)
           Returns the zero-based index of the specified value in the collection.
java.util.Iteratoriterator()
           Returns an iterator object that can be used to iterate over all items in the collection.
voidremove(java.lang.String name)
           Removes the specified value from the collection.
voidremoveAt(int index)
           Removes a value at the specified index.
 

Property Getters/Setters Detail

getCount

public int getCount()
Gets the number of elements contained in the collection.

get/set

public java.lang.String get(int index) / public void set(int index, java.lang.String value)
Gets or sets the element at the specified index.

Method Detail

add

public void add(java.lang.String value)
Adds an item to the collection.
Parameters:
value - The item to add.

clear

public void clear()
Removes all elements from the collection.

deepClone

public CustomXmlSchemaCollection deepClone()
Makes a deep clone of this object.

indexOf

public int indexOf(java.lang.String value)
Returns the zero-based index of the specified value in the collection.
Parameters:
value - The case-sensitive value to locate.
Returns:
The zero based index. Negative value if not found.

iterator

public java.util.Iterator iterator()
Returns an iterator object that can be used to iterate over all items in the collection.

remove

public void remove(java.lang.String name)
Removes the specified value from the collection.
Parameters:
name - The case-sensitive value to remove.

removeAt

public void removeAt(int index)
Removes a value at the specified index.
Parameters:
index - The zero based index.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.