IndexPattern

getMatchLevel

getMatchLevel compares this IndexPattern to p.
It returns the strength of
the match betwen the two patterns from 0 to 15. (0 being no match at
all, 15 being perfect). This method should be called by XPath and
SAX patterns to be matched against Indexer patterns.

Parameters:

p - The pattern to compare

Returns:

The resulting IndexPattern strength

getElementID

public short getElementID()

getElementID returns the Element Symbol ID for this pattern if
there is one, otherwise it returns a negative value.

Returns:

The Element Symbol ID

getAttributeID

public short getAttributeID()

getAttributeID returns the Attribute Symbol ID for this pattern
if there is one, otherwise it returns a negative value.