Package org.ametys.core.ui
Class ClientSideElementHelper
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.core.ui.ClientSideElementHelper
-
- All Implemented Interfaces:
LogEnabled
public final class ClientSideElementHelper extends AbstractLogEnabled
Helper for manipulating ClientSideElement
-
-
Constructor Summary
Constructors Constructor Description ClientSideElementHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientSideElement.Script
cloneScript(ClientSideElement.Script script)
Clone a ClientSideElement Scriptstatic ClientSideElement.Script
cloneScript(ClientSideElement.Script script, String id)
Clone a ClientSideElement Scriptprivate static List<ClientSideElement.ScriptFile>
cloneScriptFile(List<ClientSideElement.ScriptFile> scriptFiles)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
ClientSideElementHelper
public ClientSideElementHelper()
-
-
Method Detail
-
cloneScript
public static ClientSideElement.Script cloneScript(ClientSideElement.Script script)
Clone a ClientSideElement Script- Parameters:
script
- The script- Returns:
- The new script
-
cloneScript
public static ClientSideElement.Script cloneScript(ClientSideElement.Script script, String id)
Clone a ClientSideElement Script- Parameters:
script
- The scriptid
- The new script id- Returns:
- The new script
-
cloneScriptFile
private static List<ClientSideElement.ScriptFile> cloneScriptFile(List<ClientSideElement.ScriptFile> scriptFiles)
-
-