Package com.xwiki.macros.script
Class ExpandScriptService
java.lang.Object
com.xwiki.macros.script.ExpandScriptService
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component
@Singleton
@Named("promacroexpand")
@Unstable
public class ExpandScriptService
extends Object
implements org.xwiki.script.service.ScriptService
Expand script service.
- Since:
- 1.21.0
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExpandScriptService
public ExpandScriptService()
-
-
Method Details
-
getAutoTitle
- Parameters:
content- the content of the macrosyntaxId- the syntax identifier of the document containing the expand macro.- Returns:
- the title of the expand macro from its content, or null if no title can be deduced from the content.
- Since:
- 1.21.0
-