Package org.jbake.parser
Interface ParserEngine
-
- All Known Implementing Classes:
AsciidoctorEngine,ErrorEngine,MarkdownEngine,MarkupEngine,RawMarkupEngine,YamlEngine
public interface ParserEngine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>parse(org.apache.commons.configuration2.Configuration config, java.io.File file, java.lang.String contentPath)Deprecated.useparse(JBakeConfiguration, File)insteadDocumentModelparse(JBakeConfiguration config, java.io.File file)Parse a given file and transform to a model representation used byMarkdownEngineimplementations to render the file content.
-
-
-
Method Detail
-
parse
DocumentModel parse(JBakeConfiguration config, java.io.File file)
Parse a given file and transform to a model representation used byMarkdownEngineimplementations to render the file content.- Parameters:
config- The project configurationfile- The file to be parsed- Returns:
- A model representation of the given file
-
parse
@Deprecated java.util.Map<java.lang.String,java.lang.Object> parse(org.apache.commons.configuration2.Configuration config, java.io.File file, java.lang.String contentPath)Deprecated.useparse(JBakeConfiguration, File)instead- Parameters:
config- The project configurationfile- The file to be parsedcontentPath- unknown- Returns:
- A model representation of the given file
-
-