com.atlassian.plugin.web.descriptors
Class MockWebPanel
java.lang.Object
com.atlassian.plugin.web.descriptors.MockWebPanel
- All Implemented Interfaces:
- WebPanel
public class MockWebPanel
- extends Object
- implements WebPanel
A test WebPanel that outputs the values passed in the context, or a filler
message if the context is empty.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockWebPanel
public MockWebPanel()
getHtml
public String getHtml(Map<String,Object> context)
- Specified by:
getHtml in interface WebPanel
writeHtml
public void writeHtml(Writer writer,
Map<String,Object> context)
throws IOException
- Specified by:
writeHtml in interface WebPanel
- Throws:
IOException
Copyright © 2013 Atlassian. All Rights Reserved.