public class SelfAxisStructuredFieldPosition extends AbstractStructuredFieldPosition
Constructor and Description |
---|
SelfAxisStructuredFieldPosition() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
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 |
linkSelf()
Normally paths would require onlt parent chaining.
|
int |
matches(int start,
int end,
int offset)
Does this element match
|
allowslinkingByParent, allowsLinkingBySelf, equals, getCachingTermPositions, getPosition, getTermText, hashCode, isAbsolute, isDescendant, isRelative, linkParent, matchesAll, setCachingTermPositions, setTerminal, toString
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 String getDescription()
getDescription
in class AbstractStructuredFieldPosition
public boolean linkSelf()
StructuredFieldPosition
linkSelf
in interface StructuredFieldPosition
linkSelf
in class AbstractStructuredFieldPosition
public boolean isTerminal()
StructuredFieldPosition
isTerminal
in interface StructuredFieldPosition
isTerminal
in class AbstractStructuredFieldPosition
Copyright © 2005–2017 Alfresco Software. All rights reserved.