Package org.cdlib.mrt.formatter
Interface FormatterInf
- All Known Implementing Classes:
ANVLFormatter
,FormatterAbs
,JSONFormatter
,XHTMLFormatter
,XMLFormatter
public interface FormatterInf
- Author:
- dloy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Supported types of output formats -
Method Summary
Modifier and TypeMethodDescriptionvoid
format
(StateInf state, PrintStream stream) Create ouput format.Get the requested format type
-
Method Details
-
format
Create ouput format. Using the StateInf object, create a formatted output to this print stream- Parameters:
state
- object to be formattedstream
- output for formatted data- Throws:
TException
-
getFormatterType
FormatterInf.Format getFormatterType()Get the requested format type- Returns:
- requested format type
-