Package org.jbake.parser
Class ErrorEngine
- java.lang.Object
-
- org.jbake.parser.MarkupEngine
-
- org.jbake.parser.ErrorEngine
-
- All Implemented Interfaces:
ParserEngine
public class ErrorEngine extends MarkupEngine
An internal rendering engine used to notify the user that the markup format he used requires an engine that couldn't be loaded.
-
-
Constructor Summary
Constructors Constructor Description ErrorEngine()ErrorEngine(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessBody(ParserContext context)Processes the body of the document.voidprocessHeader(ParserContext context)Processes the document header.-
Methods inherited from class org.jbake.parser.MarkupEngine
parse, parse, validate
-
-
-
-
Method Detail
-
processHeader
public void processHeader(ParserContext context)
Description copied from class:MarkupEngineProcesses the document header. Usually subclasses will parse the document body and look for specific header metadata and export it intocontentsmap.- Overrides:
processHeaderin classMarkupEngine- Parameters:
context- the parser context
-
processBody
public void processBody(ParserContext context)
Description copied from class:MarkupEngineProcesses the body of the document. Usually subclasses will parse the document body and render it, exporting the result using theParserContext.setBody(String)method.- Overrides:
processBodyin classMarkupEngine- Parameters:
context- the parser context
-
-