com.atlassian.renderer.v2.macro.code
Class SimpleSourceCodeFormatterRepository

java.lang.Object
  extended by com.atlassian.renderer.v2.macro.code.SimpleSourceCodeFormatterRepository
All Implemented Interfaces:
SourceCodeFormatterRepository

public class SimpleSourceCodeFormatterRepository
extends Object
implements SourceCodeFormatterRepository


Constructor Summary
SimpleSourceCodeFormatterRepository()
           
SimpleSourceCodeFormatterRepository(List formatters)
           
 
Method Summary
 Collection getAvailableLanguages()
           
 SourceCodeFormatter getSourceCodeFormatter(String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSourceCodeFormatterRepository

public SimpleSourceCodeFormatterRepository()

SimpleSourceCodeFormatterRepository

public SimpleSourceCodeFormatterRepository(List formatters)
Method Detail

getSourceCodeFormatter

public SourceCodeFormatter getSourceCodeFormatter(String language)
Specified by:
getSourceCodeFormatter in interface SourceCodeFormatterRepository

getAvailableLanguages

public Collection getAvailableLanguages()
Specified by:
getAvailableLanguages in interface SourceCodeFormatterRepository


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.