Class HTMLMetaElement

All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class HTMLMetaElement extends HTMLElement
The JavaScript object HTMLMetaElement.
See Also:
  • Constructor Details

    • HTMLMetaElement

      public HTMLMetaElement()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • getContent

      public String getContent()
      Returns the content attribute.
      Returns:
      the content attribute
    • setContent

      public void setContent(String content)
      Sets the content attribute.
      Parameters:
      content - the content attribute
    • getHttpEquiv

      public String getHttpEquiv()
      Returns the http-equiv attribute.
      Returns:
      the http-equiv attribute
    • setHttpEquiv

      public void setHttpEquiv(String httpEquiv)
      Sets the http-equiv attribute.
      Parameters:
      httpEquiv - the http-equiv attribute
    • getName

      public String getName()
      Returns the name attribute.
      Overrides:
      getName in class HTMLElement
      Returns:
      the name attribute
    • setName

      public void setName(String name)
      Sets the name attribute.
      Overrides:
      setName in class HTMLElement
      Parameters:
      name - the name attribute
    • getScheme

      public String getScheme()
      Returns the scheme attribute.
      Returns:
      the scheme attribute
    • setScheme

      public void setScheme(String scheme)
      Sets the scheme attribute.
      Parameters:
      scheme - the scheme attribute
    • getMedia

      public String getMedia()
      Returns:
      the meta attribute
    • setMedia

      public void setMedia(String media)
      Parameters:
      media - the media attribute
    • isEndTagForbidden

      protected boolean isEndTagForbidden()
      Returns whether the end tag is forbidden or not.
      Overrides:
      isEndTagForbidden in class HTMLElement
      Returns:
      whether the end tag is forbidden or not
      See Also: