org.apache.torque.generator.control.outputtype
Interface OutputType

All Known Implementing Classes:
HtmlOutputType, JavaOutputType, PropertiesOutputType, UnknownOutputType, XmlOutputType

public interface OutputType

An interface describing the type of output produced by the generator.

Version:
$Id: $

Method Summary
 String getCommentEnd(String lineBreak)
          Returns the end of a comment.
 String getCommentStart(String lineBreak)
          Returns the start of a comment.
 

Method Detail

getCommentStart

String getCommentStart(String lineBreak)
Returns the start of a comment. It is assumed that the comment itself does not contain line breaks.

Parameters:
lineBreak - the line break for the current output, not null.
Returns:
the String which starts a comment, not null.

getCommentEnd

String getCommentEnd(String lineBreak)
Returns the end of a comment. It is assumed that the comment itself does not contain line breaks.

Parameters:
lineBreak - the line break for the current output, not null.
Returns:
the String which ends a comment, not null.


Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.