DOM::CSSCharsetRule

DOM::CSSCharsetRule Class Reference

#include <css_rule.h>

Inheritance diagram for DOM::CSSCharsetRule:

Public Member Functions

 CSSCharsetRule (const CSSCharsetRule &other)
 
 CSSCharsetRule (const CSSRule &other)
 
 CSSCharsetRule (CSSCharsetRuleImpl *impl)
 
DOM::DOMString encoding () const
 
CSSCharsetRuleoperator= (const CSSCharsetRule &other)
 
CSSCharsetRuleoperator= (const CSSRule &other)
 
void setEncoding (const DOM::DOMString &)
 
- Public Member Functions inherited from DOM::CSSRule
 CSSRule (const CSSRule &other)
 
 CSSRule (CSSRuleImpl *impl)
 
DOM::DOMString cssText () const
 
CSSRuleImpl * handle () const
 
bool isNull () const
 
CSSRuleoperator= (const CSSRule &other)
 
CSSRule parentRule () const
 
CSSStyleSheet parentStyleSheet () const
 
void setCssText (const DOM::DOMString &)
 
unsigned short type () const
 

Additional Inherited Members

- Public Types inherited from DOM::CSSRule
enum  RuleType {
  UNKNOWN_RULE = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3,
  MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6, NAMESPACE_RULE = 10,
  QUIRKS_RULE = 100
}
 
- Protected Member Functions inherited from DOM::CSSRule
void assignOther (const CSSRule &other, RuleType thisType)
 
- Protected Attributes inherited from DOM::CSSRule
CSSRuleImpl * impl
 

Detailed Description

The CSSCharsetRule interface a @charset rule in a CSS style sheet.

A @charset rule can be used to define the encoding of the style sheet.

Definition at line 151 of file css_rule.h.

Member Function Documentation

DOMString CSSCharsetRule::encoding ( ) const

The encoding information used in this @charset rule.

Definition at line 168 of file css_rule.cpp.

void CSSCharsetRule::setEncoding ( const DOM::DOMString value)

see encoding

Exceptions
CSSExceptionSYNTAX_ERR: Raised if the specified encoding value has a syntax error and is unparsable.

Exceptions
DOMExceptionNO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is readonly.

Definition at line 176 of file css_rule.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 1 2020 22:35:42 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.