|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.configuration.DefaultXWikiRenderingConfiguration
@Component public class DefaultXWikiRenderingConfiguration
All configuration options for the Rendering subsystem.
| Constructor Summary | |
|---|---|
DefaultXWikiRenderingConfiguration()
|
|
| Method Summary | |
|---|---|
int |
getImageHeightLimit()
One way to improve page load speed is to resize images on the server side just before rendering the page. |
int |
getImageWidthLimit()
One way to improve page load speed is to resize images on the server side just before rendering the page. |
java.util.Properties |
getInterWikiDefinitions()
|
java.lang.String |
getLinkLabelFormat()
|
java.util.List<org.xwiki.rendering.transformation.Transformation> |
getTransformations()
|
boolean |
isImageDimensionsIncludedInImageURL()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultXWikiRenderingConfiguration()
| Method Detail |
|---|
public java.lang.String getLinkLabelFormat()
getLinkLabelFormat in interface org.xwiki.rendering.configuration.RenderingConfigurationRenderingConfiguration.getLinkLabelFormat()public int getImageWidthLimit()
The default value is -1 which means image width is not limited by default. Use a value greater than 0 to
limit the image width (pixels). Note that the aspect ratio is kept even when both the width and the height of the
image are limited.
getImageWidthLimit in interface XWikiRenderingConfigurationXWikiRenderingConfiguration.getImageWidthLimit()public int getImageHeightLimit()
The default value is -1 which means image height is not limited by default. Use a value greater than 0 to
limit the image height (pixels). Note that the aspect ratio is kept even when both the width and the height of
the image are limited.
getImageHeightLimit in interface XWikiRenderingConfigurationXWikiRenderingConfiguration.getImageHeightLimit()public boolean isImageDimensionsIncludedInImageURL()
isImageDimensionsIncludedInImageURL in interface XWikiRenderingConfigurationtrue to include the image dimensions extracted from the image parameters in the image URL,
false otherwise; when image dimensions are included in the image URL the image can be resized on
the server side before being downloaded.XWikiRenderingConfiguration.isImageDimensionsIncludedInImageURL()public java.util.Properties getInterWikiDefinitions()
getInterWikiDefinitions in interface org.xwiki.rendering.configuration.RenderingConfigurationRenderingConfiguration.getInterWikiDefinitions()public java.util.List<org.xwiki.rendering.transformation.Transformation> getTransformations()
getTransformations in interface org.xwiki.rendering.configuration.RenderingConfigurationRenderingConfiguration.getTransformations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||