Version: 1.1.1

ca.ucalgary.seahawk.util
Class XPathOption

java.lang.Object
  extended by ca.ucalgary.seahawk.util.XPathOption

public class XPathOption
extends Object

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.


Constructor Summary
XPathOption(String xpath, String desc)
           
 
Method Summary
 String getDesc()
           
 String getXPath()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathOption

public XPathOption(String xpath,
                   String desc)
Method Detail

getXPath

public String getXPath()

getDesc

public String getDesc()

toString

public String toString()
Overrides:
toString in class Object

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010