Classes | |
class | BuildRadix |
This class build a radix mask for the given string. More... | |
struct | CharsetASCII |
struct | CharsetFunctions |
This structure holds pointers to functions providing parsing helper functions. More... | |
struct | Escape |
Escape HTML entities, trim new line and space if required The entity list has been extracted from http://www.w3.org/TR/html401/sgml/entities.html. More... | |
struct | GenericAttribute |
struct | GenericElement |
class | Parser |
The parser class Instantiate it like this:. More... | |
Namespaces | |
namespace | Attributes |
namespace | Elements |
This namespace is used to declare HTML elements. | |
namespace | Renderer |
The renderer namespace hold all the required object for rendering a DOM document. | |
Typedefs | |
typedef Tree::NTree< const DOM::Node * > | DOMTree |
The DOM Tree. | |
Enumerations | |
enum | DTDType { StandardDTD = 0, LooseDTD = 1, FramesetDTD = 2 } |
Functions | |
HTML::Elements::Element * | asHTMLElement (const DOMTree::Node *node) |
Helper function. | |
long | atol (const char *str) |
int | firstValidChar (const tchar *input, const int length) |
static const CharsetASCII & | getASCIICharsetFunctions () |
Get a constant reference to the charset functions for ASCII. | |
const CharsetFunctions & | getDefaultCharsetFunctions () |
Get a constant reference to the charset functions for ASCII. | |
bool | isSpaceChar (const tchar ch) |
int | lastValidChar (const tchar *input, const int length) |
bool | validTrimChar (const tchar ch) |
Variables | |
const GenericAttribute | allowedAttributes [] |
const GenericElement | allowedElements [] |
Extracted from http://www.w3.org/TR/html4/index/elements.html. |
typedef Tree::NTree<const DOM::Node *> HTML::DOMTree |
enum HTML::DTDType |
HTML::Elements::Element* HTML::asHTMLElement | ( | const DOMTree::Node * | node | ) | [inline] |
Helper function.
long HTML::atol | ( | const char * | str | ) |
int HTML::firstValidChar | ( | const tchar * | input, | |
const int | length | |||
) | [inline] |
static const CharsetASCII& HTML::getASCIICharsetFunctions | ( | ) | [static] |
Get a constant reference to the charset functions for ASCII.
const CharsetFunctions & HTML::getDefaultCharsetFunctions | ( | ) |
Get a constant reference to the charset functions for ASCII.
bool HTML::isSpaceChar | ( | const tchar | ch | ) | [inline] |
int HTML::lastValidChar | ( | const tchar * | input, | |
const int | length | |||
) | [inline] |
bool HTML::validTrimChar | ( | const tchar | ch | ) | [inline] |
const GenericElement HTML::allowedElements[] |
Extracted from http://www.w3.org/TR/html4/index/elements.html.