Class Html

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Identified, Tool

@Component public class Html extends Component
This class, that extends Component is used to add raw HTML text inside a page.
Pay attention to wrap the html inside a CDATA element, like this way:
<Html>
<![CDATA[
<div>lorem ipsum</div>
]]>
</Html>
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • Html

      public Html()
  • Method Details

    • addChildText

      public void addChildText(String s)
      Description copied from class: UINode
      Empty method
      Overrides:
      addChildText in class UINode
      Parameters:
      s - Not used
    • setContent

      public void setContent(String s)
      Sets the HTML content
      Parameters:
      s - The string that defines the content
    • getContent

      public String getContent()
      Returns the HTML content
      Returns:
      The string that defines the content
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Component
      Abstract method that must be extended and returns the html code of the Component
      Specified by:
      getHtml in class Component
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html of the Component