Package org.machanism.machai.gw.reviewer
Class HtmlReviewer
java.lang.Object
org.machanism.machai.gw.reviewer.HtmlReviewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the file extensions supported by this reviewer.Reviews the given HTML file for contained guidance comments and formats the content for input to documentation generators.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.machanism.machai.gw.reviewer.Reviewer
setDirGuidanceMap
-
Constructor Details
-
HtmlReviewer
public HtmlReviewer()
-
-
Method Details
-
getSupportedFileExtentions
Returns the file extensions supported by this reviewer. This reviewer analyzes files with extensions: html, htm, and xml.- Specified by:
getSupportedFileExtentionsin interfaceReviewer- Returns:
- an array of supported file extensions
-
perform
Reviews the given HTML file for contained guidance comments and formats the content for input to documentation generators.- Specified by:
performin interfaceReviewer- Parameters:
projectDir- the root directory of the project for contextguidancesFile- the HTML file to be analyzed- Returns:
- formatted documentation guidance or
nullif none found - Throws:
IOException- if an error occurs reading the file
-