
**遗产：**
java.lang.Object

**所有已实现的接口：**
java.lang.Iterable
```
public class CustomXmlSchemaCollection implements Iterable
```

表示与自定义 XML 部分关联的 XML 架构的字符串集合。

要了解更多信息，请访问**Structured Document Tags or Content Control**文档文章。

您不创建此类的实例。您可以通过以下方式访问自定义 XML 部件的 XML 架构集合[CustomXmlPart.getSchemas()](../../com.aspose.words/customxmlpart\#getSchemas--)财产。
## 方法

| 方法 | 描述 |
| --- | --- |
| [add(String value)](#add-java.lang.String-) | 将项目添加到集合中。 |
| [clear()](#clear--) | 从集合中移除所有元素。 |
| [deepClone()](#deepClone--) | 制作此对象的深度克隆。 |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | 获取指定索引处的元素。 |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | 获取集合中包含的元素数。 |
| [hashCode()](#hashCode--) |  |
| [indexOf(String value)](#indexOf-java.lang.String-) | 返回集合中指定值的从零开始的索引。 |
| [iterator()](#iterator--) | 返回一个迭代器对象，该对象可用于迭代集合中的所有项目。 |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(String name)](#remove-java.lang.String-) | 从集合中移除指定的值。 |
| [removeAt(int index)](#removeAt-int-) | 删除指定索引处的值。 |
| [set(int index, String value)](#set-int-java.lang.String-) | 设置指定索引处的元素。 |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### add(String value) {#add-java.lang.String-}
```
public void add(String value)
```


将项目添加到集合中。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | java.lang.String | 要添加的项目。 |

### clear() {#clear--}
```
public void clear()
```


从集合中移除所有元素。

### deepClone() {#deepClone--}
```
public CustomXmlSchemaCollection deepClone()
```


制作此对象的深度克隆。

**退货：**
[CustomXmlSchemaCollection](../../com.aspose.words/customxmlschemacollection)
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### get(int index) {#get-int-}
```
public String get(int index)
```


获取指定索引处的元素。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int |  |

**退货：**
java.lang.String - 指定索引处的元素。
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getCount() {#getCount--}
```
public int getCount()
```


获取集合中包含的元素数。

**退货：**
int - 集合中包含的元素数。
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### indexOf(String value) {#indexOf-java.lang.String-}
```
public int indexOf(String value)
```


返回集合中指定值的从零开始的索引。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | java.lang.String | 要查找的区分大小写的值。 |

**退货：**
int - 从零开始的索引。如果未找到，则为负值。
### iterator() {#iterator--}
```
public Iterator iterator()
```


返回一个迭代器对象，该对象可用于迭代集合中的所有项目。

**退货：**
java.util.迭代器
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### remove(String name) {#remove-java.lang.String-}
```
public void remove(String name)
```


从集合中移除指定的值。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| name | java.lang.String | 要删除的区分大小写的值。 |

### removeAt(int index) {#removeAt-int-}
```
public void removeAt(int index)
```


删除指定索引处的值。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int | 从零开始的索引。 |

### set(int index, String value) {#set-int-java.lang.String-}
```
public void set(int index, String value)
```


设置指定索引处的元素。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int |  |
| value | java.lang.String | 指定索引处的元素。 |

### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
