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.ScriptServiceExpand script service.- Since:
- 1.21.0
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ExpandScriptService()
-
-
-
Method Detail
-
getAutoTitle
public String getAutoTitle(String content, String syntaxId)
- 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
-
-