HTML Namespace Reference


Detailed Description

HTML 4.0 Element list is templated below.


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::ElementasHTMLElement (const DOMTree::Node *node)
 Helper function.
long atol (const char *str)
int firstValidChar (const tchar *input, const int length)
static const CharsetASCIIgetASCIICharsetFunctions ()
 Get a constant reference to the charset functions for ASCII.
const CharsetFunctionsgetDefaultCharsetFunctions ()
 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 Documentation

typedef Tree::NTree<const DOM::Node *> HTML::DOMTree

The DOM Tree.


Enumeration Type Documentation

enum HTML::DTDType

Enumerator:
StandardDTD 
LooseDTD 
FramesetDTD 


Function Documentation

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]

Todo:
check this is valid code


Variable Documentation

const GenericAttribute HTML::allowedAttributes[]

const GenericElement HTML::allowedElements[]

Extracted from http://www.w3.org/TR/html4/index/elements.html.


(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is