public interface DirectoryParser
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.String message)
Add an error message
|
void |
addInfo(java.lang.String message)
Add an information message
|
org.docgene.parser.XMLErrorHandler |
getErrorHandler()
Return the error handler which will be used to create and store errors or informations during the parsing.
|
ArticlesModel |
getModel()
Return the Articles Model.
|
boolean |
hasExceptions()
Return true if there were exceptions encountered during the parsing.
|
void |
parseDirectories(java.io.File[] dirs)
Parse the input directories.
|
default void |
parseDirectoriesAndResolve(java.io.File[] dirs)
Parse the input directories, and resolve.
|
void |
resolve()
Resolve after parsing the directories.
|
void |
setErrorHandler(org.docgene.parser.XMLErrorHandler errorHandler)
Set the error handler which will be used to create and store errors or informations during the parsing.
|
void |
setIndexFile(java.io.File indexFile)
Set the index file.
|
void |
setParserExternalHandler(org.docgene.parser.ParserExternalHandler externalHandler)
Set the optional parser external handler, which can be fired on events when parsing the wiki
|
org.docgene.main.ErrorLogger |
showParserExceptions()
Show error logger.
|
ArticlesModel getModel()
void setIndexFile(java.io.File indexFile)
indexFile
- the index filevoid setParserExternalHandler(org.docgene.parser.ParserExternalHandler externalHandler)
externalHandler
- the optional parser external handledefault void parseDirectoriesAndResolve(java.io.File[] dirs)
dirs
- the input directoriesvoid parseDirectories(java.io.File[] dirs)
dirs
- the input directoriesvoid resolve()
org.docgene.main.ErrorLogger showParserExceptions()
boolean hasExceptions()
void setErrorHandler(org.docgene.parser.XMLErrorHandler errorHandler)
errorHandler
- the error handlerorg.docgene.parser.XMLErrorHandler getErrorHandler()
void addInfo(java.lang.String message)
message
- the messagevoid addError(java.lang.String message)
message
- the messageCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence