public abstract class MarkupEngine extends Object implements ParserEngine
contents map.
This specific engine does nothing, meaning that the body is rendered as raw contents.| Constructor and Description |
|---|
MarkupEngine() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
parse(org.apache.commons.configuration.Configuration config,
File file,
String contentPath)
Parse given file to extract as much infos as possible
|
void |
processBody(ParserContext context)
Processes the body of the document.
|
void |
processHeader(ParserContext context)
Processes the document header.
|
boolean |
validate(ParserContext context)
Tests if this markup engine can process the document.
|
public boolean validate(ParserContext context)
context - the parser contextpublic void processHeader(ParserContext context)
contents map.context - the parser contextpublic void processBody(ParserContext context)
ParserContext.setBody(String) method.context - the parser contextpublic Map<String,Object> parse(org.apache.commons.configuration.Configuration config, File file, String contentPath)
parse in interface ParserEnginefile - file to processCopyright © 2016. All rights reserved.