# khtml Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# html_head.h

    00001 /*
    00002  * This file is part of the DOM implementation for KDE.
    00003  *
    00004  * (C) 1999 Lars Knoll (knoll@kde.org)
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the GNU Library General Public
    00008  * License as published by the Free Software Foundation; either
    00009  * version 2 of the License, or (at your option) any later version.
    00010  *
    00011  * This library is distributed in the hope that it will be useful,
    00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014  * Library General Public License for more details.
    00015  *
    00016  * You should have received a copy of the GNU Library General Public License
    00017  * along with this library; see the file COPYING.LIB.  If not, write to
    00018  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00019  * Boston, MA 02111-1307, USA.
    00020  *
    00021  * This file includes excerpts from the Document Object Model (DOM)
    00022  * Level 1 Specification (Recommendation)
    00023  * http://www.w3.org/TR/REC-DOM-Level-1/
    00024  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
    00025  * Technology , Institut National de Recherche en Informatique et en
    00026  * Automatique , Keio University ). All Rights Reserved.
    00027  *
    00028  * $Id: html_head.h,v 1.10.8.1 2003/05/18 12:34:37 mueller Exp $
    00029  */
    00030 #ifndef HTML_HEAD_H
    00031 #define HTML_HEAD_H
    00032
    00033 #include <dom/html_element.h>
    00034 #include <dom/css_stylesheet.h>
    00035
    00036 namespace DOM {
    00037
    00038 class HTMLBaseElementImpl;
    00039 class DOMString;
    00040
    00047 class HTMLBaseElement : public HTMLElement
    00048 {
    00049 public:
    00050     HTMLBaseElement();
    00051     HTMLBaseElement(const HTMLBaseElement &other);
    00052     HTMLBaseElement(const Node &other) : HTMLElement()
    00053          {(*this)=other;}
    00054 protected:
    00055     HTMLBaseElement(HTMLBaseElementImpl *impl);
    00056 public:
    00057
    00058     HTMLBaseElement & operator = (const HTMLBaseElement &other);
    00059     HTMLBaseElement & operator = (const Node &other);
    00060
    00061     ~HTMLBaseElement();
    00062
    00069     DOMString href() const;
    00070
    00074     void setHref( const DOMString & );
    00075
    00082     DOMString target() const;
    00083
    00087     void setTarget( const DOMString & );
    00088 };
    00089
    00090 // --------------------------------------------------------------------------
    00091
    00092 class HTMLLinkElementImpl;
    00093
    00102 class HTMLLinkElement : public HTMLElement
    00103 {
    00104 public:
    00105     HTMLLinkElement();
    00106     HTMLLinkElement(const HTMLLinkElement &other);
    00107     HTMLLinkElement(const Node &other) : HTMLElement()
    00108          {(*this)=other;}
    00109 protected:
    00110     HTMLLinkElement(HTMLLinkElementImpl *impl);
    00111 public:
    00112
    00113     HTMLLinkElement & operator = (const HTMLLinkElement &other);
    00114     HTMLLinkElement & operator = (const Node &other);
    00115
    00116     ~HTMLLinkElement();
    00117
    00124     bool disabled() const;
    00125
    00129     void setDisabled( bool );
    00130
    00138     DOMString charset() const;
    00139
    00143     void setCharset( const DOMString & );
    00144
    00151     DOMString href() const;
    00152
    00156     void setHref( const DOMString & );
    00157
    00164     DOMString hreflang() const;
    00165
    00169     void setHreflang( const DOMString & );
    00170
    00177     DOMString media() const;
    00178
    00182     void setMedia( const DOMString & );
    00183
    00190     DOMString rel() const;
    00191
    00195     void setRel( const DOMString & );
    00196
    00203     DOMString rev() const;
    00204
    00208     void setRev( const DOMString & );
    00209
    00216     DOMString target() const;
    00217
    00221     void setTarget( const DOMString & );
    00222
    00229     DOMString type() const;
    00230
    00234     void setType( const DOMString & );
    00235
    00242     StyleSheet sheet() const;
    00243
    00244 };
    00245
    00246 // --------------------------------------------------------------------------
    00247
    00248 class HTMLMetaElementImpl;
    00249
    00257 class HTMLMetaElement : public HTMLElement
    00258 {
    00259 public:
    00260     HTMLMetaElement();
    00261     HTMLMetaElement(const HTMLMetaElement &other);
    00262     HTMLMetaElement(const Node &other) : HTMLElement()
    00263          {(*this)=other;}
    00264 protected:
    00265     HTMLMetaElement(HTMLMetaElementImpl *impl);
    00266 public:
    00267
    00268     HTMLMetaElement & operator = (const HTMLMetaElement &other);
    00269     HTMLMetaElement & operator = (const Node &other);
    00270
    00271     ~HTMLMetaElement();
    00272
    00279     DOMString content() const;
    00280
    00284     void setContent( const DOMString & );
    00285
    00292     DOMString httpEquiv() const;
    00293
    00297     void setHttpEquiv( const DOMString & );
    00298
    00305     DOMString name() const;
    00306
    00310     void setName( const DOMString & );
    00311
    00318     DOMString scheme() const;
    00319
    00323     void setScheme( const DOMString & );
    00324 };
    00325
    00326 // --------------------------------------------------------------------------
    00327
    00328 class HTMLScriptElementImpl;
    00329
    00336 class HTMLScriptElement : public HTMLElement
    00337 {
    00338 public:
    00339     HTMLScriptElement();
    00340     HTMLScriptElement(const HTMLScriptElement &other);
    00341     HTMLScriptElement(const Node &other) : HTMLElement()
    00342          {(*this)=other;}
    00343 protected:
    00344     HTMLScriptElement(HTMLScriptElementImpl *impl);
    00345 public:
    00346
    00347     HTMLScriptElement & operator = (const HTMLScriptElement &other);
    00348     HTMLScriptElement & operator = (const Node &other);
    00349
    00350     ~HTMLScriptElement();
    00351
    00356     DOMString text() const;
    00357
    00361     void setText( const DOMString & );
    00362
    00367     DOMString htmlFor() const;
    00368
    00372     void setHtmlFor( const DOMString & );
    00373
    00378     DOMString event() const;
    00379
    00383     void setEvent( const DOMString & );
    00384
    00391     DOMString charset() const;
    00392
    00396     void setCharset( const DOMString & );
    00397
    00405     bool defer() const;
    00406
    00410     void setDefer( bool );
    00411
    00418     DOMString src() const;
    00419
    00423     void setSrc( const DOMString & );
    00424
    00431     DOMString type() const;
    00432
    00436     void setType( const DOMString & );
    00437 };
    00438
    00439 // --------------------------------------------------------------------------
    00440
    00441 class HTMLStyleElementImpl;
    00442
    00450 class HTMLStyleElement : public HTMLElement
    00451 {
    00452 public:
    00453     HTMLStyleElement();
    00454     HTMLStyleElement(const HTMLStyleElement &other);
    00455     HTMLStyleElement(const Node &other) : HTMLElement()
    00456          {(*this)=other;}
    00457 protected:
    00458     HTMLStyleElement(HTMLStyleElementImpl *impl);
    00459 public:
    00460
    00461     HTMLStyleElement & operator = (const HTMLStyleElement &other);
    00462     HTMLStyleElement & operator = (const Node &other);
    00463
    00464     ~HTMLStyleElement();
    00465
    00470     bool disabled() const;
    00471
    00475     void setDisabled( bool );
    00476
    00483     DOMString media() const;
    00484
    00488     void setMedia( const DOMString & );
    00489
    00496     DOMString type() const;
    00497
    00501     void setType( const DOMString & );
    00502
    00509     StyleSheet sheet() const;
    00510
    00511 };
    00512
    00513 // --------------------------------------------------------------------------
    00514
    00515 class HTMLTitleElementImpl;
    00516
    00523 class HTMLTitleElement : public HTMLElement
    00524 {
    00525 public:
    00526     HTMLTitleElement();
    00527     HTMLTitleElement(const HTMLTitleElement &other);
    00528     HTMLTitleElement(const Node &other) : HTMLElement()
    00529          {(*this)=other;}
    00530 protected:
    00531     HTMLTitleElement(HTMLTitleElementImpl *impl);
    00532 public:
    00533
    00534     HTMLTitleElement & operator = (const HTMLTitleElement &other);
    00535     HTMLTitleElement & operator = (const Node &other);
    00536
    00537     ~HTMLTitleElement();
    00538
    00543     DOMString text() const;
    00544
    00548     void setText( const DOMString & );
    00549 };
    00550
    00551 } //namespace
    00552
    00553 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:33:54 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001