com.atlassian.confluence.api.impl.service.content.typebinding
Class ContentTypeBindingProvider

java.lang.Object
  extended by com.atlassian.confluence.api.impl.service.content.typebinding.ContentTypeBindingProvider

public class ContentTypeBindingProvider
extends java.lang.Object

Provides ContentTypeBindings that are either bundled, or (in future) registered with OSGi.


Constructor Summary
ContentTypeBindingProvider(java.util.List<com.google.common.base.Supplier<ContentTypeBinding>> bundledBindings)
           
 
Method Summary
 ContentTypeBinding getForType(ContentType type)
           
 java.util.List<ContentTypeBinding> getList()
           
 java.util.Map<ContentType,ContentTypeBinding> getMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeBindingProvider

public ContentTypeBindingProvider(java.util.List<com.google.common.base.Supplier<ContentTypeBinding>> bundledBindings)
Method Detail

getForType

public ContentTypeBinding getForType(ContentType type)

getMap

public java.util.Map<ContentType,ContentTypeBinding> getMap()

getList

public java.util.List<ContentTypeBinding> getList()


Copyright © 2003-2014 Atlassian. All Rights Reserved.