@Component(value="blAssetURLVariableExpression") @ConditionalOnTemplating public class AssetURLVariableExpression extends Object implements BroadleafVariableExpression
| Modifier and Type | Field and Description |
|---|---|
protected StaticAssetPathService |
staticAssetPathService |
| Constructor and Description |
|---|
AssetURLVariableExpression() |
| Modifier and Type | Method and Description |
|---|---|
String |
fixUrl(String content)
This method will resolve image urls located in HTML.
|
String |
getName() |
protected StaticAssetPathService staticAssetPathService
public String getName()
getName in interface BroadleafVariableExpressionpublic String fixUrl(String content)
content - StaticAssetPathService.convertAllAssetPathsInContent(String, boolean)Copyright © 2022. All rights reserved.