public class Match extends Object implements Serializable
Constructor and Description |
---|
Match(de.espirit.firstspirit.access.search.PatternClause clause,
int begin,
int end)
Constructor based on a single clause and providing textual markers.
|
Match(Set<de.espirit.firstspirit.access.search.PatternClause> clauses)
Constructor based on a set of clauses.
|
Modifier and Type | Method and Description |
---|---|
int |
getBegin()
Provides the starting position of the match within the text it bases upon.
|
Set<de.espirit.firstspirit.access.search.PatternClause> |
getClauses()
Provides the clauses, which were matched.
|
int |
getEnd()
Provides the ending position of the match within the text it bases upon.
|
public Match(de.espirit.firstspirit.access.search.PatternClause clause, int begin, int end)
clause
- The clause matched.begin
- The starting position within the text.end
- The ending position within the text.public Match(Set<de.espirit.firstspirit.access.search.PatternClause> clauses)
clauses
- The clauses matched.public Set<de.espirit.firstspirit.access.search.PatternClause> getClauses()
public int getBegin()
public int getEnd()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210