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, toString
public AbsoluteStructuredFieldPosition(java.lang.String termText, int position)
public int matches(int start, int end, int offset) throws java.io.IOException
StructuredFieldPosition
start
- -
the start postion of the paths termsend
- -
the end position of the paths termsoffset
- -
the current offset in the pathjava.io.IOException
public int getPosition()
StructuredFieldPosition
getPosition
in interface StructuredFieldPosition
getPosition
in class AbstractStructuredFieldPosition
public java.lang.String getDescription()
getDescription
in class AbstractStructuredFieldPosition
public int hashCode()
hashCode
in class AbstractStructuredFieldPosition
public boolean equals(java.lang.Object obj)
equals
in class AbstractStructuredFieldPosition
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.