org.xwiki.rendering.configuration
Interface RenderingConfiguration


@Role
public interface RenderingConfiguration

Configuration properties for the Rendering module.

You can override the default values for each of the configuration properties below by defining them in XWiki's global configuration file using a prefix of "rendering" followed by the property name. For example: rendering.linkLabelFormat = %s.%p

Since:
1.6M1
Version:
$Id: f8b40a4057afa91ccbd5b83f525f9319baa81afc $

Method Summary
 Properties getInterWikiDefinitions()
           
 String getLinkLabelFormat()
          A link label format is the format used to decide how to display links that have no label.
 List<String> getTransformationNames()
           
 

Method Detail

getLinkLabelFormat

String getLinkLabelFormat()
A link label format is the format used to decide how to display links that have no label. By default the page name is displayed. However it's possible to customize it using the following tokens: Note that if the page title is empty or not defined then it defaults to %p. This is also the case if the title cannot be retrieved for the document. The default is "%p". Some examples: "%s.%p", "%w:%s.%p".

Returns:
the format to use to display link labels when the user hasn't specified a label

getInterWikiDefinitions

Properties getInterWikiDefinitions()
Returns:
the list of InterWiki definitions. Each InterWiki definition is made of an alias and a base URL.
See Also:
InterWikiResourceReference

getTransformationNames

List<String> getTransformationNames()
Returns:
the names of transformations to execute when rendering document content, ordered by transformation priority (highest priority first)
Since:
3.3M1


Copyright © 2004-2014 XWiki. All Rights Reserved.