\section{DOM::HTMLLink\-Element Class Reference}
\label{classDOM_1_1HTMLLinkElement}\index{DOM::HTMLLinkElement@{DOM::HTMLLinkElement}}
The {\tt LINK} element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).  


{\tt \#include $<$html\_\-head.h$>$}

Inheritance diagram for DOM::HTMLLink\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=81pt]{classDOM_1_1HTMLLinkElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLLink\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=81pt]{classDOM_1_1HTMLLinkElement__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLLink\-Element} (const {\bf HTMLLink\-Element} \&other)\label{classDOM_1_1HTMLLinkElement_a1}

\item 
{\bf HTMLLink\-Element} (const {\bf Node} \&other)\label{classDOM_1_1HTMLLinkElement_a2}

\item 
{\bf HTMLLink\-Element} \& {\bf operator=} (const {\bf HTMLLink\-Element} \&other)\label{classDOM_1_1HTMLLinkElement_a3}

\item 
{\bf HTMLLink\-Element} \& {\bf operator=} (const {\bf Node} \&other)\label{classDOM_1_1HTMLLinkElement_a4}

\item 
bool {\bf disabled} () const 
\item 
void {\bf set\-Disabled} (bool)
\item 
{\bf DOMString} {\bf charset} () const 
\item 
void {\bf set\-Charset} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf href} () const 
\item 
void {\bf set\-Href} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf hreflang} () const 
\item 
void {\bf set\-Hreflang} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf media} () const 
\item 
void {\bf set\-Media} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf rel} () const 
\item 
void {\bf set\-Rel} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf rev} () const 
\item 
void {\bf set\-Rev} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf target} () const 
\item 
void {\bf set\-Target} (const {\bf DOMString} \&)
\item 
{\bf DOMString} {\bf type} () const 
\item 
void {\bf set\-Type} (const {\bf DOMString} \&)
\item 
{\bf Style\-Sheet} {\bf sheet} () const 
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLLink\-Element} (HTMLLink\-Element\-Impl $\ast$impl)\label{classDOM_1_1HTMLLinkElement_b0}

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt LINK} element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). 

See the {\tt LINK element definition } in HTML 4.0. 



Definition at line 101 of file html\_\-head.h.

\subsection{Member Function Documentation}
\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!disabled@{disabled}}
\index{disabled@{disabled}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool HTMLLink\-Element::disabled () const}\label{classDOM_1_1HTMLLinkElement_a6}


Enables/disables the link. 

This is currently only used for style sheet links, and may be used to activate or deactivate style sheets. 

Definition at line 112 of file html\_\-head.cpp.

References DOM::DOMString::is\-Null().\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setDisabled@{setDisabled}}
\index{setDisabled@{setDisabled}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Disabled (bool)}\label{classDOM_1_1HTMLLinkElement_a7}


see disabled 



Definition at line 118 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!charset@{charset}}
\index{charset@{charset}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::charset () const}\label{classDOM_1_1HTMLLinkElement_a8}


The character encoding of the resource being linked to. 

See the {\tt charset attribute definition } in HTML 4.0. 

Definition at line 124 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setCharset@{setCharset}}
\index{setCharset@{setCharset}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Charset (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a9}


see charset 



Definition at line 130 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!href@{href}}
\index{href@{href}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::href () const}\label{classDOM_1_1HTMLLinkElement_a10}


The URI of the linked resource. 

See the {\tt href attribute definition } in HTML 4.0. 

Definition at line 135 of file html\_\-head.cpp.

References href(), DOM::DOMString::is\-Null(), and DOM::DOMString::string().

Referenced by href().\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setHref@{setHref}}
\index{setHref@{setHref}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Href (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a11}


see href 



Definition at line 142 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!hreflang@{hreflang}}
\index{hreflang@{hreflang}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::hreflang () const}\label{classDOM_1_1HTMLLinkElement_a12}


Language code of the linked resource. 

See the {\tt hreflang attribute definition } in HTML 4.0. 

Definition at line 147 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setHreflang@{setHreflang}}
\index{setHreflang@{setHreflang}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Hreflang (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a13}


see hreflang 



Definition at line 153 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!media@{media}}
\index{media@{media}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::media () const}\label{classDOM_1_1HTMLLinkElement_a14}


Designed for use with one or more target media. 

See the {\tt media attribute definition } in HTML 4.0. 

Definition at line 158 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setMedia@{setMedia}}
\index{setMedia@{setMedia}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Media (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a15}


see media 



Definition at line 164 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!rel@{rel}}
\index{rel@{rel}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::rel () const}\label{classDOM_1_1HTMLLinkElement_a16}


Forward link type. 

See the {\tt rel attribute definition } in HTML 4.0. 

Definition at line 169 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setRel@{setRel}}
\index{setRel@{setRel}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Rel (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a17}


see rel 



Definition at line 175 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!rev@{rev}}
\index{rev@{rev}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::rev () const}\label{classDOM_1_1HTMLLinkElement_a18}


Reverse link type. 

See the {\tt rev attribute definition } in HTML 4.0. 

Definition at line 180 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setRev@{setRev}}
\index{setRev@{setRev}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Rev (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a19}


see rev 



Definition at line 186 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!target@{target}}
\index{target@{target}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::target () const}\label{classDOM_1_1HTMLLinkElement_a20}


Frame to render the resource in. 

See the {\tt target attribute definition } in HTML 4.0. 

Definition at line 191 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setTarget@{setTarget}}
\index{setTarget@{setTarget}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Target (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a21}


see target 



Definition at line 197 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!type@{type}}
\index{type@{type}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLLink\-Element::type () const}\label{classDOM_1_1HTMLLinkElement_a22}


Advisory content type. 

See the {\tt type attribute definition } in HTML 4.0. 

Definition at line 202 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!setType@{setType}}
\index{setType@{setType}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLLink\-Element::set\-Type (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLLinkElement_a23}


see type 



Definition at line 208 of file html\_\-head.cpp.\index{DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}!sheet@{sheet}}
\index{sheet@{sheet}!DOM::HTMLLinkElement@{DOM::HTMLLink\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Style\-Sheet} HTMLLink\-Element::sheet () const}\label{classDOM_1_1HTMLLinkElement_a24}


Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Link\-Style interface. 

The style sheet. 

Definition at line 213 of file html\_\-head.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
html\_\-head.h\item 
html\_\-head.cpp\end{CompactItemize}
