com.atlassian.plugin.web.descriptors
Class MockWebPanel

java.lang.Object
  extended by 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.


Constructor Summary
MockWebPanel()
           
 
Method Summary
 String getHtml(Map<String,Object> context)
           
 void writeHtml(Writer writer, Map<String,Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockWebPanel

public MockWebPanel()
Method Detail

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.