org.kde.koala
Class HTMLLinkElement

java.lang.Object
  extended by org.kde.koala.Node
      extended by org.kde.koala.Element
          extended by org.kde.koala.HTMLElement
              extended by org.kde.koala.HTMLLinkElement
All Implemented Interfaces:
org.kde.qt.QtSupport

public class HTMLLinkElement
extends HTMLElement

The LINK element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). See the LINK element definition in HTML 4.0.


Constructor Summary
  HTMLLinkElement()
           
protected HTMLLinkElement(java.lang.Class dummy)
           
  HTMLLinkElement(HTMLLinkElement other)
           
  HTMLLinkElement(Node other)
           
 
Method Summary
 java.lang.String charset()
          The character encoding of the resource being linked to.
 boolean disabled()
          Enables/disables the link.
 java.lang.String href()
          The URI of the linked resource.
 java.lang.String hreflang()
          Language code of the linked resource.
 java.lang.String media()
          Designed for use with one or more target media.
 java.lang.String rel()
          Forward link type.
 java.lang.String rev()
          Reverse link type.
 void setCharset(java.lang.String arg1)
          see charset
 void setDisabled(boolean arg1)
          see disabled
 void setHref(java.lang.String arg1)
          see href
 void setHreflang(java.lang.String arg1)
          see hreflang
 void setMedia(java.lang.String arg1)
          see media
 void setRel(java.lang.String arg1)
          see rel
 void setRev(java.lang.String arg1)
          see rev
 void setTarget(java.lang.String arg1)
          see target
 void setType(java.lang.String arg1)
          see type
 StyleSheet sheet()
          Introduced in DOM Level 2 This method is from the LinkStyle interface The style sheet.
 java.lang.String target()
          Frame to render the resource in.
 java.lang.String type()
          Advisory content type.
 
Methods inherited from class org.kde.koala.HTMLElement
addCSSProperty, all, assignOther, children, className, dir, id, innerHTML, innerText, lang, removeCSSProperty, setClassName, setDir, setId, setInnerHTML, setInnerText, setLang, setTitle, title
 
Methods inherited from class org.kde.koala.Element
contentEditable, form, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, isHTMLElement, khtmlMalformedPrefix, khtmlMalformedQualifiedName, khtmlValidAttrName, khtmlValidPrefix, khtmlValidQualifiedName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentEditable, style, tagName
 
Methods inherited from class org.kde.koala.Node
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, index, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLLinkElement

protected HTMLLinkElement(java.lang.Class dummy)

HTMLLinkElement

public HTMLLinkElement()

HTMLLinkElement

public HTMLLinkElement(HTMLLinkElement other)

HTMLLinkElement

public HTMLLinkElement(Node other)
Method Detail

disabled

public boolean disabled()
Enables/disables the link. This is currently only used for style sheet links, and may be used to activate or deactivate style sheets.


setDisabled

public void setDisabled(boolean arg1)
see disabled


charset

public java.lang.String charset()
The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0.


setCharset

public void setCharset(java.lang.String arg1)
see charset


href

public java.lang.String href()
The URI of the linked resource. See the href attribute definition in HTML 4.0.


setHref

public void setHref(java.lang.String arg1)
see href


hreflang

public java.lang.String hreflang()
Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.


setHreflang

public void setHreflang(java.lang.String arg1)
see hreflang


media

public java.lang.String media()
Designed for use with one or more target media. See the media attribute definition in HTML 4.0.


setMedia

public void setMedia(java.lang.String arg1)
see media


rel

public java.lang.String rel()
Forward link type. See the rel attribute definition in HTML 4.0.


setRel

public void setRel(java.lang.String arg1)
see rel


rev

public java.lang.String rev()
Reverse link type. See the rev attribute definition in HTML 4.0.


setRev

public void setRev(java.lang.String arg1)
see rev


target

public java.lang.String target()
Frame to render the resource in. See the target attribute definition in HTML 4.0.


setTarget

public void setTarget(java.lang.String arg1)
see target


type

public java.lang.String type()
Advisory content type. See the type attribute definition in HTML 4.0.


setType

public void setType(java.lang.String arg1)
see type


sheet

public StyleSheet sheet()
Introduced in DOM Level 2 This method is from the LinkStyle interface The style sheet.