Skip to main content

TextMatchGroupItem Class

Contains information about a text match within a text match group.

Declaration

public class TextMatchGroupItem extends JavaObject

Remarks

The TextMatchGroupItem class stores the index and location information of a matched text fragment. Use this class to access individual matches returned as part of a TextMatchGroup.

Refer to the following help topic for additional information: Search and Process Text in PDF Documents.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
TextMatchGroupItem

Methods

getMatchFragment() Method

Returns the text fragment that contains the matched text.

Declaration

public TextMatchFragment getMatchFragment()

Returns

Type Description
TextMatchFragment

A TextMatchFragment object that contains the match information.

getMatchIndex() Method

Returns the index of the match within the text match group.

Declaration

public int getMatchIndex()

Returns

Type Description
int

The match index.