Class HTMLMetaElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Constructor Detail

      • HTMLMetaElement

        public HTMLMetaElement()
        Creates an instance.
    • Method Detail

      • getContent

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

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

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

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

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

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

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

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

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

        public void setMedia​(java.lang.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:
        HTML 4 specs