com.atlassian.renderer.v2.macro.code.formatter
Class NoneFormatter

java.lang.Object
  extended by com.atlassian.renderer.v2.macro.code.formatter.AbstractFormatter
      extended by com.atlassian.renderer.v2.macro.code.formatter.NoneFormatter
All Implemented Interfaces:
SourceCodeFormatter

public class NoneFormatter
extends AbstractFormatter

Created by IntelliJ IDEA. User: Tomd Date: 22/04/2005 Time: 14:15:36 To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from class com.atlassian.renderer.v2.macro.code.formatter.AbstractFormatter
COMMENTS_REPLACEMENT, KEYWORD_REPLACEMENT, LINE_COMMENTS, OBJECT_REPLACEMENT, QUOTES, QUOTES_REPLACEMENT, replacers
 
Constructor Summary
NoneFormatter()
           
 
Method Summary
 String[] getSupportedLanguages()
          Inform the CodeMacro which languages this formatter supports.
 
Methods inherited from class com.atlassian.renderer.v2.macro.code.formatter.AbstractFormatter
addReplacement, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoneFormatter

public NoneFormatter()
Method Detail

getSupportedLanguages

public String[] getSupportedLanguages()
Description copied from interface: SourceCodeFormatter
Inform the CodeMacro which languages this formatter supports. So if someone writes {code:java}, then only the formatter that returns "java" from this method will be used to format it.

Returns:
an array of languages that this formatter supports


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.