|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.ox.dev.CodeDocGenerator
public final class CodeDocGenerator
Generates the documentation from code comments in XML-based languages (XSLT, Schematron)
Constructor Summary | |
---|---|
CodeDocGenerator(Model model)
Sole constructor. |
Method Summary | |
---|---|
File |
generate(String path)
Generates the documentation |
Model |
getModel()
|
static boolean |
isSupported(String path)
Indicates whether documentation can be generated from the code denoted by the given file path. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodeDocGenerator(Model model)
model
- The model containing the code to documentMethod Detail |
---|
public Model getModel()
public File generate(String path)
path
- The path to the code to document within the model.public static final boolean isSupported(String path)
path
- The path within the model to the file containing the code to document.
true
is the file extension is ".xsl", ".xslt" or ".sch";
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |