public class CustomXmlSchemaCollection
extends java.lang.Object
implements java.lang.Iterable
To learn more, visit the Structured Document Tags or Content Control documentation article.
You do not create instances of this class. You access the collection of XML schemas of a custom XML part via the CustomXmlPart.getSchemas() property.
CustomXmlPart,
CustomXmlPart.getSchemas()| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String value)
Adds an item to the collection.
|
void |
clear()
Removes all elements from the collection.
|
CustomXmlSchemaCollection |
deepClone()
Makes a deep clone of this object.
|
java.lang.String |
get(int index)
Gets the element at the specified index.
|
int |
getCount()
Gets the number of elements contained in the collection.
|
int |
indexOf(java.lang.String value)
Returns the zero-based index of the specified value in the collection.
|
java.util.Iterator |
iterator()
Returns an iterator object that can be used to iterate over all items in the collection.
|
void |
remove(java.lang.String name)
Removes the specified value from the collection.
|
void |
removeAt(int index)
Removes a value at the specified index.
|
void |
set(int index,
java.lang.String value)
Sets the element at the specified index.
|
public int getCount()
public java.lang.String get(int index)
public void set(int index,
java.lang.String value)
value - The element at the specified index.public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic void add(java.lang.String value)
value - The item to add.public int indexOf(java.lang.String value)
value - The case-sensitive value to locate.public void remove(java.lang.String name)
name - The case-sensitive value to remove.public void removeAt(int index)
index - The zero based index.public void clear()
public CustomXmlSchemaCollection deepClone()