Package com.helger.html.js
Interface IHasJSCodeWithSettings
-
- All Superinterfaces:
IHasJSCode,Serializable
- All Known Implementing Classes:
CollectingJSCodeProvider
@MustImplementEqualsAndHashcode public interface IHasJSCodeWithSettings extends IHasJSCode
Basic interface for object providing JavaScript code.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetJSCode()StringgetJSCode(IJSWriterSettings aSettings)
-
-
-
Method Detail
-
getJSCode
@Nullable default String getJSCode()
- Specified by:
getJSCodein interfaceIHasJSCode- Returns:
- The JavaScript code representation. May be
nullto indicate no JS code.
-
getJSCode
@Nullable String getJSCode(@Nullable IJSWriterSettings aSettings)
- Parameters:
aSettings- The formatter settings to be used. May benullfor the default settings.- Returns:
- The JavaScript code representation. May be
nullto indicate no JS code.
-
-