org.exoplatform.forum.bbcode.core
Class BuiltinBBCodeProvider

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,BBCode>
          extended by org.exoplatform.forum.bbcode.core.BuiltinBBCodeProvider
All Implemented Interfaces:
Serializable, Cloneable, Map<String,BBCode>, BBCodeProvider

public class BuiltinBBCodeProvider
extends HashMap<String,BBCode>
implements BBCodeProvider

Builtin BBCode provider. Porvides definitions for the following standard BBCodes : I,B,U,COLOR,SIZE,FONT,HIGHLIGHT,LEFT,RIGHT,CENTER,JUSTIFY,EMAIL,URL,GOTO,LIST,IMG,QUOTE,CSS

Version:
$Revision$
Author:
Patrice Lamarque
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
BuiltinBBCodeProvider()
           
 
Method Summary
 BBCode getBBCode(String tagName)
          Get a specific BBCode definition
 Collection<String> getSupportedBBCodes()
          Get the list of BBCodes tag names that this provider can provide
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

BuiltinBBCodeProvider

public BuiltinBBCodeProvider()
Method Detail

getBBCode

public BBCode getBBCode(String tagName)
Description copied from interface: BBCodeProvider
Get a specific BBCode definition

Specified by:
getBBCode in interface BBCodeProvider
Returns:

getSupportedBBCodes

public Collection<String> getSupportedBBCodes()
Description copied from interface: BBCodeProvider
Get the list of BBCodes tag names that this provider can provide

Specified by:
getSupportedBBCodes in interface BBCodeProvider
Returns:


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.