com.groiss.gui
Interface Page

All Known Implementing Classes:
ActionPage, HTMLBatchJob, HTMLPage, HTMLTree, TabbedDialog, com.groiss.storegui.XHTMLForm, XHTMLPage

public interface Page

Interface for pages returned by methods called from Dispatcher.


Method Summary
 java.lang.String getContentType()
          Returns the content type of the page, for example "test/html".
 java.lang.String show()
          Called from the Dispatcher.
 

Method Detail

show

java.lang.String show()
                      throws ApplicationException
Called from the Dispatcher. Returns a String representation suitable for viewing in the browser (HTML, XHTML, plain text, etc.)

Throws:
ApplicationException

getContentType

java.lang.String getContentType()
Returns the content type of the page, for example "test/html".

Returns:
the contents mime type as String


Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.