de.java2html.converter
Class JavaSource2HTMLConverter
java.lang.Object
de.java2html.converter.AbstractJavaSourceConverter
de.java2html.converter.JavaSource2HTMLConverter
- All Implemented Interfaces:
- IJavaSourceConverter
public class JavaSource2HTMLConverter
- extends AbstractJavaSourceConverter
Algorithm and stuff for converting a
JavaSource
object to to a HTML string
representation.
The result is XHTML1.0 Transitional compliant.
For questions, suggestions, bug-reports, enhancement-requests etc. I may be
contacted at: markus@jave.de
The Java2html home page is located at:
http://www.java2html.de
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
java2HtmlHomepageLinkEnabled
public static boolean java2HtmlHomepageLinkEnabled
- Deprecated. As of Jan 2, 2004 (Markus Gebhard) replaced by
JavaSourceConversionOptions.setShowJava2HtmlLink(boolean)
- Flag indication whether html output contains a link to the
Java2Html-Homepage or not.
JavaSource2HTMLConverter
public JavaSource2HTMLConverter()
getDocumentHeader
public java.lang.String getDocumentHeader(JavaSourceConversionOptions options,
java.lang.String title)
- Description copied from class:
AbstractJavaSourceConverter
- Returns a header for the result document.
This one will be placed before the first block of converted
code.
Subclasses can return an empty String ("") if there is none neccessary.
- Specified by:
getDocumentHeader
in class AbstractJavaSourceConverter
getDocumentFooter
public java.lang.String getDocumentFooter(JavaSourceConversionOptions options)
- Description copied from class:
AbstractJavaSourceConverter
- Returns a footer for the result document.
This one will be placed behind the last block of converted
code.
Subclasses can return an empty String ("") if there is none neccessary.
- Specified by:
getDocumentFooter
in class AbstractJavaSourceConverter
getBlockSeparator
public java.lang.String getBlockSeparator(JavaSourceConversionOptions options)
- Description copied from class:
AbstractJavaSourceConverter
- Returns the code that has to be placed between two blocks
of converted code.
Subclasses can return an empty String ("") if there is none neccessary.
- Specified by:
getBlockSeparator
in class AbstractJavaSourceConverter
convert
public void convert(JavaSource source,
JavaSourceConversionOptions options,
java.io.BufferedWriter writer)
throws java.io.IOException
- Specified by:
convert
in class AbstractJavaSourceConverter
- Throws:
java.io.IOException