Class HtmlHead

java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.web.components.HtmlHead

@BoxComponent public class HtmlHead extends ortus.boxlang.runtime.components.Component
  • Nested Class Summary

    Nested classes/interfaces inherited from class ortus.boxlang.runtime.components.Component

    ortus.boxlang.runtime.components.Component.BodyResult, ortus.boxlang.runtime.components.Component.ComponentBody
  • Field Summary

    Fields inherited from class ortus.boxlang.runtime.components.Component

    componentService, declaredAttributes, DEFAULT_RETURN, functionService, interceptorService, name, runtime
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ortus.boxlang.runtime.components.Component.BodyResult
    _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.types.IStruct attributes, ortus.boxlang.runtime.components.Component.ComponentBody body, ortus.boxlang.runtime.types.IStruct executionState)
    Writes text to the head section of a generated HTML page.

    Methods inherited from class ortus.boxlang.runtime.components.Component

    announce, getDeclaredAttributes, getName, invoke, processBody, processBody, setName, validateAttributes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HtmlHead

      public HtmlHead()
  • Method Details

    • _invoke

      public ortus.boxlang.runtime.components.Component.BodyResult _invoke(ortus.boxlang.runtime.context.IBoxContext context, ortus.boxlang.runtime.types.IStruct attributes, ortus.boxlang.runtime.components.Component.ComponentBody body, ortus.boxlang.runtime.types.IStruct executionState)
      Writes text to the head section of a generated HTML page. It is useful for embedding JavaScript code, or putting other HTML tags, such as meta, link, title, or base in an HTML page header. If there is no head section in the HTML page, the function will create one.
      Specified by:
      _invoke in class ortus.boxlang.runtime.components.Component
      Parameters:
      context - The context in which the Component is being invoked
      attributes - The attributes to the Component
      body - The body of the Component
      executionState - The execution state of the Component