Top Fields Constructors Methods
org.apache.html.dom

public Class HTMLLinkElementImpl

extends HTMLElementImpl
implements HTMLLinkElement
Class Inheritance
All Implemented Interfaces
org.w3c.dom.html.HTMLLinkElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Element, org.w3c.dom.Node
Imports
org.w3c.dom.html.HTMLLinkElement

Author
Assaf Arkin
Version
$Revision: 1029415 $ $Date: 2010-10-31 22:32:22 +0530 (Sun, 31 Oct 2010) $
See Also
org.w3c.dom.html.HTMLLinkElement, org.apache.xerces.dom.ElementImpl

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
HTMLLinkElementImpl(HTMLDocumentImpl
The owner HTML document
owner
,
String name)

Constructor requires owner document.

Method Summary

Modifier and TypeMethod and Description
public String
getCharset()

Implements org.w3c.dom.html.HTMLLinkElement.getCharset.

The character encoding of the resource being linked to.
public boolean
getDisabled()

Implements org.w3c.dom.html.HTMLLinkElement.getDisabled.

Enables/disables the link.
public String
getHref()

Implements org.w3c.dom.html.HTMLLinkElement.getHref.

The URI of the linked resource.
public String
getHreflang()

Implements org.w3c.dom.html.HTMLLinkElement.getHreflang.

Language code of the linked resource.
public String
getMedia()

Implements org.w3c.dom.html.HTMLLinkElement.getMedia.

Designed for use with one or more target media.
public String
getRel()

Implements org.w3c.dom.html.HTMLLinkElement.getRel.

Forward link type.
public String
getRev()

Implements org.w3c.dom.html.HTMLLinkElement.getRev.

Reverse link type.
public String
getTarget()

Implements org.w3c.dom.html.HTMLLinkElement.getTarget.

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

Implements org.w3c.dom.html.HTMLLinkElement.getType.

Advisory content type.
public void
public void
public void
public void
public void
public void
public void
public void
public void
Inherited from org.apache.html.dom.HTMLElementImpl:
capitalizegetAttributegetAttributeNodegetAttributeNodeNSgetAttributeNSgetBinarygetCapitalizedgetClassNamegetDirgetElementsByTagNamegetElementsByTagNameNSgetFormgetIdgetIntegergetLanggetTitlesetAttributesetClassNamesetDirsetIdsetLangsetTitle

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.html.dom.HTMLElementImpl.serialVersionUID.

Constructor Detail

HTMLLinkElementImplback to summary
public HTMLLinkElementImpl(HTMLDocumentImpl owner, String name)

Constructor requires owner document.

Parameters
owner:HTMLDocumentImpl

The owner HTML document

Method Detail

getCharsetback to summary
public String getCharset()

Implements org.w3c.dom.html.HTMLLinkElement.getCharset.

Doc from org.w3c.dom.html.HTMLLinkElement.getCharset.

The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0.

getDisabledback to summary
public boolean getDisabled()

Implements org.w3c.dom.html.HTMLLinkElement.getDisabled.

Doc from org.w3c.dom.html.HTMLLinkElement.getDisabled.

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

getHrefback to summary
public String getHref()

Implements org.w3c.dom.html.HTMLLinkElement.getHref.

Doc from org.w3c.dom.html.HTMLLinkElement.getHref.

The URI of the linked resource. See the href attribute definition in HTML 4.0.

getHreflangback to summary
public String getHreflang()

Implements org.w3c.dom.html.HTMLLinkElement.getHreflang.

Doc from org.w3c.dom.html.HTMLLinkElement.getHreflang.

Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.

getMediaback to summary
public String getMedia()

Implements org.w3c.dom.html.HTMLLinkElement.getMedia.

Doc from org.w3c.dom.html.HTMLLinkElement.getMedia.

Designed for use with one or more target media. See the media attribute definition in HTML 4.0.

getRelback to summary
public String getRel()

Implements org.w3c.dom.html.HTMLLinkElement.getRel.

Doc from org.w3c.dom.html.HTMLLinkElement.getRel.

Forward link type. See the rel attribute definition in HTML 4.0.

getRevback to summary
public String getRev()

Implements org.w3c.dom.html.HTMLLinkElement.getRev.

Doc from org.w3c.dom.html.HTMLLinkElement.getRev.

Reverse link type. See the rev attribute definition in HTML 4.0.

getTargetback to summary
public String getTarget()

Implements org.w3c.dom.html.HTMLLinkElement.getTarget.

Doc from org.w3c.dom.html.HTMLLinkElement.getTarget.

Frame to render the resource in. See the target attribute definition in HTML 4.0.

getTypeback to summary
public String getType()

Implements org.w3c.dom.html.HTMLLinkElement.getType.

Doc from org.w3c.dom.html.HTMLLinkElement.getType.

Advisory content type. See the type attribute definition in HTML 4.0.

setCharsetback to summary
public void setCharset(String charset)

Implements org.w3c.dom.html.HTMLLinkElement.setCharset.

setDisabledback to summary
public void setDisabled(boolean disabled)

Implements org.w3c.dom.html.HTMLLinkElement.setDisabled.

setHrefback to summary
public void setHref(String href)

Implements org.w3c.dom.html.HTMLLinkElement.setHref.

setHreflangback to summary
public void setHreflang(String hreflang)

Implements org.w3c.dom.html.HTMLLinkElement.setHreflang.

setMediaback to summary
public void setMedia(String media)

Implements org.w3c.dom.html.HTMLLinkElement.setMedia.

setRelback to summary
public void setRel(String rel)

Implements org.w3c.dom.html.HTMLLinkElement.setRel.

setRevback to summary
public void setRev(String rev)

Implements org.w3c.dom.html.HTMLLinkElement.setRev.

setTargetback to summary
public void setTarget(String target)

Implements org.w3c.dom.html.HTMLLinkElement.setTarget.

setTypeback to summary
public void setType(String type)

Implements org.w3c.dom.html.HTMLLinkElement.setType.