public class AbsoluteStructuredFieldPosition extends AbstractStructuredFieldPosition
| Constructor and Description |
|---|
AbsoluteStructuredFieldPosition(java.lang.String termText,
int position)
Search for a term at the specified position.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.String termText,
int position)
public int matches(int start,
int end,
int offset)
throws java.io.IOException
StructuredFieldPositionstart - -
the start postion of the paths termsend - -
the end position of the paths termsoffset - -
the current offset in the pathjava.io.IOExceptionpublic int getPosition()
StructuredFieldPositiongetPosition in interface StructuredFieldPositiongetPosition in class AbstractStructuredFieldPositionpublic java.lang.String getDescription()
getDescription in class AbstractStructuredFieldPositionpublic int hashCode()
hashCode in class AbstractStructuredFieldPositionpublic boolean equals(java.lang.Object obj)
equals in class AbstractStructuredFieldPositionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.