| javax.swing.JPanel org.apache.jmeter.assertions.gui.XPathPanel
XPathPanel | public class XPathPanel extends JPanel (Code) | | author jspears
|
XPathPanel | public XPathPanel()(Code) | | |
XPathPanel | public XPathPanel(boolean isDoubleBuffered)(Code) | | Parameters: isDoubleBuffered - |
XPathPanel | public XPathPanel(LayoutManager layout, boolean isDoubleBuffered)(Code) | | Parameters: layout - Parameters: isDoubleBuffered - |
getCheckXPathButton | public JButton getCheckXPathButton()(Code) | | Check XPath button
JButton |
getNegatedCheckBox | public JCheckBox getNegatedCheckBox()(Code) | | Negated chechbox
JCheckBox |
getXPath | public String getXPath()(Code) | | Get the XPath String
String |
isNegated | public boolean isNegated()(Code) | | Does this negate the xpath results
boolean |
isShowNegated | public boolean isShowNegated()(Code) | | Returns the showNegate. |
setDefaultValues | public void setDefaultValues()(Code) | | |
setNegated | public void setNegated(boolean negated)(Code) | | Set this to true, if you want success when the xpath does not match.
Parameters: negated - |
setShowNegated | public void setShowNegated(boolean showNegate)(Code) | | Parameters: showNegate - The showNegate to set. |
setXPath | public void setXPath(String xpath)(Code) | | Set the string that will be used in the xpath evaluation
Parameters: xpath - |
validXPath | public static boolean validXPath(String xpathString, boolean showDialog)(Code) | | Test weather an XPath is valid. It seems the Xalan has no easy way to
check, so this creates a test document, then tries to evaluate the xpath.
Parameters: xpathString - XPath String to validate Parameters: showDialog - weather to show a dialog returns true if valid, valse otherwise. |
|
|