Class HTMLLinkElementImpl

All Implemented Interfaces:
ModelNode, CSS2PropertiesContext, ScriptableDelegate, Element, HTMLElement, HTMLLinkElement, Node

public class HTMLLinkElementImpl extends HTMLAbstractUIElement implements HTMLLinkElement
  • Constructor Details

    • HTMLLinkElementImpl

      public HTMLLinkElementImpl(String name)
  • Method Details

    • getDisabled

      public boolean getDisabled()
      Description copied from interface: HTMLLinkElement
      Enables/disables the link. This is currently only used for style sheet links, and may be used to activate or deactivate style sheets.
      Specified by:
      getDisabled in interface HTMLLinkElement
    • setDisabled

      public void setDisabled(boolean disabled)
      Description copied from interface: HTMLLinkElement
      Enables/disables the link. This is currently only used for style sheet links, and may be used to activate or deactivate style sheets.
      Specified by:
      setDisabled in interface HTMLLinkElement
    • getHref

      public String getHref()
      Description copied from interface: HTMLLinkElement
      The URI [IETF RFC 2396] of the linked resource. See the href attribute definition in HTML 4.01.
      Specified by:
      getHref in interface HTMLLinkElement
    • setHref

      public void setHref(String href)
      Description copied from interface: HTMLLinkElement
      The URI [IETF RFC 2396] of the linked resource. See the href attribute definition in HTML 4.01.
      Specified by:
      setHref in interface HTMLLinkElement
    • getHreflang

      public String getHreflang()
      Description copied from interface: HTMLLinkElement
      Language code of the linked resource. See the hreflang attribute definition in HTML 4.01.
      Specified by:
      getHreflang in interface HTMLLinkElement
    • setHreflang

      public void setHreflang(String hreflang)
      Description copied from interface: HTMLLinkElement
      Language code of the linked resource. See the hreflang attribute definition in HTML 4.01.
      Specified by:
      setHreflang in interface HTMLLinkElement
    • getMedia

      public String getMedia()
      Description copied from interface: HTMLLinkElement
      Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
      Specified by:
      getMedia in interface HTMLLinkElement
    • setMedia

      public void setMedia(String media)
      Description copied from interface: HTMLLinkElement
      Designed for use with one or more target media. See the media attribute definition in HTML 4.01.
      Specified by:
      setMedia in interface HTMLLinkElement
    • getRel

      public String getRel()
      Description copied from interface: HTMLLinkElement
      Forward link type. See the rel attribute definition in HTML 4.01.
      Specified by:
      getRel in interface HTMLLinkElement
    • setRel

      public void setRel(String rel)
      Description copied from interface: HTMLLinkElement
      Forward link type. See the rel attribute definition in HTML 4.01.
      Specified by:
      setRel in interface HTMLLinkElement
    • getRev

      public String getRev()
      Description copied from interface: HTMLLinkElement
      Reverse link type. See the rev attribute definition in HTML 4.01.
      Specified by:
      getRev in interface HTMLLinkElement
    • setRev

      public void setRev(String rev)
      Description copied from interface: HTMLLinkElement
      Reverse link type. See the rev attribute definition in HTML 4.01.
      Specified by:
      setRev in interface HTMLLinkElement
    • getTarget

      public String getTarget()
      Description copied from interface: HTMLLinkElement
      Frame to render the resource in. See the target attribute definition in HTML 4.01.
      Specified by:
      getTarget in interface HTMLLinkElement
    • setTarget

      public void setTarget(String target)
      Description copied from interface: HTMLLinkElement
      Frame to render the resource in. See the target attribute definition in HTML 4.01.
      Specified by:
      setTarget in interface HTMLLinkElement
    • getType

      public String getType()
      Description copied from interface: HTMLLinkElement
      Advisory content type. See the type attribute definition in HTML 4.01.
      Specified by:
      getType in interface HTMLLinkElement
    • setType

      public void setType(String type)
      Description copied from interface: HTMLLinkElement
      Advisory content type. See the type attribute definition in HTML 4.01.
      Specified by:
      setType in interface HTMLLinkElement
    • setUserData

      public Object setUserData(String key, Object data, UserDataHandler handler)
      Specified by:
      setUserData in interface Node
      Overrides:
      setUserData in class NodeImpl
    • processLink

      protected void processLink()
      If the LINK refers to a stylesheet document, this method loads and parses it.
    • getAbsoluteHref

      public String getAbsoluteHref()
    • createRenderState

      protected RenderState createRenderState(RenderState prevRenderState)
      Overrides:
      createRenderState in class HTMLElementImpl
    • toString

      public String toString()
      Overrides:
      toString in class HTMLElementImpl