de.java2html.converter
Class AbstractJavaSourceToXmlConverter

java.lang.Object
  extended by de.java2html.converter.AbstractJavaSourceConverter
      extended by de.java2html.converter.AbstractJavaSourceToXmlConverter
All Implemented Interfaces:
IJavaSourceConverter
Direct Known Subclasses:
JavaSource2Xhtml11Converter, JavaSource2XhtmlConverter, JavaSource2XmlConverter

public abstract class AbstractJavaSourceToXmlConverter
extends AbstractJavaSourceConverter

Author:
Markus Gebhard

Field Summary
static java.lang.String XML_HEADER
           
 
Constructor Summary
AbstractJavaSourceToXmlConverter(ConverterMetaData metaData)
           
 
Method Summary
 java.lang.String getBlockSeparator(JavaSourceConversionOptions options)
          Returns the code that has to be placed between two blocks of converted code.
 java.lang.String getDocumentFooter(JavaSourceConversionOptions options)
          Returns a footer for the result document.
 java.lang.String getDocumentHeader(JavaSourceConversionOptions options, java.lang.String title)
          Returns a header for the result document.
 void setWritePre(boolean pre)
          Deprecated. As of Sep 13, 2004 (Markus Gebhard) Only options in the Java2HtmlConversionOptions are available
 
Methods inherited from class de.java2html.converter.AbstractJavaSourceConverter
convert, convert, getDefaultFileExtension, getMetaData, writeBlockSeparator, writeDocumentFooter, writeDocumentHeader
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_HEADER

public static final java.lang.String XML_HEADER
See Also:
Constant Field Values
Constructor Detail

AbstractJavaSourceToXmlConverter

public AbstractJavaSourceToXmlConverter(ConverterMetaData metaData)
Method Detail

setWritePre

@Deprecated
public final void setWritePre(boolean pre)
Deprecated. As of Sep 13, 2004 (Markus Gebhard) Only options in the Java2HtmlConversionOptions are available


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


Copyright © 2003 - 2006