org.torweg.pulse.site.content
Class AbstractBasicContentConfig
java.lang.Object
org.torweg.pulse.configuration.AbstractConfigBean
org.torweg.pulse.site.content.AbstractBasicContentConfig
- All Implemented Interfaces:
- java.io.Serializable, ConfigBean
public class AbstractBasicContentConfig
- extends AbstractConfigBean
global configuration for AbstractBasicContent.
- Version:
- $Revision: 1861 $
- Author:
- Thomas Weber
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
convert(java.lang.String suffix,
java.util.Locale contentLocale)
converts a suffix to a search engine optimised URL containing only URL
safe characters. |
protected java.util.Map<java.util.Locale,SuffixConverter> |
getConverters()
returns a Map of the known locales and their corresponding
SuffixConverters. |
void |
init(org.jdom.Element conf)
initialises the ConfigBean. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBasicContentConfig
public AbstractBasicContentConfig()
init
public void init(org.jdom.Element conf)
- initialises the
ConfigBean.
- Parameters:
conf - the config XML- See Also:
ConfigBean.init(org.jdom.Element)
convert
public final java.lang.String convert(java.lang.String suffix,
java.util.Locale contentLocale)
- converts a suffix to a search engine optimised URL containing only URL
safe characters.
- Parameters:
suffix - the suffixcontentLocale - the locale of the content
- Returns:
- the converted suffix
getConverters
protected final java.util.Map<java.util.Locale,SuffixConverter> getConverters()
- returns a
Map of the known locales and their corresponding
SuffixConverters.
- Returns:
- the converters as an unmodifiable map