Package com.helger.html.hc.html.script
Interface IHCScriptInline<IMPLTYPE extends IHCScriptInline<IMPLTYPE>>
-
- Type Parameters:
IMPLTYPE- Implementation type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,IHCElement<IMPLTYPE>,IHCHasCSSClasses<IMPLTYPE>,IHCHasCSSStyles<IMPLTYPE>,IHCHasID<IMPLTYPE>,IHCNode,IHCScript<IMPLTYPE>,Serializable
- All Known Implementing Classes:
AbstractHCScriptInline,HCScriptInline,HCScriptInlineOnDocumentReady
public interface IHCScriptInline<IMPLTYPE extends IHCScriptInline<IMPLTYPE>> extends IHCScript<IMPLTYPE>
Interface for inline SCRIPTs- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetJSCode(IJSWriterSettings aSettings)IHasJSCodegetJSCodeProvider()EHCScriptInlineModegetMode()booleanisEmitAfterFiles()IMPLTYPEsetEmitAfterFiles(boolean bEmitAfterFiles)IMPLTYPEsetJSCodeProvider(IHasJSCode aProvider)IMPLTYPEsetMode(EHCScriptInlineMode eMode)Set the masking mode.-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.IHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
Methods inherited from interface com.helger.html.hc.html.script.IHCScript
getCharset, getCrossOrigin, getIntegrity, getType, setCharset, setCharset, setCrossOrigin, setIntegrity, setType
-
-
-
-
Method Detail
-
setJSCodeProvider
@Nonnull IMPLTYPE setJSCodeProvider(@Nonnull IHasJSCode aProvider)
-
getJSCodeProvider
@Nonnull IHasJSCode getJSCodeProvider()
- Returns:
- The JS code passed in the constructor. Never
null.
-
getJSCode
@Nullable String getJSCode(@Nonnull IJSWriterSettings aSettings)
- Parameters:
aSettings- The settings to be used. May benullto use the default.- Returns:
- The text representation of the JS code passed in the constructor.
May be
null.
-
getMode
@Nonnull EHCScriptInlineMode getMode()
- Returns:
- The masking mode. Never
null.
-
setMode
@Nonnull IMPLTYPE setMode(@Nonnull EHCScriptInlineMode eMode)
Set the masking mode.- Parameters:
eMode- The mode to use. MAy not benull.- Returns:
- this
-
isEmitAfterFiles
boolean isEmitAfterFiles()
-
-