public class RenderAsJmesPathRenderer extends Object
Constructor and Description |
---|
RenderAsJmesPathRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Display the response as text or as rendered HTML.
|
void |
clearData() |
protected void |
executeTester(String textToParse)
Launch JSON path engine to parse a input text
|
protected String |
getExpression() |
protected JLabeledTextField |
getExpressionField() |
protected String |
getExpressionLabel() |
protected JSyntaxTextArea |
getJsonDataField() |
protected JPanel |
getJsonWithExtractorPanel() |
protected JTextArea |
getResultField() |
protected JTabbedPane |
getRightSide() |
protected String |
getTabLabel() |
protected String |
getTestButtonLabel() |
void |
init() |
protected String |
process(String textToParse) |
void |
renderImage(SampleResult sampleResult) |
void |
renderResult(SampleResult sampleResult) |
void |
setBackgroundColor(Color backGround) |
void |
setLastSelectedTab(int index) |
void |
setRightSide(JTabbedPane side) |
void |
setSamplerResult(Object userObject) |
void |
setupTabPane() |
String |
toString() |
protected static final String NO_MATCH
protected String getTabLabel()
protected String getTestButtonLabel()
protected String getExpressionLabel()
protected String process(String textToParse)
textToParse
- String of the response to processpublic String toString()
toString
in interface ResultRenderer
toString
in class Object
public void clearData()
clearData
in interface ResultRenderer
public void init()
init
in interface ResultRenderer
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the ActionEvent being processedprotected void executeTester(String textToParse)
textToParse
- the text that will be parsedprotected String getExpression()
public void renderResult(SampleResult sampleResult)
renderResult
in interface ResultRenderer
public void setupTabPane()
setupTabPane
in interface ResultRenderer
public void setRightSide(JTabbedPane side)
setRightSide
in interface ResultRenderer
public void setSamplerResult(Object userObject)
setSamplerResult
in interface ResultRenderer
public void setLastSelectedTab(int index)
setLastSelectedTab
in interface ResultRenderer
public void renderImage(SampleResult sampleResult)
renderImage
in interface ResultRenderer
public void setBackgroundColor(Color backGround)
setBackgroundColor
in interface ResultRenderer
protected JTabbedPane getRightSide()
protected JPanel getJsonWithExtractorPanel()
protected JSyntaxTextArea getJsonDataField()
protected JLabeledTextField getExpressionField()
protected JTextArea getResultField()
Copyright © 1998-2021 Apache Software Foundation. All Rights Reserved.