edkComponent Methods
The following methods are available on edkComponent objects.
You can obtain an edkComponent object using the getComponent method of an edkmatch object.
| Method | Description |
|---|---|
| getMatchedOffset | Returns the offset of a component in the matched text, in bytes. |
| getMatchedOffsetLength | Returns the offset of a component in the matched text, in Unicode characters. |
| getMatchedText | Returns the text that a component originally matched. |
| getMatchLength | Returns the size of the component matched text, in Unicode characters |
| getMatchSize | Returns the size of the component matched text, in bytes. |
| getName | Returns the name of a component. |
| getOffset | Returns the offset of a component in the normalized text, in bytes. |
| getOffsetLength | Returns the offset of a component in the normalized text, in Unicode characters. |
| getText | Returns the text that a component matches. |
| setMatchLength | Modifies the size of the component matched text, in Unicode characters |
| setMatchSize | Modifies the size of the component matched text, in bytes. |
| setName | Modifies the name of a component. |
| setText | Modifies the text that a component matches. |