Class UnknownOutputType

  • All Implemented Interfaces:
    OutputType

    public class UnknownOutputType
    extends Object
    implements OutputType
    An output type which is used if no other output type is defined.
    Version:
    $Id: $
    • Constructor Detail

      • UnknownOutputType

        public UnknownOutputType()
    • Method Detail

      • getCommentStart

        public String getCommentStart​(String lineBreak)
        Returns the start of a comment. It is assumed that the comment itself does not contain line breaks.
        Specified by:
        getCommentStart in interface OutputType
        Parameters:
        lineBreak - the line break for the current output, not null.
        Returns:
        the String which starts a comment, not null.
      • getCommentEnd

        public String getCommentEnd​(String lineBreak)
        Returns the end of a comment. It is assumed that the comment itself does not contain line breaks.
        Specified by:
        getCommentEnd in interface OutputType
        Parameters:
        lineBreak - the line break for the current output, not null.
        Returns:
        the String which starts a comment, not null.