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, toString
public AbsoluteStructuredFieldPosition(String termText, int position)
public int matches(int start, int end, int offset) throws IOException
StructuredFieldPosition
start
- -
the start postion of the paths termsend
- -
the end position of the paths termsoffset
- -
the current offset in the pathIOException
public int getPosition()
StructuredFieldPosition
getPosition
in interface StructuredFieldPosition
getPosition
in class AbstractStructuredFieldPosition
public String getDescription()
getDescription
in class AbstractStructuredFieldPosition
public int hashCode()
hashCode
in class AbstractStructuredFieldPosition
public boolean equals(Object obj)
equals
in class AbstractStructuredFieldPosition
Copyright © 2005–2017 Alfresco Software. All rights reserved.