**Inheritance:**
java.lang.Object, [com.aspose.font.GlyphId](../../com.aspose.font/glyphid)
```
public class GlyphStringId extends GlyphId
```

表示字符串字形 ID。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [GlyphStringId(String value)](#GlyphStringId-java.lang.String-) | 初始化新的 GlyphStringID 对象。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object obj)](#equals-java.lang.Object-) | 如果字符串 ID 相等则返回 true。 |
| [getClass()](#getClass--) |  |
| [getNotDefId()](#getNotDefId--) | 获取未定义的字形 ID。 |
| [getValue()](#getValue--) | 获取字符串值。 |
| [hashCode()](#hashCode--) | GetHashCode 实现。 |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [op_Equality(GlyphId obj1, Object obj2)](#op-Equality-com.aspose.font.GlyphId-java.lang.Object-) | 如果两个字形 ID 相等则返回 true。 |
| [op_Inequality(GlyphId obj1, Object obj2)](#op-Inequality-com.aspose.font.GlyphId-java.lang.Object-) | 如果两个字形 ID 不相等则返回 true。 |
| [setValue(String value)](#setValue-java.lang.String-) | 设置字符串值。 |
| [toGlyphStringId()](#toGlyphStringId--) | 将 GlyphId 转换为 GlyphStringId |
| [toGlyphUInt32Id()](#toGlyphUInt32Id--) | 虚拟转换为 GlyphUInt32Id。 |
| [toString()](#toString--) | 返回 glyph id 的字符串值。 |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### GlyphStringId(String value) {#GlyphStringId-java.lang.String-}
```
public GlyphStringId(String value)
```


初始化新的 GlyphStringID 对象。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | java.lang.String | 字形标识符。 |

### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


如果字符串 ID 相等则返回 true。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| obj | java.lang.Object | 用于比较的 Glyph 字符串标识符。 |

**Returns:**
boolean - 比较结果
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getNotDefId() {#getNotDefId--}
```
public static GlyphStringId getNotDefId()
```


获取未定义的字形 ID。

**Returns:**
[GlyphStringId](../../com.aspose.font/glyphstringid) - Not defined glyph id.
### getValue() {#getValue--}
```
public String getValue()
```


获取字符串值。

**Returns:**
java.lang.String - 字符串值。
### hashCode() {#hashCode--}
```
public int hashCode()
```


GetHashCode 实现。

**Returns:**
int - 对象的哈希码。
### notify() {#notify--}
```
public final native void notify()
```




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




### op_Equality(GlyphId obj1, Object obj2) {#op-Equality-com.aspose.font.GlyphId-java.lang.Object-}
```
public static boolean op_Equality(GlyphId obj1, Object obj2)
```


如果两个字形 ID 相等则返回 true。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| obj1 | [GlyphId](../../com.aspose.font/glyphid) | 用于比较的第一个 glyph 标识符。 |
| obj2 | java.lang.Object | 用于比较的第二个 glyph 标识符。 |

**Returns:**
boolean - 比较结果。
### op_Inequality(GlyphId obj1, Object obj2) {#op-Inequality-com.aspose.font.GlyphId-java.lang.Object-}
```
public static boolean op_Inequality(GlyphId obj1, Object obj2)
```


如果两个字形 ID 不相等则返回 true。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| obj1 | [GlyphId](../../com.aspose.font/glyphid) | 用于比较的第一个 glyph 标识符。 |
| obj2 | java.lang.Object | 用于比较的第二个 glyph 标识符。 |

**Returns:**
boolean - 比较结果。
### setValue(String value) {#setValue-java.lang.String-}
```
public void setValue(String value)
```


设置字符串值。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | java.lang.String | 字符串值。 |

### toGlyphStringId() {#toGlyphStringId--}
```
public GlyphStringId toGlyphStringId()
```


将 GlyphId 转换为 GlyphStringId

**Returns:**
[GlyphStringId](../../com.aspose.font/glyphstringid) - this
### toGlyphUInt32Id() {#toGlyphUInt32Id--}
```
public GlyphUInt32Id toGlyphUInt32Id()
```


虚拟转换为 GlyphUInt32Id。GlyphUInt32Id 重写以返回实例。

**Returns:**
[GlyphUInt32Id](../../com.aspose.font/glyphuint32id) - null
### toString() {#toString--}
```
public String toString()
```


返回 glyph id 的字符串值。

**Returns:**
java.lang.String - Glyph 标识符。
### wait() {#wait--}
```
public final void wait()
```




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




**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

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




**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

