|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputFormat
The OutputFormat
interface is used by extensions and integration modules. It
represents the View part of an MVC setup where the Actionlistener
s are the
Controller, and the Model is held by the integrating classes.
Method Summary | |
---|---|
String |
format(SessionState sessionState,
Object subject)
Format the given subject for output based on rules that are implementation specific. |
String |
format(SessionState sessionState,
Object subject,
String indent)
Format the given subject for output based on rules that are implementation specific. |
StringBuffer |
format(SessionState sessionState,
StringBuffer buffer,
Object subject)
Format the given subject for output based on rules that are implementation specific. This version of the signature allows the caller to provide a buffer for this output format implementation to append to. |
StringBuffer |
format(SessionState sessionState,
StringBuffer buffer,
Object subject,
String indent)
Format the given subject for output based on rules that are implementation specific. This version of the signature allows the caller to provide a buffer for this output format implementation to append to. |
Method Detail |
---|
String format(SessionState sessionState, Object subject) throws OutputFormatException
sessionState
- the current session statesubject
- the subject to be represented
OutputFormatException
- for any errors that occur in the formatting process.String format(SessionState sessionState, Object subject, String indent) throws OutputFormatException
sessionState
- the current session statesubject
- the subject to be representedindent
- a hint to the indent expected by the caller at the beginning of each line.
OutputFormatException
- for any errors that occur in the formatting process.StringBuffer format(SessionState sessionState, StringBuffer buffer, Object subject) throws OutputFormatException
sessionState
- the current session statebuffer
- the caller's current buffersubject
- the subject to be represented
OutputFormatException
- for any errors that occur in the formatting process.StringBuffer format(SessionState sessionState, StringBuffer buffer, Object subject, String indent) throws OutputFormatException
sessionState
- the current session statebuffer
- the caller's current buffersubject
- the subject to be representedindent
- a hint to the indent expected by the caller at the beginning of each line.
OutputFormatException
- for any errors that occur in the formatting process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |