\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=89pt]{classDOM_1_1HTMLLinkElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLLink\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=89pt]{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 
\begin{CompactList}\small\item\em Enables/disables the link. \item\end{CompactList}\item 
void {\bf set\-Disabled} (bool)
\begin{CompactList}\small\item\em see {\bf disabled}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a6})} \item\end{CompactList}\item 
{\bf DOMString} {\bf charset} () const 
\begin{CompactList}\small\item\em The character encoding of the resource being linked to. \item\end{CompactList}\item 
void {\bf set\-Charset} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf charset}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a8})} \item\end{CompactList}\item 
{\bf DOMString} {\bf href} () const 
\begin{CompactList}\small\item\em The URI of the linked resource. \item\end{CompactList}\item 
void {\bf set\-Href} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf href}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a10})} \item\end{CompactList}\item 
{\bf DOMString} {\bf hreflang} () const 
\begin{CompactList}\small\item\em Language code of the linked resource. \item\end{CompactList}\item 
void {\bf set\-Hreflang} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf hreflang}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a12})} \item\end{CompactList}\item 
{\bf DOMString} {\bf media} () const 
\begin{CompactList}\small\item\em Designed for use with one or more target media. \item\end{CompactList}\item 
void {\bf set\-Media} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf media}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a14})} \item\end{CompactList}\item 
{\bf DOMString} {\bf rel} () const 
\begin{CompactList}\small\item\em Forward link type. \item\end{CompactList}\item 
void {\bf set\-Rel} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf rel}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a16})} \item\end{CompactList}\item 
{\bf DOMString} {\bf rev} () const 
\begin{CompactList}\small\item\em Reverse link type. \item\end{CompactList}\item 
void {\bf set\-Rev} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf rev}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a18})} \item\end{CompactList}\item 
{\bf DOMString} {\bf target} () const 
\begin{CompactList}\small\item\em Frame to render the resource in. \item\end{CompactList}\item 
void {\bf set\-Target} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf target}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a20})} \item\end{CompactList}\item 
{\bf DOMString} {\bf type} () const 
\begin{CompactList}\small\item\em Advisory content type. \item\end{CompactList}\item 
void {\bf set\-Type} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf type}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a22})} \item\end{CompactList}\item 
{\bf Style\-Sheet} {\bf sheet} () const 
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Link\-Style interface. \item\end{CompactList}\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 102 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 113 of file html\_\-head.cpp.\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 {\bf disabled}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a6})} 



Definition at line 119 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 125 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 {\bf charset}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a8})} 



Definition at line 131 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 136 of file html\_\-head.cpp.

References href(), DOM::DOMString::length(), 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 {\bf href}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a10})} 



Definition at line 143 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 148 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 {\bf hreflang}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a12})} 



Definition at line 154 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 159 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 {\bf media}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a14})} 



Definition at line 165 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 170 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 {\bf rel}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a16})} 



Definition at line 176 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 181 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 {\bf rev}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a18})} 



Definition at line 187 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 192 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 {\bf target}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a20})} 



Definition at line 198 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 203 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 {\bf type}{\rm (p.\,\pageref{classDOM_1_1HTMLLinkElement_a22})} 



Definition at line 209 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 214 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}
