public class AbsoluteStructuredFieldPosition extends AbstractStructuredFieldPosition
| Constructor and Description |
|---|
AbsoluteStructuredFieldPosition(String termText,
int position)
Search for a term at the specified position.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
int |
getPosition()
If absolute return the position.
|
int |
hashCode() |
int |
matches(int start,
int end,
int offset)
Does this element match
|
allowslinkingByParent, allowsLinkingBySelf, getCachingTermPositions, getTermText, isAbsolute, isDescendant, isRelative, isTerminal, linkParent, linkSelf, matchesAll, setCachingTermPositions, setTerminal, toStringpublic AbsoluteStructuredFieldPosition(String termText, int position)
public int matches(int start,
int end,
int offset)
throws IOException
StructuredFieldPositionstart - -
the start postion of the paths termsend - -
the end position of the paths termsoffset - -
the current offset in the pathIOExceptionpublic int getPosition()
StructuredFieldPositiongetPosition in interface StructuredFieldPositiongetPosition in class AbstractStructuredFieldPositionpublic String getDescription()
getDescription in class AbstractStructuredFieldPositionpublic int hashCode()
hashCode in class AbstractStructuredFieldPositionpublic boolean equals(Object obj)
equals in class AbstractStructuredFieldPositionCopyright © 2005–2020 Alfresco Software. All rights reserved.