|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StructuredFieldPosition
Elements used to test agains path and Qname
| Method Summary | |
|---|---|
boolean |
allowslinkingByParent()
|
boolean |
allowsLinkingBySelf()
|
CachingTermPositions |
getCachingTermPositions()
|
int |
getPosition()
If absolute return the position. |
java.lang.String |
getTermText()
Get the test to search for in the term query. |
boolean |
isAbsolute()
Is this an absolute element; that is, it knows its exact position. |
boolean |
isDescendant()
|
boolean |
isRelative()
This element only knows its position relative to the previous element. |
boolean |
isTerminal()
If this position is last in the chain and it is terminal it will ensure it is an exact match for the length of the chain found. |
boolean |
linkParent()
|
boolean |
linkSelf()
Normally paths would require onlt parent chaining. |
int |
matches(int start,
int end,
int offset)
Does this element match |
boolean |
matchesAll()
|
void |
setCachingTermPositions(CachingTermPositions tps)
A reference to the caching term positions this element uses. |
| Method Detail |
|---|
int matches(int start,
int end,
int offset)
throws java.io.IOException
start - -
the start postion of the paths termsend - -
the end position of the paths termsoffset - -
the current offset in the path
java.io.IOExceptionboolean isTerminal()
boolean isAbsolute()
boolean isRelative()
java.lang.String getTermText()
int getPosition()
void setCachingTermPositions(CachingTermPositions tps)
tps - CachingTermPositions getCachingTermPositions()
boolean linkSelf()
boolean linkParent()
boolean allowslinkingByParent()
boolean allowsLinkingBySelf()
boolean isDescendant()
boolean matchesAll()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||