package ca.ucalgary.seahawk.util;

/**
 * Simple class to hold an XPath and a textual description of the XPath,
 * generally for use in a JComboBox, etc. where the toString() is important.
 */

public class XPathOption{
    private String xpath;
    private String desc;

    public XPathOption(String xpath, String desc){
	this.xpath = xpath;
	this.desc = desc;
    }

    public String getXPath(){
	return xpath;
    }

    public String getDesc(){
	return desc;
    }

    public String toString(){
	return desc;
    }
}
