Package org.eclipse.wst.xml.xpath2.api


org.eclipse.wst.xml.xpath2.api
Class Match



public class Match
extends 
A match found by the XPath2 pattern matcher * @noimplement This interface is not intended to be implemented by clients.


Method Summary

public org.eclipse.wst.xml.xpath2.api.XPath2PatterngetBestMatch()
     Returns the XPath2 pattern which best matched the input (considering mode and priority)
public intgetMatchingCount()
    

Methods Detail

getBestMatch

public org.eclipse.wst.xml.xpath2.api.XPath2Pattern getBestMatch()

Returns the XPath2 pattern which best matched the input (considering mode and priority)

Returns

org.eclipse.wst.xml.xpath2.api.XPath2Pattern - Pattern which was the best match.


getMatchingCount

public int getMatchingCount()

Returns

int - The number of matching patterns on the input.