org.makumba.devel
Class GeneratedCodeViewer
java.lang.Object
org.makumba.devel.LineViewer
org.makumba.devel.jspViewer
org.makumba.devel.GeneratedCodeViewer
- All Implemented Interfaces:
- SourceViewer
public class GeneratedCodeViewer
- extends jspViewer
Implements servlet-based an interface to CodeGenerator
, and displays the generated JSP code.
- Version:
- $Id: GeneratedCodeViewer.java 5153 2010-05-18 21:37:50Z rosso_nero $
- Author:
- Rudolf Mayer
Fields inherited from class org.makumba.devel.LineViewer |
additionalCodeStyleClasses, additionalHeaderInfo, caughtError, contextPath, dir, hideLineNumbers, importedClasses, importedPackages, jspClasspath, jspSourceViewExtension, logicPath, PARAM_HIDE_LINES, parseError, printHeaderFooter, printLineNumbers, reader, realPath, request, searchCompiledJSPClasses, searchJavaClasses, searchJSPPages, searchMDD, servletPath, title, virtualPath |
Methods inherited from class org.makumba.devel.LineViewer |
addImportedPackages, findClass, findClassSimple, findCompiledJSP, findCompiledJSPClassName, findPage, footer, formatClassLink, formatClassLink, formatJSPLink, formatMakumbaLink, formatMDDLink, formatSunTaglibLink, getDirectory, getLineTag, getLineTokenizer, getReader, htmlEscape, main, parseLine, printFileRelations, printLine, printPageBegin, printPageEnd, printVersionControlLink, readFromURL, setSearchLevels, writeAdditionalLinks, writeLineNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneratedCodeViewer
public GeneratedCodeViewer(HttpServletRequest req)
throws Exception
- Throws:
Exception
generateCode
public void generateCode()
throws IOException
- Starts the code generation.
- Throws:
IOException
intro
public void intro(PrintWriter w)
- writes the page header, with links to the mdd and to browse.
- Overrides:
intro
in class jspViewer
printPageBeginAdditional
public void printPageBeginAdditional(PrintWriter w)
throws IOException
- prints the code generator form.
- Overrides:
printPageBeginAdditional
in class jspViewer
- Throws:
IOException